CRLBag (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.asn1.pkcs

## Class CRLBag

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.pkcs.CRLBag

- All Implemented Interfaces:
    ASN1Encodable, Encodable

      public class CRLBag
      extends ASN1Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CRLBag(ASN1ObjectIdentifier crlId, ASN1Encodable crlValue)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ASN1ObjectIdentifier` | `getcrlId()`
    `ASN1Encodable` | `getCRLValue()`
    `static CRLBag` | `getInstance(java.lang.Object o)`
    `ASN1Primitive` | `toASN1Primitive()` CRLBag ::= SEQUENCE { crlId BAG-TYPE.

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1Object

      `equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CRLBag

          public CRLBag(ASN1ObjectIdentifier crlId,
                ASN1Encodable crlValue)

  - ### Method Detail

    - #### getInstance

          public static CRLBag getInstance(java.lang.Object o)

    - #### getcrlId

          public ASN1ObjectIdentifier getcrlId()

    - #### getCRLValue

          public ASN1Encodable getCRLValue()

    - #### toASN1Primitive

          public ASN1Primitive toASN1Primitive()

           CRLBag ::= SEQUENCE {
           crlId  BAG-TYPE.&id ({CRLTypes}),
           crlValue  [0] EXPLICIT BAG-TYPE.&Type ({CRLTypes})
           }

           x509CRL BAG-TYPE ::= {OCTET STRING IDENTIFIED BY {certTypes 1}
           -- DER-encoded X.509 CRL stored in OCTET STRING

           CRLTypes BAG-TYPE ::= {
           x509CRL,
           ... -- For future extensions
           }

      Specified by:
        `toASN1Primitive` in interface `ASN1Encodable`
      Specified by:
        `toASN1Primitive` in class `ASN1Object`
      Returns:
        a primitive representation of this object.