Top Description Fields Constructors Methods
org.bouncycastle.asn1.cmp

public Class RevRepContent

extends ASN1Object
Class Inheritance
Imports
java.util.Enumeration, org.bouncycastle.asn1.ASN1Encodable, .ASN1EncodableVector, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence, .DERTaggedObject, org.bouncycastle.asn1.crmf.CertId, org.bouncycastle.asn1.x509.CertificateList

 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)
      }

Field Summary

Modifier and TypeField and Description
private ASN1Sequence
private ASN1Sequence
private final ASN1Sequence

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private void
public CertificateList[]
public static RevRepContent
public CertId[]
public PKIStatusInfo[]
public ASN1Primitive

Returns:

a basic ASN.1 object representation.
toASN1Primitive
()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

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)
  }
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

crlsback to summary
private ASN1Sequence crls
revCertsback to summary
private ASN1Sequence revCerts
statusback to summary
private final ASN1Sequence status

Constructor Detail

RevRepContentback to summary
private RevRepContent(ASN1Sequence seq)

Method Detail

addOptionalback to summary
private void addOptional(ASN1EncodableVector v, int tagNo, ASN1Encodable obj)
getCrlsback to summary
public CertificateList[] getCrls()
getInstanceback to summary
public static RevRepContent getInstance(Object o)
getRevCertsback to summary
public CertId[] getRevCerts()
getStatusback to summary
public PKIStatusInfo[] getStatus()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

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)
  }
Returns:ASN1Primitive

a basic ASN.1 object representation.