CrlID (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.asn1.ocsp

## Class CrlID

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.ocsp.CrlID

- All Implemented Interfaces:
    ASN1Encodable, Encodable

      public class CrlID
      extends ASN1Object

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ASN1Integer` | `getCrlNum()`
    `ASN1GeneralizedTime` | `getCrlTime()`
    `DERIA5String` | `getCrlUrl()`
    `static CrlID` | `getInstance(java.lang.Object obj)`
    `ASN1Primitive` | `toASN1Primitive()` Produce an object suitable for an ASN1OutputStream.

    - ### 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`

- - ### Method Detail

    - #### getInstance

          public static CrlID getInstance(java.lang.Object obj)

    - #### getCrlUrl

          public DERIA5String getCrlUrl()

    - #### getCrlNum

          public ASN1Integer getCrlNum()

    - #### getCrlTime

          public ASN1GeneralizedTime getCrlTime()

    - #### toASN1Primitive

          public ASN1Primitive toASN1Primitive()

      Produce an object suitable for an ASN1OutputStream.

           CrlID ::= SEQUENCE {
               crlUrl               [0]     EXPLICIT IA5String OPTIONAL,
               crlNum               [1]     EXPLICIT INTEGER OPTIONAL,
               crlTime              [2]     EXPLICIT GeneralizedTime OPTIONAL }

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