PHP » PYTHON |
login |
register |
about
|
PYTHON openssl_pkcs12_read
is this article helpful?
|
Python replacement for PHP's openssl_pkcs12_read
[
edit
| history
]
load_pkcs12(...)
Load a PKCS12 object from a buffer @param buffer: The buffer the certificate is stored in passphrase (Optional) - The password to decrypt the PKCS12 lump @returns: The PKCS12 object easy_install pyOpenSSL from OpenSSL.crypto import load_pkcs12 p12 = load_pkcs12(open("/path/to/cert.p12", 'rb').read(), passwd) openssl_pkcs12_read(PHP 5 >= 5.2.2) openssl_pkcs12_read — Parse a PKCS#12 Certificate Store into an array Description
bool openssl_pkcs12_read
( string $pkcs12
, array &$certs
, string $pass
)
openssl_pkcs12_read() parses the PKCS#12 certificate store supplied by pkcs12 into a array named certs . Parameters
Return ValuesReturns TRUE on success or FALSE on failure. |
more
Recently updated
more
Most requested
more
Last requests
|