Package org.bouncycastle.asn1.cmc
Class RevokeRequest
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmc.RevokeRequest
- All Implemented Interfaces:
ASN1Encodable,Encodable
RevokeRequest ::= SEQUENCE {
issuerName Name,
serialNumber INTEGER,
reason CRLReason,
invalidityDate GeneralizedTime OPTIONAL,
passphrase OCTET STRING OPTIONAL,
comment UTF8String OPTIONAL }
-
Constructor Summary
ConstructorsConstructorDescriptionRevokeRequest(X500Name name, ASN1Integer serialNumber, CRLReason reason, ASN1GeneralizedTime invalidityDate, ASN1OctetString passphrase, DERUTF8String comment) -
Method Summary
Modifier and TypeMethodDescriptionstatic RevokeRequestgetName()byte[]voidsetComment(DERUTF8String comment) voidsetInvalidityDate(ASN1GeneralizedTime invalidityDate) voidsetPassphrase(ASN1OctetString passphrase) Method providing a primitive representation of this object suitable for encoding.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
RevokeRequest
public RevokeRequest(X500Name name, ASN1Integer serialNumber, CRLReason reason, ASN1GeneralizedTime invalidityDate, ASN1OctetString passphrase, DERUTF8String comment)
-
-
Method Details
-
getInstance
-
getName
-
getSerialNumber
-
getReason
-
getInvalidityDate
-
setInvalidityDate
-
getPassphrase
-
setPassphrase
-
getComment
-
setComment
-
getPassPhrase
public byte[] getPassPhrase() -
toASN1Primitive
Description copied from class:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-