org.bouncycastle.asn1.cmc
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 |
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)
|
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 |
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)
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()