X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=lib%2Fopenssl%2Fdoc%2Fcrypto%2FPKCS12_create.pod;fp=lib%2Fopenssl%2Fdoc%2Fcrypto%2FPKCS12_create.pod;h=0a43b96c318fee4b456c653423d3aff27c87a83c;hb=02ed66432c92de70694700164f986190aad3cbc5;hp=de7cab2bdffc57b05373d6da68ced3207b2ca754;hpb=89016837dcbf2775cd15dc8cbaba00dc6379f86e;p=cassiopeia.git diff --git a/lib/openssl/doc/crypto/PKCS12_create.pod b/lib/openssl/doc/crypto/PKCS12_create.pod index de7cab2..0a43b96 100644 --- a/lib/openssl/doc/crypto/PKCS12_create.pod +++ b/lib/openssl/doc/crypto/PKCS12_create.pod @@ -8,15 +8,16 @@ PKCS12_create - create a PKCS#12 structure #include - PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert, STACK_OF(X509) *ca, - int nid_key, int nid_cert, int iter, int mac_iter, int keytype); + PKCS12 *PKCS12_create(const char *pass, const char *name, EVP_PKEY *pkey, + X509 *cert, STACK_OF(X509) *ca, + int nid_key, int nid_cert, int iter, int mac_iter, int keytype); =head1 DESCRIPTION PKCS12_create() creates a PKCS#12 structure. B is the passphrase to use. B is the B to use for -the supplied certifictate and key. B is the private key to include in +the supplied certificate and key. B is the private key to include in the structure and B its corresponding certificates. B, if not B is an optional set of certificates to also include in the structure. @@ -46,30 +47,30 @@ export grade software which could use signing only keys of arbitrary size but had restrictions on the permissible sizes of keys which could be used for encryption. -=head1 NEW FUNCTIONALITY IN OPENSSL 0.9.8 - -Some additional functionality was added to PKCS12_create() in OpenSSL -0.9.8. These extensions are detailed below. - If a certificate contains an B or B then this will be used for the corresponding B or B in the PKCS12 structure. Either B, B or both can be B to indicate that no key or -certficate is required. In previous versions both had to be present or +certificate is required. In previous versions both had to be present or a fatal error is returned. B or B can be set to -1 indicating that no encryption -should be used. +should be used. B can be set to -1 and the MAC will then be omitted entirely. =head1 SEE ALSO -L +L + +=head1 COPYRIGHT -=head1 HISTORY +Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved. -PKCS12_create was added in OpenSSL 0.9.3 +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