Module ring::pkcs8

source ·
Expand description

PKCS#8 is specified in RFC 5958.

Structs§

Enums§

Functions§

  • unwrap_key 🔒
    Parses an unencrypted PKCS#8 private key, verifies that it is the right type of key, and returns the key value.
  • Parses an unencrypted PKCS#8 private key, verifies that it is the right type of key, and returns the key value.
  • wrap_key 🔒
  • wrap_key_ 🔒
    Formats a private key “prefix||private_key||middle||public_key” where template is “prefix||middle” split at position private_key_index.