Package org.mozilla.jss.pkix.cmc
Class PendInfo
- java.lang.Object
-
- org.mozilla.jss.pkix.cmc.PendInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPendInfo.TemplateA template for decoding an PendInfo from its BER encoding.
-
Constructor Summary
Constructors Constructor Description PendInfo(java.lang.String reqId, java.util.Date date)Constructs a PendInfo from requestId and date.PendInfo(OCTET_STRING pendToken, GeneralizedTime pendTime)Constructs a PendInfo from 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.GeneralizedTimegetPendTime()OCTET_STRINGgetPendToken()TaggetTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.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(java.lang.String reqId, java.util.Date date)Constructs a PendInfo from requestId and date.- Parameters:
reqId- the request Iddate- the suggested time for the client to query the status.
-
-
Method Detail
-
getPendTime
public GeneralizedTime getPendTime()
-
getPendToken
public OCTET_STRING getPendToken()
-
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 PendInfo.Template getTemplate()
-
-