pem.pod (264278) | pem.pod (269682) |
---|---|
1=pod 2 3=head1 NAME 4 5PEM, PEM_read_bio_PrivateKey, PEM_read_PrivateKey, PEM_write_bio_PrivateKey, PEM_write_PrivateKey, PEM_write_bio_PKCS8PrivateKey, PEM_write_PKCS8PrivateKey, PEM_write_bio_PKCS8PrivateKey_nid, PEM_write_PKCS8PrivateKey_nid, PEM_read_bio_PUBKEY, PEM_read_PUBKEY, PEM_write_bio_PUBKEY, PEM_write_PUBKEY, PEM_read_bio_RSAPrivateKey, PEM_read_RSAPrivateKey, PEM_write_bio_RSAPrivateKey, PEM_write_RSAPrivateKey, PEM_read_bio_RSAPublicKey, PEM_read_RSAPublicKey, PEM_write_bio_RSAPublicKey, PEM_write_RSAPublicKey, PEM_read_bio_RSA_PUBKEY, PEM_read_RSA_PUBKEY, PEM_write_bio_RSA_PUBKEY, PEM_write_RSA_PUBKEY, PEM_read_bio_DSAPrivateKey, PEM_read_DSAPrivateKey, PEM_write_bio_DSAPrivateKey, PEM_write_DSAPrivateKey, PEM_read_bio_DSA_PUBKEY, PEM_read_DSA_PUBKEY, PEM_write_bio_DSA_PUBKEY, PEM_write_DSA_PUBKEY, PEM_read_bio_DSAparams, PEM_read_DSAparams, PEM_write_bio_DSAparams, PEM_write_DSAparams, PEM_read_bio_DHparams, PEM_read_DHparams, PEM_write_bio_DHparams, PEM_write_DHparams, PEM_read_bio_X509, PEM_read_X509, PEM_write_bio_X509, PEM_write_X509, PEM_read_bio_X509_AUX, PEM_read_X509_AUX, PEM_write_bio_X509_AUX, PEM_write_X509_AUX, PEM_read_bio_X509_REQ, PEM_read_X509_REQ, PEM_write_bio_X509_REQ, PEM_write_X509_REQ, PEM_write_bio_X509_REQ_NEW, PEM_write_X509_REQ_NEW, PEM_read_bio_X509_CRL, PEM_read_X509_CRL, PEM_write_bio_X509_CRL, PEM_write_X509_CRL, PEM_read_bio_PKCS7, PEM_read_PKCS7, PEM_write_bio_PKCS7, PEM_write_PKCS7, PEM_read_bio_NETSCAPE_CERT_SEQUENCE, PEM_read_NETSCAPE_CERT_SEQUENCE, PEM_write_bio_NETSCAPE_CERT_SEQUENCE, PEM_write_NETSCAPE_CERT_SEQUENCE - PEM routines 6 7=head1 SYNOPSIS 8 --- 436 unchanged lines hidden (view full) --- 445 -----END RSA PRIVATE KEY----- 446 447The line beginning DEK-Info contains two comma separated pieces of information: 448the encryption algorithm name as used by EVP_get_cipherbyname() and an 8 449byte B<salt> encoded as a set of hexadecimal digits. 450 451After this is the base64 encoded encrypted data. 452 | 1=pod 2 3=head1 NAME 4 5PEM, PEM_read_bio_PrivateKey, PEM_read_PrivateKey, PEM_write_bio_PrivateKey, PEM_write_PrivateKey, PEM_write_bio_PKCS8PrivateKey, PEM_write_PKCS8PrivateKey, PEM_write_bio_PKCS8PrivateKey_nid, PEM_write_PKCS8PrivateKey_nid, PEM_read_bio_PUBKEY, PEM_read_PUBKEY, PEM_write_bio_PUBKEY, PEM_write_PUBKEY, PEM_read_bio_RSAPrivateKey, PEM_read_RSAPrivateKey, PEM_write_bio_RSAPrivateKey, PEM_write_RSAPrivateKey, PEM_read_bio_RSAPublicKey, PEM_read_RSAPublicKey, PEM_write_bio_RSAPublicKey, PEM_write_RSAPublicKey, PEM_read_bio_RSA_PUBKEY, PEM_read_RSA_PUBKEY, PEM_write_bio_RSA_PUBKEY, PEM_write_RSA_PUBKEY, PEM_read_bio_DSAPrivateKey, PEM_read_DSAPrivateKey, PEM_write_bio_DSAPrivateKey, PEM_write_DSAPrivateKey, PEM_read_bio_DSA_PUBKEY, PEM_read_DSA_PUBKEY, PEM_write_bio_DSA_PUBKEY, PEM_write_DSA_PUBKEY, PEM_read_bio_DSAparams, PEM_read_DSAparams, PEM_write_bio_DSAparams, PEM_write_DSAparams, PEM_read_bio_DHparams, PEM_read_DHparams, PEM_write_bio_DHparams, PEM_write_DHparams, PEM_read_bio_X509, PEM_read_X509, PEM_write_bio_X509, PEM_write_X509, PEM_read_bio_X509_AUX, PEM_read_X509_AUX, PEM_write_bio_X509_AUX, PEM_write_X509_AUX, PEM_read_bio_X509_REQ, PEM_read_X509_REQ, PEM_write_bio_X509_REQ, PEM_write_X509_REQ, PEM_write_bio_X509_REQ_NEW, PEM_write_X509_REQ_NEW, PEM_read_bio_X509_CRL, PEM_read_X509_CRL, PEM_write_bio_X509_CRL, PEM_write_X509_CRL, PEM_read_bio_PKCS7, PEM_read_PKCS7, PEM_write_bio_PKCS7, PEM_write_PKCS7, PEM_read_bio_NETSCAPE_CERT_SEQUENCE, PEM_read_NETSCAPE_CERT_SEQUENCE, PEM_write_bio_NETSCAPE_CERT_SEQUENCE, PEM_write_NETSCAPE_CERT_SEQUENCE - PEM routines 6 7=head1 SYNOPSIS 8 --- 436 unchanged lines hidden (view full) --- 445 -----END RSA PRIVATE KEY----- 446 447The line beginning DEK-Info contains two comma separated pieces of information: 448the encryption algorithm name as used by EVP_get_cipherbyname() and an 8 449byte B<salt> encoded as a set of hexadecimal digits. 450 451After this is the base64 encoded encrypted data. 452 |
453The encryption key is determined using EVP_bytestokey(), using B<salt> and an | 453The encryption key is determined using EVP_BytesToKey(), using B<salt> and an |
454iteration count of 1. The IV used is the value of B<salt> and *not* the IV | 454iteration count of 1. The IV used is the value of B<salt> and *not* the IV |
455returned by EVP_bytestokey(). | 455returned by EVP_BytesToKey(). |
456 457=head1 BUGS 458 459The PEM read routines in some versions of OpenSSL will not correctly reuse 460an existing structure. Therefore the following: 461 462 PEM_read_bio_X509(bp, &x, 0, NULL); 463 --- 5 unchanged lines hidden (view full) --- 469is guaranteed to work. 470 471=head1 RETURN CODES 472 473The read routines return either a pointer to the structure read or NULL 474if an error occurred. 475 476The write routines return 1 for success or 0 for failure. | 456 457=head1 BUGS 458 459The PEM read routines in some versions of OpenSSL will not correctly reuse 460an existing structure. Therefore the following: 461 462 PEM_read_bio_X509(bp, &x, 0, NULL); 463 --- 5 unchanged lines hidden (view full) --- 469is guaranteed to work. 470 471=head1 RETURN CODES 472 473The read routines return either a pointer to the structure read or NULL 474if an error occurred. 475 476The write routines return 1 for success or 0 for failure. |
477 478=head1 SEE ALSO 479 480L<EVP_get_cipherbyname(3)|EVP_get_cipherbyname>, L<EVP_BytesToKey(3)|EVP_BytesToKey(3)> |
|