|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.jss.pkix.cmmf.GetCRL
public class GetCRL
CMMF GetCRL.
GetCRL ::= SEQUENCE { issuerName Name, cRLName GeneralName OPTIONAL, time GeneralizedTime OPTIONAL, reasons ReasonFlags OPTIONAL }
Nested Class Summary | |
---|---|
static class |
GetCRL.Template
A Template for decoding a GetCRL . |
Field Summary | |
---|---|
static int |
affiliationChanged
A bit position in a ReasonFlags bit string. |
static int |
cACompromise
A bit position in a ReasonFlags bit string. |
static int |
certificateHold
A bit position in a ReasonFlags bit string. |
static int |
cessationOfOperation
A bit position in a ReasonFlags bit string. |
static int |
keyCompromise
A bit position in a ReasonFlags bit string. |
static int |
superseded
A bit position in a ReasonFlags bit string. |
static int |
unused
A bit position in a ReasonFlags bit string. |
Constructor Summary | |
---|---|
GetCRL(ANY issuerName,
ANY cRLName,
GeneralizedTime time,
BIT_STRING reasons)
Constructs a GetCRL 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. |
ANY |
getCRLName()
Returns the cRLName field, which may be null . |
ANY |
getIssuerName()
Returns the issuerName field. |
BIT_STRING |
getReasons()
Returns the reasons field, which may be null . |
Tag |
getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context. |
static GetCRL.Template |
getTemplate()
|
GeneralizedTime |
getTime()
Returns the time field, which may be null . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int unused
public static final int keyCompromise
public static final int cACompromise
public static final int affiliationChanged
public static final int superseded
public static final int cessationOfOperation
public static final int certificateHold
Constructor Detail |
---|
public GetCRL(ANY issuerName, ANY cRLName, GeneralizedTime time, BIT_STRING reasons)
GetCRL
from its components.
issuerName
- The issuer name of the CRL. This should be an ASN.1
Name.cRLName
- The name of the CRL, which may be null
.
This should be an ASN.1 GeneralName.time
- The time of the CRL, which may be null
.reasons
- Can be used to specify from among CRLs partitioned
by revocation reason. The BIT_STRING can be created from a
Java BitSet. The positions in the BitSet should be set or cleared
using the constants provided in this class.Method Detail |
---|
public ANY getIssuerName()
issuerName
field.
public ANY getCRLName()
cRLName
field, which may be null
.
public GeneralizedTime getTime()
time
field, which may be null
.
public BIT_STRING getReasons()
reasons
field, which may be null
.
public Tag getTag()
ASN1Value
getTag
in interface ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
encode
in interface ASN1Value
java.io.IOException
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
encode
in interface ASN1Value
java.io.IOException
public static GetCRL.Template getTemplate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |