Package org.mozilla.jss.pkix.cmmf
Class GetCRL
java.lang.Object
org.mozilla.jss.pkix.cmmf.GetCRL
- All Implemented Interfaces:
ASN1Value
CMMF GetCRL.
GetCRL ::= SEQUENCE { issuerName Name, cRLName GeneralName OPTIONAL, time GeneralizedTime OPTIONAL, reasons ReasonFlags OPTIONAL }
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
A bit position in a ReasonFlags bit string.static final int
A bit position in a ReasonFlags bit string.static final int
A bit position in a ReasonFlags bit string.static final int
A bit position in a ReasonFlags bit string.private ANY
private ANY
static final int
A bit position in a ReasonFlags bit string.private BIT_STRING
private SEQUENCE
static final int
A bit position in a ReasonFlags bit string.private static final Tag
private static final GetCRL.Template
private GeneralizedTime
static final int
A bit position in a ReasonFlags bit string. -
Constructor Summary
ConstructorsConstructorDescriptionGetCRL
(ANY issuerName, ANY cRLName, GeneralizedTime time, BIT_STRING reasons) Constructs aGetCRL
from its components. -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream ostream) Write this value's DER encoding to an output stream using its own base tag.void
encode
(Tag implicitTag, OutputStream ostream) Write this value's DER encoding to an output stream using an implicit tag.Returns thecRLName
field, which may benull
.Returns theissuerName
field.Returns thereasons
field, which may benull
.getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static GetCRL.Template
getTime()
Returns thetime
field, which may benull
.
-
Field Details
-
unused
public static final int unusedA bit position in a ReasonFlags bit string.- See Also:
-
keyCompromise
public static final int keyCompromiseA bit position in a ReasonFlags bit string.- See Also:
-
cACompromise
public static final int cACompromiseA bit position in a ReasonFlags bit string.- See Also:
-
affiliationChanged
public static final int affiliationChangedA bit position in a ReasonFlags bit string.- See Also:
-
superseded
public static final int supersededA bit position in a ReasonFlags bit string.- See Also:
-
cessationOfOperation
public static final int cessationOfOperationA bit position in a ReasonFlags bit string.- See Also:
-
certificateHold
public static final int certificateHoldA bit position in a ReasonFlags bit string.- See Also:
-
issuerName
-
cRLName
-
time
-
reasons
-
sequence
-
TAG
-
templateInstance
-
-
Constructor Details
-
GetCRL
Constructs aGetCRL
from its components.- Parameters:
issuerName
- The issuer name of the CRL. This should be an ASN.1 Name.cRLName
- The name of the CRL, which may benull
. This should be an ASN.1 GeneralName.time
- The time of the CRL, which may benull
.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 Details
-
getIssuerName
Returns theissuerName
field. -
getCRLName
Returns thecRLName
field, which may benull
. -
getTime
Returns thetime
field, which may benull
. -
getReasons
Returns thereasons
field, which may benull
. -
getTag
Description copied from interface:ASN1Value
Returns the base tag for this type, not counting any tags that may be imposed on it by its context. -
encode
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using its own base tag.- Specified by:
encode
in interfaceASN1Value
- Parameters:
ostream
- Output stream.- Throws:
IOException
- If an error occurred.
-
encode
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using an implicit tag.- Specified by:
encode
in interfaceASN1Value
- Parameters:
implicitTag
- Implicit tag.ostream
- Output stream.- Throws:
IOException
- If an error occurred.
-
getTemplate
-