Package org.cryptacular.pem
Class Descriptor
java.lang.Object
org.cryptacular.pem.Descriptor
Descriptor for
PemObject-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDescriptor(Format formatParam, String explanatoryTextParam, String typeParam) Constructor with RFC format and explanatory text. -
Method Summary
-
Field Details
-
format
The RFC PEM specification which governs the format of this PEM object. -
type
The type of this PEM encoded data (i.e. PUBLIC KEY). -
explanatoryText
Explanatory text prior to the encapsulation header as defined by RFC 7468 Section 5.2
-
-
Constructor Details
-
Descriptor
Constructor with RFC format and explanatory text.- Parameters:
formatParam- RFC governing PEM formatexplanatoryTextParam- Explanatory text if applicabletypeParam- Data type
-
-
Method Details
-
getFormat
- Returns:
- The RFC
Formatgoverning this PEM data.
-
getType
- Returns:
- The encoded data type
-
getExplanatoryText
- Returns:
- The explanatory text included with this PEM as defined by RFC-7468 5.2 null is returned if this PEM file
is not of
Format.RFC7468
-