From eb9264fc2ef786e8c4e3d430834b9b9e9e0b9c0a Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 9 Oct 2006 16:00:16 +0000 Subject: OpenSSL 0.9.8d base code import svn path=/openssl/vendor/0.9.8d/CHANGES; revision=373 --- openssl/vendor/0.9.8d/doc/crypto/PKCS12_parse.pod | 50 +++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 openssl/vendor/0.9.8d/doc/crypto/PKCS12_parse.pod (limited to 'openssl/vendor/0.9.8d/doc/crypto/PKCS12_parse.pod') diff --git a/openssl/vendor/0.9.8d/doc/crypto/PKCS12_parse.pod b/openssl/vendor/0.9.8d/doc/crypto/PKCS12_parse.pod new file mode 100644 index 00000000..51344f88 --- /dev/null +++ b/openssl/vendor/0.9.8d/doc/crypto/PKCS12_parse.pod @@ -0,0 +1,50 @@ +=pod + +=head1 NAME + +PKCS12_parse - parse a PKCS#12 structure + +=head1 SYNOPSIS + + #include + +int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, STACK_OF(X509) **ca); + +=head1 DESCRIPTION + +PKCS12_parse() parses a PKCS12 structure. + +B is the B structure to parse. B is the passphrase to use. +If successful the private key will be written to B<*pkey>, the corresponding +certificate to B<*cert> and any additional certificates to B<*ca>. + +=head1 NOTES + +The parameters B and B cannot be B. B can be +in which case additional certificates will be discarded. B<*ca> can also +be a valid STACK in which case additional certificates are appended to +B<*ca>. If B<*ca> is B a new STACK will be allocated. + +The B and B attributes (if present) on each certificate +will be stored in the B and B attributes of the B structure. + +=head1 BUGS + +Only a single private key and corresponding certificate is returned by this function. +More complex PKCS#12 files with multiple private keys will only return the first +match. + +Only B and B attributes are currently stored in certificates. +Other attributes are discarded. + +Attributes currently cannot be store in the private key B structure. + +=head1 SEE ALSO + +L + +=head1 HISTORY + +PKCS12_parse was added in OpenSSL 0.9.3 + +=cut -- cgit v1.2.3