Package org.mozilla.jss.pkix.cmmf
Class RevRepContent
- java.lang.Object
-
- org.mozilla.jss.pkix.cmmf.RevRepContent
-
- All Implemented Interfaces:
ASN1Value
public class RevRepContent extends java.lang.Object implements 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 Classes Modifier and Type Class Description static class
RevRepContent.Template
A Template for decoding aRevRepContent
.
-
Constructor Summary
Constructors Constructor Description RevRepContent(SEQUENCE status, SEQUENCE revCerts, SEQUENCE crls)
Creates a newRevRepContent
from its components.
-
Method Summary
All 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
getCrls()
Thecrls
field, which is aSEQUENCE
ofANY
.SEQUENCE
getRevCerts()
TherevCerts
field, which is aSEQUENCE
ofCertId
.SEQUENCE
getStatus()
Thestatus
field, which is aSEQUENCE
ofPKIStatusInfo
.Tag
getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
-
-
-
Constructor Detail
-
RevRepContent
public RevRepContent(SEQUENCE status, SEQUENCE revCerts, SEQUENCE crls)
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:
PKIStatusInfo
-
-
Method Detail
-
getStatus
public SEQUENCE getStatus()
Thestatus
field, which is aSEQUENCE
ofPKIStatusInfo
.- See Also:
PKIStatusInfo
-
getRevCerts
public SEQUENCE getRevCerts()
TherevCerts
field, which is aSEQUENCE
ofCertId
. Returnsnull
if this field is not present.- See Also:
CertId
-
getCrls
public SEQUENCE getCrls()
Thecrls
field, which is aSEQUENCE
ofANY
. Returnsnull
if this field is not present.
-
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.
-
-