Defines a file format commonly used to store private keys with accompanying public key certificates, protected with a password-based symmetric key.

Attributes

key

Read
No documentation available
No documentation available
Read
No documentation available
Class Methods

Parameters

  • pass - string

  • name - A string describing the key.

  • key - Any PKey.

  • cert - A X509::Certificate.

    • The public_key portion of the certificate must contain a valid public key.

    • The not_before and not_after fields must be filled in.

  • ca - An optional array of X509::Certificate‘s.

  • key_pbe - string

  • cert_pbe - string

  • key_iter - integer

  • mac_iter - integer

  • keytype - An integer representing an MSIE specific extension.

Any optional arguments may be supplied as nil to preserve the OpenSSL defaults.

See the OpenSSL documentation for PKCS12_create().

Parameters

  • str - Must be a DER encoded PKCS12 string.

  • pass - string

Instance Methods
No documentation available