public class TimeStampTokenInfo
extends java.lang.Object
TSTInfo structure carried by an RFC 3161
time-stamp token - the time of stamping (genTime), its accuracy, the TSA policy, serial
number, nonce and the message imprint that was stamped.| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.tsp.Accuracy |
getAccuracy() |
byte[] |
getEncoded() |
org.bouncycastle.asn1.x509.Extensions |
getExtensions() |
java.util.Date |
getGenTime() |
GenTimeAccuracy |
getGenTimeAccuracy() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getHashAlgorithm() |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getMessageImprintAlgOID() |
byte[] |
getMessageImprintDigest() |
java.math.BigInteger |
getNonce() |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getPolicy() |
java.math.BigInteger |
getSerialNumber() |
org.bouncycastle.asn1.x509.GeneralName |
getTsa() |
boolean |
isOrdered() |
org.bouncycastle.asn1.tsp.TSTInfo |
toASN1Structure() |
org.bouncycastle.asn1.tsp.TSTInfo |
toTSTInfo()
Deprecated.
use toASN1Structure
|
public boolean isOrdered()
public org.bouncycastle.asn1.tsp.Accuracy getAccuracy()
public java.util.Date getGenTime()
public GenTimeAccuracy getGenTimeAccuracy()
public org.bouncycastle.asn1.ASN1ObjectIdentifier getPolicy()
public java.math.BigInteger getSerialNumber()
public org.bouncycastle.asn1.x509.GeneralName getTsa()
public org.bouncycastle.asn1.x509.Extensions getExtensions()
public java.math.BigInteger getNonce()
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getHashAlgorithm()
public org.bouncycastle.asn1.ASN1ObjectIdentifier getMessageImprintAlgOID()
public byte[] getMessageImprintDigest()
public byte[] getEncoded()
throws java.io.IOException
java.io.IOException - if the structure cannot be encoded.public org.bouncycastle.asn1.tsp.TSTInfo toTSTInfo()
public org.bouncycastle.asn1.tsp.TSTInfo toASN1Structure()