org.mozilla.jss.pkix.cmmf

Class RevRepContent

public class RevRepContent extends 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
static classRevRepContent.Template
A Template for decoding a RevRepContent.
Constructor Summary
RevRepContent(SEQUENCE status, SEQUENCE revCerts, SEQUENCE crls)
Creates a new RevRepContent from its components.
Method Summary
voidencode(OutputStream ostream)
voidencode(Tag implicitTag, OutputStream ostream)
SEQUENCEgetCrls()
The crls field, which is a SEQUENCE of ANY.
SEQUENCEgetRevCerts()
The revCerts field, which is a SEQUENCE of CertId.
SEQUENCEgetStatus()
The status field, which is a SEQUENCE of PKIStatusInfo.
TaggetTag()

Constructor Detail

RevRepContent

public RevRepContent(SEQUENCE status, SEQUENCE revCerts, SEQUENCE crls)
Creates a new RevRepContent from its components.

Parameters: status A SEQUENCE of PKIStatusInfo. revCerts A SEQUENCE of CertId. This field is optional, so null may be used. crls A SEQUENCE of ANY. This field is optional, so null may be used.

See Also: PKIStatusInfo

Method Detail

encode

public void encode(OutputStream ostream)

encode

public void encode(Tag implicitTag, OutputStream ostream)

getCrls

public SEQUENCE getCrls()
The crls field, which is a SEQUENCE of ANY. Returns null if this field is not present.

getRevCerts

public SEQUENCE getRevCerts()
The revCerts field, which is a SEQUENCE of CertId. Returns null if this field is not present.

See Also: CertId

getStatus

public SEQUENCE getStatus()
The status field, which is a SEQUENCE of PKIStatusInfo.

See Also: PKIStatusInfo

getTag

public Tag getTag()