Class RevokeRequest

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmc.RevokeRequest
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class RevokeRequest extends org.bouncycastle.asn1.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(org.bouncycastle.asn1.x500.X500Name name, org.bouncycastle.asn1.ASN1Integer serialNumber, org.bouncycastle.asn1.x509.CRLReason reason, org.bouncycastle.asn1.ASN1GeneralizedTime invalidityDate, org.bouncycastle.asn1.ASN1OctetString passphrase, org.bouncycastle.asn1.ASN1UTF8String comment)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bouncycastle.asn1.DERUTF8String
    Deprecated.
    Use getCommentUTF8() instead.
    org.bouncycastle.asn1.ASN1UTF8String
     
     
    org.bouncycastle.asn1.ASN1GeneralizedTime
     
    org.bouncycastle.asn1.x500.X500Name
     
    org.bouncycastle.asn1.ASN1OctetString
     
    byte[]
     
    org.bouncycastle.asn1.x509.CRLReason
     
     
    void
    setComment(org.bouncycastle.asn1.ASN1UTF8String comment)
     
    void
    setInvalidityDate(org.bouncycastle.asn1.ASN1GeneralizedTime invalidityDate)
     
    void
    setPassphrase(org.bouncycastle.asn1.ASN1OctetString passphrase)
     
    org.bouncycastle.asn1.ASN1Primitive
     

    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 Details

    • RevokeRequest

      public RevokeRequest(org.bouncycastle.asn1.x500.X500Name name, org.bouncycastle.asn1.ASN1Integer serialNumber, org.bouncycastle.asn1.x509.CRLReason reason, org.bouncycastle.asn1.ASN1GeneralizedTime invalidityDate, org.bouncycastle.asn1.ASN1OctetString passphrase, org.bouncycastle.asn1.ASN1UTF8String comment)
  • Method Details

    • getInstance

      public static RevokeRequest getInstance(Object o)
    • getName

      public org.bouncycastle.asn1.x500.X500Name getName()
    • getSerialNumber

      public BigInteger getSerialNumber()
    • getReason

      public org.bouncycastle.asn1.x509.CRLReason getReason()
    • getInvalidityDate

      public org.bouncycastle.asn1.ASN1GeneralizedTime getInvalidityDate()
    • setInvalidityDate

      public void setInvalidityDate(org.bouncycastle.asn1.ASN1GeneralizedTime invalidityDate)
    • getPassphrase

      public org.bouncycastle.asn1.ASN1OctetString getPassphrase()
    • setPassphrase

      public void setPassphrase(org.bouncycastle.asn1.ASN1OctetString passphrase)
    • getComment

      public org.bouncycastle.asn1.DERUTF8String getComment()
      Deprecated.
      Use getCommentUTF8() instead.
    • getCommentUTF8

      public org.bouncycastle.asn1.ASN1UTF8String getCommentUTF8()
    • setComment

      public void setComment(org.bouncycastle.asn1.ASN1UTF8String comment)
    • getPassPhrase

      public byte[] getPassPhrase()
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object