Add support for PKCS 12 encrypted files
This adds two properties to GTlsCertificate
:
-
pkcs12-data
which is PKCS #12 data in DER format -
password
which is a single password that applies to the PKCS #12 data (the container, and the privkey if encrypted)
Once you construct a certificate with pkcs12-bytes
the normal properties work as expected (certificate
, certificate-pem
, private-key
, private-key-pem
)
TODO:
-
Convert full chains of certificates into issuers -
Add OpenSSL support