Packages

o

akka.pki.pem

DERPrivateKeyLoader

object DERPrivateKeyLoader

Source
DERPrivateKeyLoader.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DERPrivateKeyLoader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. 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 the derData is for an unsupported format

  2. 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 in derData is a supported format

  3. 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 in derData is a supported format