Package org.apache.pekko.pki.pem
Class DERPrivateKeyLoader$
java.lang.Object
org.apache.pekko.pki.pem.DERPrivateKeyLoader$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DERPrivateKeyLoader$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionload(PEMDecoder.DERData derData) Converts the DER payload inPEMDecoder.DERDatainto aPrivateKey.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
DERPrivateKeyLoader$
public DERPrivateKeyLoader$()
-
-
Method Details
-
load
Converts the DER payload inPEMDecoder.DERDatainto aPrivateKey. The received DER data must be a valid PKCS#1 (identified in PEM as "RSA PRIVATE KEY") or non-ecnrypted PKCS#8 (identified in PEM as "PRIVATE KEY").- Throws:
PEMLoadingException- when thederDatais for an unsupported format
-