Class CMCCertId
java.lang.Object
org.mozilla.jss.pkix.cmc.CMCCertId
- All Implemented Interfaces:
ASN1Value
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA Template for decoding aCMCCertId. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SEQUENCE////////////////////////////////////////////////////////////////////private BIT_STRINGprivate SEQUENCEprivate INTEGERprivate static final Tag////////////////////////////////////////////////////////////////////private 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
-
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
-