add support for a password callback
In order to be able to load password-protected key files a password callback was added. This also adds support for PKCS#12 containers instead of certificate+key. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
8
tests/key_encrypted.pem
Normal file
8
tests/key_encrypted.pem
Normal file
@@ -0,0 +1,8 @@
|
||||
-----BEGIN EC PRIVATE KEY-----
|
||||
Proc-Type: 4,ENCRYPTED
|
||||
DEK-Info: AES-256-CBC,30B7F2152A39184AEEF290ED2B1DBC0E
|
||||
|
||||
IojJAF1hGHL9qnu5MCzl5l1PzsnxLj38JjLBLPXaNekiAbag5H9Tzr7y5nfyviPM
|
||||
hi6syrkXgLOBF+mZWJouOxCNx7+t6eWVfsDZcnzsw6HrTN/2xwkYP/3lYfzlnt6q
|
||||
/AKYQIUUPc/31J6xg3kGRQ==
|
||||
-----END EC PRIVATE KEY-----
|
||||
Reference in New Issue
Block a user