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 class
A Template for decoding aRevRepContent
. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRevRepContent
(SEQUENCE status, SEQUENCE revCerts, SEQUENCE crls) Creates a newRevRepContent
from its components. -
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.getCrls()
Thecrls
field, which is aSEQUENCE
ofANY
.TherevCerts
field, which is aSEQUENCE
ofCertId
.Thestatus
field, which is aSEQUENCE
ofPKIStatusInfo
.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 newRevRepContent
from its components.- Parameters:
status
- ASEQUENCE
ofPKIStatusInfo
.revCerts
- ASEQUENCE
ofCertId
. This field is optional, sonull
may be used.crls
- ASEQUENCE
ofANY
. This field is optional, sonull
may be used.- See Also:
-
-
Method Details
-
getStatus
Thestatus
field, which is aSEQUENCE
ofPKIStatusInfo
.- See Also:
-
getRevCerts
TherevCerts
field, which is aSEQUENCE
ofCertId
. Returnsnull
if this field is not present.- See Also:
-
getCrls
Thecrls
field, which is aSEQUENCE
ofANY
. Returnsnull
if this field is not present. -
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.
-