Packages

o

akka.pki.pem

PEMDecoder

object PEMDecoder

Decodes lax PEM encoded data, according to

https://tools.ietf.org/html/rfc7468

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

Type Members

  1. final class DERData extends AnyRef
    Annotations
    @ApiMayChange()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. def decode(pemData: String): DERData

    Decodes the first entry in a PEM String into an identifier and the DER bytes of the content.

    Decodes the first entry in a PEM String into an identifier and the DER bytes of the content.

    Note that for EDCSA and possibly other key types a pem string will contain multiple entries, see decodeAll or getAllDecoded for extracting all entries.

    See https://tools.ietf.org/html/rfc7468 and https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail

    pemData

    the PEM data (pre-eb, base64-MIME data and ponst-eb)

    returns

    the decoded bytes and the content type.

    Annotations
    @throws("If the `pemData` is not valid PEM format (according to https://tools.ietf.org/html/rfc7468).") @ApiMayChange()
  7. def decodeAll(pemData: String): Seq[DERData]

    Scala API: Decodes all entries in a PEM String.

    Scala API: Decodes all entries in a PEM String.

    Annotations
    @ApiMayChange()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def getAllDecoded(pemData: String): List[DERData]

    Java API: Decodes all entries in a PEM String.

    Java API: Decodes all entries in a PEM String.

    Annotations
    @ApiMayChange() @throws("If the `pemData` is not valid PEM format (according to https://tools.ietf.org/html/rfc7468).")
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped