Expand description
PKCS#8 is specified in RFC 5958.
Modules§
- der
- Building blocks for parsing DER-encoded ASN.1 structures.
Structs§
- Document
- A generated PKCS#8 document.
- KeyRejected
- An error parsing or validating a key.
- Positive
- A serialized positive integer.
- Template
- A template for constructing PKCS#8 documents.
- Unspecified
- An error with absolutely no details.
Enums§
Constants§
- EC_
PUBLIC_ KEY_ P256_ PKCS8_ V1_ TEMPLATE - EC_
PUBLIC_ KEY_ P384_ PKCS8_ V1_ TEMPLATE - ED25519_
PKCS8_ TEMPLATE - ELEM_
MAX_ BYTES - PKCS8_
DOCUMENT_ MAX_ LEN - The maximum length of a PKCS#8 documents generated by ring for ECC keys.
- PUBLIC_
KEY_ MAX_ LEN - SCALAR_
MAX_ BYTES - SEED_
MAX_ BYTES
Functions§
- unwrap_
key - Parses an unencrypted PKCS#8 private key, verifies that it is the right type of key, and returns the key value.
- unwrap_
key_ - Parses an unencrypted PKCS#8 private key, verifies that it is the right type of key, and returns the key value.
- wrap_
key - wrap_sk