Package 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
ConstructorDescriptionRevokeRequest
(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 TypeMethodDescriptionorg.bouncycastle.asn1.DERUTF8String
Deprecated.org.bouncycastle.asn1.ASN1UTF8String
static RevokeRequest
org.bouncycastle.asn1.ASN1GeneralizedTime
org.bouncycastle.asn1.x500.X500Name
getName()
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
-
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
-
getName
public org.bouncycastle.asn1.x500.X500Name getName() -
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.UsegetCommentUTF8()
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 interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-
getCommentUTF8()
instead.