object DERPrivateKeyLoader
- Alphabetic
- By Inheritance
- DERPrivateKeyLoader
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def load(derData: DERData): PrivateKey
Converts the DER payload in PEMDecoder.DERData into a java.security.PrivateKey.
Converts the DER payload in PEMDecoder.DERData into a java.security.PrivateKey. The received DER data must be a valid PKCS#1 PKCS#1 (identified in PEM as "RSA PRIVATE KEY") or non-encrypted PKCS#8 (identified * in PEM as "PRIVATE KEY" or "EC PRIVATE KEY").
- Annotations
- @ApiMayChange() @throws("when the `derData` is for an unsupported format")
- Exceptions thrown
PEMLoadingException
when thederData
is for an unsupported format
- def load(derData: Seq[DERData]): PrivateKey
Scala API: Converts the DER payload in the first private key entry in the given PEMDecoder.DERData into a java.security.PrivateKey.
Scala API: Converts the DER payload in the first private key entry in the given PEMDecoder.DERData into a java.security.PrivateKey. The received DER data must be a valid PKCS#1 (identified in PEM as "RSA PRIVATE KEY") or non-encrypted PKCS#8 (identified in PEM as "PRIVATE KEY" or "EC PRIVATE KEY").
- Annotations
- @ApiMayChange() @throws("when the `derData` is for an unsupported format")
- Exceptions thrown
PEMLoadingException
when the no entry inderData
is a supported format
- def load(derData: List[DERData]): PrivateKey
Java API: Converts the DER payload in the first private key entry in the given PEMDecoder.DERData into a java.security.PrivateKey.
Java API: Converts the DER payload in the first private key entry in the given PEMDecoder.DERData into a java.security.PrivateKey. The received DER data must be a valid PKCS#1 (identified in PEM as "RSA PRIVATE KEY") or non-encrypted PKCS#8 (identified in PEM as "PRIVATE KEY" or "EC PRIVATE KEY").
- Annotations
- @ApiMayChange() @throws("when the `derData` is for an unsupported format")
- Exceptions thrown
PEMLoadingException
when the no entry inderData
is a supported format