Top Description Fields Constructors Methods
org.bouncycastle.asn1.cmc

public Class RevokeRequest

extends ASN1Object
Class Inheritance
Imports
java.math.BigInteger, org.bouncycastle.asn1.ASN1EncodableVector, .ASN1GeneralizedTime, .ASN1Integer, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .ASN1UTF8String, .DERSequence, .DERUTF8String, org.bouncycastle.asn1.x500.X500Name, org.bouncycastle.asn1.x509.CRLReason, org.bouncycastle.util.Arrays

RevokeRequest ::= SEQUENCE {
    issuerName            Name,
    serialNumber          INTEGER,
    reason                CRLReason,
    invalidityDate         GeneralizedTime OPTIONAL,
    passphrase            OCTET STRING OPTIONAL,
    comment               UTF8String OPTIONAL }

Field Summary

Modifier and TypeField and Description
private ASN1UTF8String
private ASN1GeneralizedTime
private final X500Name
private ASN1OctetString
private final CRLReason
private final ASN1Integer

Constructor Summary

AccessConstructor and Description
public
RevokeRequest(X500Name name, ASN1Integer serialNumber, CRLReason reason, ASN1GeneralizedTime invalidityDate, ASN1OctetString passphrase, ASN1UTF8String comment)

private

Method Summary

Modifier and TypeMethod and Description
public DERUTF8String
getComment()
Deprecated Use getCommentUTF8() instead.

public ASN1UTF8String
public static RevokeRequest
public ASN1GeneralizedTime
public X500Name
public ASN1OctetString
public byte[]
public CRLReason
public BigInteger
public void
public void
public void
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

commentback to summary
private ASN1UTF8String comment
invalidityDateback to summary
private ASN1GeneralizedTime invalidityDate
nameback to summary
private final X500Name name
passphraseback to summary
private ASN1OctetString passphrase
reasonback to summary
private final CRLReason reason
serialNumberback to summary
private final ASN1Integer serialNumber

Constructor Detail

RevokeRequestback to summary
public RevokeRequest(X500Name name, ASN1Integer serialNumber, CRLReason reason, ASN1GeneralizedTime invalidityDate, ASN1OctetString passphrase, ASN1UTF8String comment)
RevokeRequestback to summary
private RevokeRequest(ASN1Sequence seq)

Method Detail

getCommentback to summary
public DERUTF8String getComment()

Deprecated

Use getCommentUTF8() instead.

getCommentUTF8back to summary
public ASN1UTF8String getCommentUTF8()
getInstanceback to summary
public static RevokeRequest getInstance(Object o)
getInvalidityDateback to summary
public ASN1GeneralizedTime getInvalidityDate()
getNameback to summary
public X500Name getName()
getPassphraseback to summary
public ASN1OctetString getPassphrase()
getPassPhraseback to summary
public byte[] getPassPhrase()
getReasonback to summary
public CRLReason getReason()
getSerialNumberback to summary
public BigInteger getSerialNumber()
setCommentback to summary
public void setComment(ASN1UTF8String comment)
setInvalidityDateback to summary
public void setInvalidityDate(ASN1GeneralizedTime invalidityDate)
setPassphraseback to summary
public void setPassphrase(ASN1OctetString passphrase)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.