Package org.mozilla.jss.pkix.crmf
Class CertId
java.lang.Object
org.mozilla.jss.pkix.crmf.CertId
- All Implemented Interfaces:
ASN1Value
CRMF CertId.
CertId ::= SEQUENCE { issuer GeneralName, serialNumber INTEGER }
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ANY
private SEQUENCE
private INTEGER
private static final Tag
private static final CertId.Template
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream ostream) Write this value's DER encoding to an output stream using its own base tag.void
encode
(Tag implicitTag, OutputStream ostream) Write this value's DER encoding to an output stream using an implicit tag.Returns theissuer
field as anANY
.Returns theserialNumber
field.getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static CertId.Template
-
Field Details
-
issuer
-
serialNumber
-
sequence
-
TAG
-
templateInstance
-
-
Constructor Details
-
CertId
Constructs a newCertId
from its components. Neither component may benull
.
-
-
Method Details
-
getIssuer
Returns theissuer
field as anANY
. The actual type of the field is GeneralName. -
getSerialNumber
Returns theserialNumber
field. -
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
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using its own base tag.- Specified by:
encode
in interfaceASN1Value
- Parameters:
ostream
- Output stream.- Throws:
IOException
- If an error occurred.
-
encode
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using an implicit tag.- Specified by:
encode
in interfaceASN1Value
- Parameters:
implicitTag
- Implicit tag.ostream
- Output stream.- Throws:
IOException
- If an error occurred.
-
getTemplate
-