Package org.bouncycastle.asn1.cmc

## Class RevokeRequest

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.cmc.RevokeRequest

- All Implemented Interfaces:
    `ASN1Encodable`, `Encodable`

      public class RevokeRequest
      extends ASN1Object

       RevokeRequest ::= SEQUENCE {
           issuerName            Name,
           serialNumber          INTEGER,
           reason                CRLReason,
           invalidityDate         GeneralizedTime OPTIONAL,
           passphrase            OCTET STRING OPTIONAL,
           comment               UTF8String OPTIONAL }

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RevokeRequest​(X500Name name, ASN1Integer serialNumber, CRLReason reason, ASN1GeneralizedTime invalidityDate, ASN1OctetString passphrase, DERUTF8String comment)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `DERUTF8String` | `getComment()` |
    `static RevokeRequest` | `getInstance​(java.lang.Object o)` |
    `ASN1GeneralizedTime` | `getInvalidityDate()` |
    `X500Name` | `getName()` |
    `ASN1OctetString` | `getPassphrase()` |
    `byte[]` | `getPassPhrase()` |
    `CRLReason` | `getReason()` |
    `java.math.BigInteger` | `getSerialNumber()` |
    `void` | `setComment​(DERUTF8String comment)` |
    `void` | `setInvalidityDate​(ASN1GeneralizedTime invalidityDate)` |
    `void` | `setPassphrase​(ASN1OctetString passphrase)` |
    `ASN1Primitive` | `toASN1Primitive()` | Method providing a primitive representation of this object suitable for encoding.

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

      `encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode`

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

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

- - ### Constructor Detail

    - #### RevokeRequest

          public RevokeRequest​(X500Name name,
                               ASN1Integer serialNumber,
                               CRLReason reason,
                               ASN1GeneralizedTime invalidityDate,
                               ASN1OctetString passphrase,
                               DERUTF8String comment)

  - ### Method Detail

    - #### getInstance

          public static RevokeRequest getInstance​(java.lang.Object o)

    - #### getName

          public X500Name getName()

    - #### getSerialNumber

          public java.math.BigInteger getSerialNumber()

    - #### getReason

          public CRLReason getReason()

    - #### getInvalidityDate

          public ASN1GeneralizedTime getInvalidityDate()

    - #### setInvalidityDate

          public void setInvalidityDate​(ASN1GeneralizedTime invalidityDate)

    - #### getPassphrase

          public ASN1OctetString getPassphrase()

    - #### setPassphrase

          public void setPassphrase​(ASN1OctetString passphrase)

    - #### getComment

          public DERUTF8String getComment()

    - #### setComment

          public void setComment​(DERUTF8String comment)

    - #### getPassPhrase

          public byte[] getPassPhrase()

    - #### toASN1Primitive

          public ASN1Primitive toASN1Primitive()

      Description copied from class: `ASN1Object`
      Method providing a primitive representation of this object suitable for encoding.
      Specified by:
        `toASN1Primitive` in interface `ASN1Encodable`
      Specified by:
        `toASN1Primitive` in class `ASN1Object`
      Returns:
        a primitive representation of this object.