|
JSS 3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.mozilla.jss.pkix.cmmf.RevRequest
CMMF RevRequest.
RevRequest ::= SEQUENCE {
issuerName Name,
serialNumber INTEGER,
reason CRLReason,
passphrase OCTET STRING OPTIONAL,
comment UTF8String OPTIONAL }
| Nested Class Summary | |
static class |
RevRequest.Template
A Template class for decoding a RevRequest. |
| Field Summary | |
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. |
private UTF8String |
comment
|
private ANY |
issuerName
|
static ENUMERATED |
keyCompromise
A CRLReason, which can be used in the reason
field. |
private OCTET_STRING |
passphrase
|
private ENUMERATED |
reason
|
static ENUMERATED |
removeFromCRL
A CRLReason, which can be used in the reason
field. |
private SEQUENCE |
sequence
|
private INTEGER |
serialNumber
|
static ENUMERATED |
superseded
A CRLReason, which can be used in the reason
field. |
private static Tag |
TAG
|
static ENUMERATED |
unspecified
A CRLReason, which can be used in the reason
field. |
| Constructor Summary | |
private |
RevRequest()
|
|
RevRequest(ANY issuerName,
INTEGER serialNumber,
ENUMERATED reason,
OCTET_STRING passphrase,
UTF8String comment)
Constructs a new RevRequest from its components. |
| Method Summary | |
void |
encode(java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using its own base tag. |
void |
encode(Tag implicitTag,
java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using an implicit tag. |
UTF8String |
getComment()
Returns the comment 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. |
Tag |
getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final ENUMERATED unspecified
CRLReason, which can be used in the reason
field.
public static final ENUMERATED keyCompromise
CRLReason, which can be used in the reason
field.
public static final ENUMERATED cACompromise
CRLReason, which can be used in the reason
field.
public static final ENUMERATED affiliationChanged
CRLReason, which can be used in the reason
field.
public static final ENUMERATED superseded
CRLReason, which can be used in the reason
field.
public static final ENUMERATED cessationOfOperation
CRLReason, which can be used in the reason
field.
public static final ENUMERATED certificateHold
CRLReason, which can be used in the reason
field.
public static final ENUMERATED removeFromCRL
CRLReason, which can be used in the reason
field.
private ANY issuerName
private INTEGER serialNumber
private ENUMERATED reason
private OCTET_STRING passphrase
private UTF8String comment
private SEQUENCE sequence
private static final Tag TAG
| Constructor Detail |
private RevRequest()
public RevRequest(ANY issuerName,
INTEGER serialNumber,
ENUMERATED reason,
OCTET_STRING passphrase,
UTF8String comment)
RevRequest from its components.
issuerName - The issuerName field.serialNumber - The serialNumber field.reason - The reason field. The constants defined
in this class may be used.passphrase - The passphrase field. This field is
optional, so null may be used.comment - The comment field. This field is optional,
so null may be used.| Method Detail |
public ANY getIssuerName()
issuerName field as an ANY.
public INTEGER getSerialNumber()
serialNumber field.
public ENUMERATED getReason()
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) }
These are all defined as constants in this class.
public OCTET_STRING getPassphrase()
passphrase field. Returns
null if the field is not present.
public UTF8String getComment()
comment field. Returns null
if the field is not present.
public Tag getTag()
ASN1Value
getTag in interface ASN1Value
public void encode(java.io.OutputStream ostream)
throws java.io.IOException
ASN1Value
encode in interface ASN1Valuejava.io.IOException
public void encode(Tag implicitTag,
java.io.OutputStream ostream)
throws java.io.IOException
ASN1Value
encode in interface ASN1Valuejava.io.IOException
|
JSS 3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||