Class 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)  
    • Constructor Detail

      • 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 Detail

      • getInstance

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

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

        public java.math.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