Package org.mozilla.jss.pkix.cmc
Class CMCCertId
java.lang.Object
org.mozilla.jss.pkix.cmc.CMCCertId
- All Implemented Interfaces:
ASN1Value
CMC CMCCertId.
The definition of IssuerSerial comes from RFC 3281.
CMCCertId ::= SEQUENCE {
issuer GeneralNames,
serial INTEGER
issuerUID UniqueIdentifier OPTIONAL}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA Template for decoding aCMCCertId. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SEQUENCEprivate BIT_STRINGprivate SEQUENCEprivate INTEGERprivate static final Tagprivate static final CMCCertId.Template -
Constructor Summary
ConstructorsConstructorDescriptionCMCCertId(ANY issuer, INTEGER serial, BIT_STRING issuerUID) Constructs a newCMCCertIdfrom its components.CMCCertId(SEQUENCE issuer, INTEGER serial, BIT_STRING issuerUID) Constructs a newCMCCertIdfrom its components. -
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 theissuerfield as anSEQUENCE of ANY.Returns theissuerUIDfield.Returns theserialfield.getTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static CMCCertId.Template
-
Field Details
-
issuer
-
serial
-
issuerUID
-
sequence
-
TAG
-
templateInstance
-
-
Constructor Details
-
CMCCertId
Constructs a newCMCCertIdfrom its components. The uniqueIdentifier component may benull. -
CMCCertId
Constructs a newCMCCertIdfrom its components. The issuerUID component may benull.
-
-
Method Details
-
getIssuer
Returns theissuerfield as anSEQUENCE of ANY. The actual type of the field is GeneralNames. -
getSerial
Returns theserialfield. -
getIssuerUID
Returns theissuerUIDfield. -
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
-