X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fcrypto%2FPKCS12_parse.pod;fp=doc%2Fcrypto%2FPKCS12_parse.pod;h=0000000000000000000000000000000000000000;hp=2dfa7e259b17dca0e15914e6b18bef3726357770;hb=99d63d4662e16afbeff49f29b48f1c87d5558ed0;hpb=4f3015bb30b7d95bb97408776b70e6a35fb91e8a diff --git a/doc/crypto/PKCS12_parse.pod b/doc/crypto/PKCS12_parse.pod deleted file mode 100644 index 2dfa7e259b..0000000000 --- a/doc/crypto/PKCS12_parse.pod +++ /dev/null @@ -1,62 +0,0 @@ -=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 RETURN VALUES - -PKCS12_parse() returns 1 for success and zero if an error occurred. - -The error can be obtained from L - -=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 stored in the private key B structure. - -=head1 SEE ALSO - -L - -=head1 COPYRIGHT - -Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved. - -Licensed under the OpenSSL license (the "License"). You may not use -this file except in compliance with the License. You can obtain a copy -in the file LICENSE in the source distribution or at -L. - -=cut