Package org.mozilla.jss.pkix.cmc
Class CMCCertId
- java.lang.Object
-
- org.mozilla.jss.pkix.cmc.CMCCertId
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCMCCertId.TemplateA Template for decoding aCMCCertId.
-
Constructor Summary
Constructors Constructor Description CMCCertId(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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(java.io.OutputStream ostream)Write this value's DER encoding to an output stream using its own base tag.voidencode(Tag implicitTag, java.io.OutputStream ostream)Write this value's DER encoding to an output stream using an implicit tag.SEQUENCEgetIssuer()Returns theissuerfield as anSEQUENCE of ANY.BIT_STRINGgetIssuerUID()Returns theissuerUIDfield.INTEGERgetSerial()Returns theserialfield.TaggetTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static CMCCertId.TemplategetTemplate()
-
-
-
Constructor Detail
-
CMCCertId
public CMCCertId(SEQUENCE issuer, INTEGER serial, BIT_STRING issuerUID)
Constructs a newCMCCertIdfrom its components. The uniqueIdentifier component may benull.
-
CMCCertId
public CMCCertId(ANY issuer, INTEGER serial, BIT_STRING issuerUID)
Constructs a newCMCCertIdfrom its components. The issuerUID component may benull.
-
-
Method Detail
-
getIssuer
public SEQUENCE getIssuer()
Returns theissuerfield as anSEQUENCE of ANY. The actual type of the field is GeneralNames.
-
getSerial
public INTEGER getSerial()
Returns theserialfield.
-
getIssuerUID
public BIT_STRING getIssuerUID()
Returns theissuerUIDfield.
-
getTag
public Tag 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
public void encode(java.io.OutputStream ostream) throws java.io.IOExceptionDescription copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using its own base tag.
-
encode
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
Description copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using an implicit tag.
-
getTemplate
public static CMCCertId.Template getTemplate()
-
-