Package org.mozilla.jss.pkix.cmc
Class GetCert
java.lang.Object
org.mozilla.jss.pkix.cmc.GetCert
- All Implemented Interfaces:
ASN1Value
CMC GetCert.
GetCert ::= SEQUENCE {
issuerName GeneralName,
serialNumber INTEGER }
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA Template for decoding aGetCert. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ANYprivate SEQUENCEprivate INTEGERprivate static final Tagprivate static final GetCert.Template -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream ostream) Write this value's DER encoding to an output stream using its own base tag.voidencode(Tag implicitTag, OutputStream ostream) Write this value's DER encoding to an output stream using an implicit tag.Returns theissuerNamefield as anANY.Returns theserialNumberfield.getTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static GetCert.Template
-
Field Details
-
issuerName
-
serialNumber
-
sequence
-
TAG
-
templateInstance
-
-
Constructor Details
-
GetCert
Constructs a newGetCertfrom its components. Neither component may benull.
-
-
Method Details
-
getIssuer
Returns theissuerNamefield as anANY. The actual type of the field is GeneralName. -
getSerialNumber
Returns theserialNumberfield. -
getTag
Description copied from interface:ASN1ValueReturns the base tag for this type, not counting any tags that may be imposed on it by its context. -
encode
Description copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using its own base tag.- Specified by:
encodein interfaceASN1Value- Parameters:
ostream- Output stream.- Throws:
IOException- If an error occurred.
-
encode
Description copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using an implicit tag.- Specified by:
encodein interfaceASN1Value- Parameters:
implicitTag- Implicit tag.ostream- Output stream.- Throws:
IOException- If an error occurred.
-
getTemplate
-