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 }
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
RevokeRequest
public RevokeRequest(X500Name name,
ASN1Integer serialNumber,
CRLReason reason,
ASN1GeneralizedTime invalidityDate,
ASN1OctetString passphrase,
ASN1UTF8String comment)
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()
- Deprecated. Use
getCommentUTF8()
instead.
getCommentUTF8
public ASN1UTF8String getCommentUTF8()
setComment
public void setComment(ASN1UTF8String 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.
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.