org.mozilla.jss.pkix.cmmf
public class RevRequest extends Object implements ASN1Value
RevRequest ::= SEQUENCE { issuerName Name, serialNumber INTEGER, reason CRLReason, invalidityDate GeneralizedTime OPTIONAL, sharedSecret OCTET STRING OPTIONAL, comment UTF8String OPTIONAL }
Nested Class Summary | |
---|---|
static class | RevRequest.Template
A Template class for decoding a RevRequest . |
Field Summary | |
---|---|
static ENUMERATED | aACompromise
A CRLReason , which can be used in the reason
field. |
static ENUMERATED | affiliationChanged
A CRLReason , which can be used in the reason
field. |
static ENUMERATED | cACompromise
A CRLReason , which can be used in the reason
field. |
static ENUMERATED | certificateHold
A CRLReason , which can be used in the reason
field. |
static ENUMERATED | cessationOfOperation
A CRLReason , which can be used in the reason
field. |
static ENUMERATED | keyCompromise
A CRLReason , which can be used in the reason
field. |
static ENUMERATED | privilegeWithdrawn
A CRLReason , which can be used in the reason
field. |
static ENUMERATED | removeFromCRL
A CRLReason , which can be used in the reason
field. |
static ENUMERATED | superseded
A CRLReason , which can be used in the reason
field. |
static ENUMERATED | unspecified
A CRLReason , which can be used in the reason
field. |
Constructor Summary | |
---|---|
RevRequest(ANY issuerName, INTEGER serialNumber, ENUMERATED reason, OCTET_STRING sharedSecret, UTF8String comment)
Constructs a new RevRequest from its components,
omitting the invalidityDate field.
| |
RevRequest(ANY issuerName, INTEGER serialNumber, ENUMERATED reason, GeneralizedTime invalidityDate, OCTET_STRING sharedSecret, UTF8String comment)
Constructs a new RevRequest from its components.
|
Method Summary | |
---|---|
void | encode(OutputStream ostream) |
void | encode(Tag implicitTag, OutputStream ostream) |
UTF8String | getComment()
Returns the comment field. |
GeneralizedTime | getInvalidityDate()
Returns the invalidityDate field. |
ANY | getIssuerName()
Returns the issuerName field as an ANY. |
OCTET_STRING | getPassphrase()
Returns the passphrase field. |
ENUMERATED | getReason()
Returns the reason field, which should indicate the
reason for the revocation. |
INTEGER | getSerialNumber()
Returns the serialNumber field. |
OCTET_STRING | getSharedSecret()
Returns the sharedSecret field. |
Tag | getTag() |
CRLReason
, which can be used in the reason
field.CRLReason
, which can be used in the reason
field.CRLReason
, which can be used in the reason
field.CRLReason
, which can be used in the reason
field.CRLReason
, which can be used in the reason
field.CRLReason
, which can be used in the reason
field.CRLReason
, which can be used in the reason
field.CRLReason
, which can be used in the reason
field.CRLReason
, which can be used in the reason
field.CRLReason
, which can be used in the reason
field.Deprecated: This constructor is obsolete now that invalidityDate has been added to the class.
Constructs a newRevRequest
from its components,
omitting the invalidityDate field.
Parameters: issuerName The issuerName
field. serialNumber The serialNumber
field. reason The reason
field. The constants defined
in this class may be used. sharedSecret The sharedSecret
field. This field is
optional, so null
may be used. comment The comment
field. This field is optional,
so null
may be used.
RevRequest
from its components.
Parameters: issuerName The issuerName
field. serialNumber The serialNumber
field. reason The reason
field. The constants defined
in this class may be used. invalidityDate The suggested value for the Invalidity Date
CRL extension. This field is optional, so null may be
used. sharedSecret The sharedSecret
field. This field is
optional, so null
may be used. comment The comment
field. This field is optional,
so null
may be used.
comment
field. Returns null
if the field is not present.issuerName
field as an ANY.Deprecated: The passphrase field has been renamed sharedSecret. Call getSharedSecret instead.
Returns thepassphrase
field. Returns
null
if the field is not present.reason
field, which should indicate the
reason for the revocation. The currently supported reasons are:
CRLReason ::= ENUMERATED { unspecified (0), keyCompromise (1), cACompromise (2), affiliationChanged (3), superseded (4), cessationOfOperation (5), certificateHold (6), removeFromCRL (8), privilegeWithdrawn (9), aACompromise (10) }These are all defined as constants in this class.
serialNumber
field.sharedSecret
field. Returns
null
if the field is not present.