Modifier and Type | Class and Description |
---|---|
static class |
PendInfo.Template
A template for decoding an PendInfo from its BER encoding.
|
Constructor and Description |
---|
PendInfo(OCTET_STRING pendToken,
GeneralizedTime pendTime)
Constructs a PendInfo from its components.
|
PendInfo(java.lang.String reqId,
java.util.Date date)
Constructs a PendInfo from requestId and date.
|
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.
|
GeneralizedTime |
getPendTime() |
OCTET_STRING |
getPendToken() |
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 |
getTemplate() |
public static final Tag TAG
public PendInfo(OCTET_STRING pendToken, GeneralizedTime pendTime)
pendToken
- the identifier.pendTime
- the suggested time for the client to query the status.public PendInfo(java.lang.String reqId, java.util.Date date)
reqId
- the request Iddate
- the suggested time for the client to query the status.public GeneralizedTime getPendTime()
public OCTET_STRING getPendToken()
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 PendInfo.Template getTemplate()