Package org.mozilla.jss.pkix.cmmf
Class RevRepContent
java.lang.Object
org.mozilla.jss.pkix.cmmf.RevRepContent
- All Implemented Interfaces:
ASN1Value
CMMF RevRepContent.
RevRepContent ::= SEQUENCE {
status SEQUENCE SIZE (1..MAX) OF PKIStatusInfo,
-- in same order as was sent in RevReqContent
revCerts [0] SEQUENCE SIZE (1..MAX) OF CertId OPTIONAL,
-- IDs for which revocation was requested (same order as status)
crls [1] SEQUENCE SIZE (1..MAX) OF CertificateList OPTIONAL
-- the resulting CRLs (there may be more than one) }
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA Template for decoding aRevRepContent. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRevRepContent(SEQUENCE status, SEQUENCE revCerts, SEQUENCE crls) Creates a newRevRepContentfrom 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.getCrls()Thecrlsfield, which is aSEQUENCEofANY.TherevCertsfield, which is aSEQUENCEofCertId.Thestatusfield, which is aSEQUENCEofPKIStatusInfo.getTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
-
Field Details
-
status
-
revCerts
-
crls
-
sequence
-
TAG
-
-
Constructor Details
-
RevRepContent
Creates a newRevRepContentfrom its components.- Parameters:
status- ASEQUENCEofPKIStatusInfo.revCerts- ASEQUENCEofCertId. This field is optional, sonullmay be used.crls- ASEQUENCEofANY. This field is optional, sonullmay be used.- See Also:
-
-
Method Details
-
getStatus
Thestatusfield, which is aSEQUENCEofPKIStatusInfo.- See Also:
-
getRevCerts
TherevCertsfield, which is aSEQUENCEofCertId. Returnsnullif this field is not present.- See Also:
-
getCrls
Thecrlsfield, which is aSEQUENCEofANY. Returnsnullif this field is not present. -
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
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.
-