Modifier and Type | Class and Description |
---|---|
static class |
GetCRL.Template
A Template for decoding a
GetCRL . |
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
GetCRL(ANY issuerName,
ANY cRLName,
GeneralizedTime time,
BIT_STRING reasons)
Constructs a
GetCRL from its components. |
Modifier and Type | Method and Description |
---|---|
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 . |
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
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.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
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public static GetCRL.Template getTemplate()