Package org.mozilla.jss.pkix.cmmf
Class GetCRL
- java.lang.Object
-
- org.mozilla.jss.pkix.cmmf.GetCRL
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetCRL.TemplateA Template for decoding aGetCRL.
-
Field Summary
Fields Modifier and Type Field Description static intaffiliationChangedA bit position in a ReasonFlags bit string.static intcACompromiseA bit position in a ReasonFlags bit string.static intcertificateHoldA bit position in a ReasonFlags bit string.static intcessationOfOperationA bit position in a ReasonFlags bit string.static intkeyCompromiseA bit position in a ReasonFlags bit string.static intsupersededA bit position in a ReasonFlags bit string.static intunusedA bit position in a ReasonFlags bit string.
-
Constructor Summary
Constructors Constructor Description GetCRL(ANY issuerName, ANY cRLName, GeneralizedTime time, BIT_STRING reasons)Constructs aGetCRLfrom its components.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(java.io.OutputStream ostream)Write this value's DER encoding to an output stream using its own base tag.voidencode(Tag implicitTag, java.io.OutputStream ostream)Write this value's DER encoding to an output stream using an implicit tag.ANYgetCRLName()Returns thecRLNamefield, which may benull.ANYgetIssuerName()Returns theissuerNamefield.BIT_STRINGgetReasons()Returns thereasonsfield, which may benull.TaggetTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static GetCRL.TemplategetTemplate()GeneralizedTimegetTime()Returns thetimefield, which may benull.
-
-
-
Field Detail
-
unused
public static final int unused
A bit position in a ReasonFlags bit string.- See Also:
- Constant Field Values
-
keyCompromise
public static final int keyCompromise
A bit position in a ReasonFlags bit string.- See Also:
- Constant Field Values
-
cACompromise
public static final int cACompromise
A bit position in a ReasonFlags bit string.- See Also:
- Constant Field Values
-
affiliationChanged
public static final int affiliationChanged
A bit position in a ReasonFlags bit string.- See Also:
- Constant Field Values
-
superseded
public static final int superseded
A bit position in a ReasonFlags bit string.- See Also:
- Constant Field Values
-
cessationOfOperation
public static final int cessationOfOperation
A bit position in a ReasonFlags bit string.- See Also:
- Constant Field Values
-
certificateHold
public static final int certificateHold
A bit position in a ReasonFlags bit string.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetCRL
public GetCRL(ANY issuerName, ANY cRLName, GeneralizedTime time, BIT_STRING reasons)
Constructs aGetCRLfrom 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 Detail
-
getIssuerName
public ANY getIssuerName()
Returns theissuerNamefield.
-
getCRLName
public ANY getCRLName()
Returns thecRLNamefield, which may benull.
-
getTime
public GeneralizedTime getTime()
Returns thetimefield, which may benull.
-
getReasons
public BIT_STRING getReasons()
Returns thereasonsfield, which may benull.
-
getTag
public Tag getTag()
Description copied from interface:ASN1ValueReturns the base tag for this type, not counting any tags that may be imposed on it by its context.
-
encode
public void encode(java.io.OutputStream ostream) throws java.io.IOExceptionDescription copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using its own base tag.
-
encode
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
Description copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using an implicit tag.
-
getTemplate
public static GetCRL.Template getTemplate()
-
-