PKCS12 is a format for bundling a private key, a certificate and a certificate chain
in a single password-protected file. At least one of `key`, `cert` or `ca` must
be non-NULL.
Usage
write_pkcs12(key = NULL, cert = NULL, ca = NULL, name = NULL, password = NULL, path = NULL)
read_pkcs12(file, password = askpass)
Arguments
key
a private key
cert
certificate that matches `key`
ca
a list of certificates stores in as the ca chain
name
a friendly title for the bundle
password
string or function to set/get the password.
path
a file where to write the output to. If `NULL` the output is returned
as a raw vector.
file
path or raw vector with binary PKCS12 data to parse