Package org.mozilla.jss.pkix.cmc
Class PendInfo
java.lang.Object
org.mozilla.jss.pkix.cmc.PendInfo
- All Implemented Interfaces:
ASN1Value
CMC PendInfo:
PendInfo ::= SEQUENCE { pendToken OCTET STRING, pendTime GeneralizedTime }
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A template for decoding an PendInfo from its BER encoding. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate GeneralizedTime
private OCTET_STRING
private SEQUENCE
static final Tag
private static final PendInfo.Template
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a PendInfo from requestId and date.PendInfo
(OCTET_STRING pendToken, GeneralizedTime pendTime) Constructs a PendInfo 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.getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static PendInfo.Template
-
Field Details
-
sequence
-
pendToken
-
pendTime
-
TAG
-
templateInstance
-
-
Constructor Details
-
PendInfo
Constructs a PendInfo from its components.- Parameters:
pendToken
- the identifier.pendTime
- the suggested time for the client to query the status.
-
PendInfo
Constructs a PendInfo from requestId and date.- Parameters:
reqId
- the request Iddate
- the suggested time for the client to query the status.
-
-
Method Details
-
getPendTime
-
getPendToken
-
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
-