java.lang.Object
org.neo4j.driver.internal.pki.PemParser
Parse a public or private key.
PKCS#8/X.509 Public Key
PKCS#8 and encrypted PKCS#8 private keys
PKCS#1 encoded RSA, DSA and EC.
Encrypted PKCS#1 encoded RSA, DSA and EC.
In contrast to CertificateFactory
, Java's KeyFactory
's does not support reading textual pem files.
PEM format reference: RFC7468
This implementation has support for
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PemParser
- Throws:
IOException
-
-
Method Details
-
getPrivateKey
- Throws:
KeyException
-
getPublicKey
- Throws:
KeyException
-