PKCS12.create(pass, name, key, cert [, ca, [, key_pbe [, cert_pbe [, key_iter [, mac_iter [, keytype]]]]]])
Class Public 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