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 class
CMCCertId.Template
A Template for decoding aCMCCertId
.
-
Constructor Summary
Constructors Constructor Description CMCCertId(ANY issuer, INTEGER serial, BIT_STRING issuerUID)
Constructs a newCMCCertId
from its components.CMCCertId(SEQUENCE issuer, INTEGER serial, BIT_STRING issuerUID)
Constructs a newCMCCertId
from its components.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using its own base tag.void
encode(Tag implicitTag, java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using an implicit tag.SEQUENCE
getIssuer()
Returns theissuer
field as anSEQUENCE of ANY
.BIT_STRING
getIssuerUID()
Returns theissuerUID
field.INTEGER
getSerial()
Returns theserial
field.Tag
getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static CMCCertId.Template
getTemplate()
-
-
-
Constructor Detail
-
CMCCertId
public CMCCertId(SEQUENCE issuer, INTEGER serial, BIT_STRING issuerUID)
Constructs a newCMCCertId
from its components. The uniqueIdentifier component may benull
.
-
CMCCertId
public CMCCertId(ANY issuer, INTEGER serial, BIT_STRING issuerUID)
Constructs a newCMCCertId
from its components. The issuerUID component may benull
.
-
-
Method Detail
-
getIssuer
public SEQUENCE getIssuer()
Returns theissuer
field as anSEQUENCE of ANY
. The actual type of the field is GeneralNames.
-
getSerial
public INTEGER getSerial()
Returns theserial
field.
-
getIssuerUID
public BIT_STRING getIssuerUID()
Returns theissuerUID
field.
-
getTag
public Tag getTag()
Description copied from interface:ASN1Value
Returns 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.IOException
Description copied from interface:ASN1Value
Write 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:ASN1Value
Write this value's DER encoding to an output stream using an implicit tag.
-
getTemplate
public static CMCCertId.Template getTemplate()
-
-