Package org.apache.pekko.pki.pem
Class PEMDecoder$
java.lang.Object
org.apache.pekko.pki.pem.PEMDecoder$
Decodes lax PEM encoded data, according to
https://tools.ietf.org/html/rfc7468
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PEMDecoder$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDecodes a PEM String into an identifier and the DER bytes of the content.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
PEMDecoder$
public PEMDecoder$()
-
-
Method Details
-
decode
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
- Parameters:
pemData- the PEM data (pre-eb, base64-MIME data and ponst-eb)- Returns:
- the decoded bytes and the content type.
- Throws:
PEMLoadingException
-