org.mozilla.jss.pkix.cmc
Class CMCCertId
java.lang.Object
org.mozilla.jss.pkix.cmc.CMCCertId
- ASN1Value
public class CMCCertId
extends java.lang.Object
CMC
CMCCertId.
The definition of IssuerSerial comes from RFC 3281.
CMCCertId ::= SEQUENCE {
issuer GeneralNames,
serial INTEGER
issuerUID UniqueIdentifier OPTIONAL}
CMCCertId
public CMCCertId(ANY issuer,
INTEGER serial,
BIT_STRING issuerUID)
Constructs a new CMCCertId
from its components. The
issuerUID component may be null
.
CMCCertId
public CMCCertId(SEQUENCE issuer,
INTEGER serial,
BIT_STRING issuerUID)
Constructs a new CMCCertId
from its components. The
uniqueIdentifier component may be null
.
encode
public void encode(OutputStream ostream)
throws IOException
- encode in interface ASN1Value
encode
public void encode(Tag implicitTag,
OutputStream ostream)
throws IOException
- encode in interface ASN1Value
getIssuer
public SEQUENCE getIssuer()
Returns the issuer
field as an SEQUENCE of
ANY
. The actual type of the field is GeneralNames.
getIssuerUID
public BIT_STRING getIssuerUID()
Returns the issuerUID
field.
getSerial
public INTEGER getSerial()
Returns the serial
field.