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 classRevRepContent.TemplateA Template for decoding aRevRepContent.
-
Constructor Summary
Constructors Constructor Description RevRepContent(SEQUENCE status, SEQUENCE revCerts, SEQUENCE crls)Creates a newRevRepContentfrom its components.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(java.io.OutputStream ostream)Write this value's DER encoding to an output stream using its own base tag.voidencode(Tag implicitTag, java.io.OutputStream ostream)Write this value's DER encoding to an output stream using an implicit tag.SEQUENCEgetCrls()Thecrlsfield, which is aSEQUENCEofANY.SEQUENCEgetRevCerts()TherevCertsfield, which is aSEQUENCEofCertId.SEQUENCEgetStatus()Thestatusfield, which is aSEQUENCEofPKIStatusInfo.TaggetTag()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 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:
PKIStatusInfo
-
-
Method Detail
-
getStatus
public SEQUENCE getStatus()
Thestatusfield, which is aSEQUENCEofPKIStatusInfo.- See Also:
PKIStatusInfo
-
getRevCerts
public SEQUENCE getRevCerts()
TherevCertsfield, which is aSEQUENCEofCertId. Returnsnullif this field is not present.- See Also:
CertId
-
getCrls
public SEQUENCE getCrls()
Thecrlsfield, which is aSEQUENCEofANY. Returnsnullif this field is not present.
-
getTag
public Tag 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
public void encode(java.io.OutputStream ostream) throws java.io.IOExceptionDescription copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using its own base tag.
-
-