PEMDecoder

org.apache.pekko.pki.pem.PEMDecoder
object PEMDecoder

Decodes lax PEM encoded data, according to

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

Attributes

Source
PEMDecoder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PEMDecoder.type

Members list

Type members

Classlikes

final class DERData(val label: String, val bytes: Array[Byte])

Attributes

Source
PEMDecoder.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

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

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

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

Value parameters

pemData

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

Attributes

Returns

the decoded bytes and the content type.

Source
PEMDecoder.scala