org.mozilla.jss.pkix.cmc

Class PendInfo

public class PendInfo extends Object implements ASN1Value

CMC PendInfo:
   PendInfo ::= SEQUENCE { 
       pendToken            OCTET STRING, 
       pendTime             GeneralizedTime 
   } 
 
Nested Class Summary
static classPendInfo.Template
A template for decoding an PendInfo from its BER encoding.
Field Summary
static TagTAG
Constructor Summary
PendInfo(OCTET_STRING pendToken, GeneralizedTime pendTime)
Constructs a PendInfo from its components.
PendInfo(String reqId, Date date)
Constructs a PendInfo from requestId and date.
Method Summary
voidencode(OutputStream ostream)
voidencode(Tag implicitTag, OutputStream ostream)
GeneralizedTimegetPendTime()
OCTET_STRINGgetPendToken()
TaggetTag()
static PendInfo.TemplategetTemplate()

Field Detail

TAG

public static final Tag TAG

Constructor Detail

PendInfo

public PendInfo(OCTET_STRING pendToken, GeneralizedTime pendTime)
Constructs a PendInfo from its components.

Parameters: pendToken the identifier. pendTime the suggested time for the client to query the status.

PendInfo

public PendInfo(String reqId, Date date)
Constructs a PendInfo from requestId and date.

Parameters: reqId the request Id date the suggested time for the client to query the status.

Method Detail

encode

public void encode(OutputStream ostream)

encode

public void encode(Tag implicitTag, OutputStream ostream)

getPendTime

public GeneralizedTime getPendTime()

getPendToken

public OCTET_STRING getPendToken()

getTag

public Tag getTag()

getTemplate

public static PendInfo.Template getTemplate()