public class TSTInfo
extends org.bouncycastle.asn1.ASN1Object
Constructor and Description |
---|
TSTInfo(org.bouncycastle.asn1.ASN1ObjectIdentifier tsaPolicyId,
MessageImprint messageImprint,
org.bouncycastle.asn1.ASN1Integer serialNumber,
org.bouncycastle.asn1.ASN1GeneralizedTime genTime,
Accuracy accuracy,
org.bouncycastle.asn1.ASN1Boolean ordering,
org.bouncycastle.asn1.ASN1Integer nonce,
org.bouncycastle.asn1.x509.GeneralName tsa,
org.bouncycastle.asn1.x509.Extensions extensions) |
Modifier and Type | Method and Description |
---|---|
Accuracy |
getAccuracy() |
org.bouncycastle.asn1.x509.Extensions |
getExtensions() |
org.bouncycastle.asn1.ASN1GeneralizedTime |
getGenTime() |
static TSTInfo |
getInstance(java.lang.Object o) |
MessageImprint |
getMessageImprint() |
org.bouncycastle.asn1.ASN1Integer |
getNonce() |
org.bouncycastle.asn1.ASN1Boolean |
getOrdering() |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getPolicy() |
org.bouncycastle.asn1.ASN1Integer |
getSerialNumber() |
org.bouncycastle.asn1.x509.GeneralName |
getTsa() |
org.bouncycastle.asn1.ASN1Integer |
getVersion() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
TSTInfo ::= SEQUENCE {
version INTEGER { v1(1) },
policy TSAPolicyId,
messageImprint MessageImprint,
-- MUST have the same value as the similar field in
-- TimeStampReq
serialNumber INTEGER,
-- Time-Stamping users MUST be ready to accommodate integers
-- up to 160 bits.
|
public TSTInfo(org.bouncycastle.asn1.ASN1ObjectIdentifier tsaPolicyId, MessageImprint messageImprint, org.bouncycastle.asn1.ASN1Integer serialNumber, org.bouncycastle.asn1.ASN1GeneralizedTime genTime, Accuracy accuracy, org.bouncycastle.asn1.ASN1Boolean ordering, org.bouncycastle.asn1.ASN1Integer nonce, org.bouncycastle.asn1.x509.GeneralName tsa, org.bouncycastle.asn1.x509.Extensions extensions)
public static TSTInfo getInstance(java.lang.Object o)
public org.bouncycastle.asn1.ASN1Integer getVersion()
public MessageImprint getMessageImprint()
public org.bouncycastle.asn1.ASN1ObjectIdentifier getPolicy()
public org.bouncycastle.asn1.ASN1Integer getSerialNumber()
public Accuracy getAccuracy()
public org.bouncycastle.asn1.ASN1GeneralizedTime getGenTime()
public org.bouncycastle.asn1.ASN1Boolean getOrdering()
public org.bouncycastle.asn1.ASN1Integer getNonce()
public org.bouncycastle.asn1.x509.GeneralName getTsa()
public org.bouncycastle.asn1.x509.Extensions getExtensions()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
TSTInfo ::= SEQUENCE { version INTEGER { v1(1) }, policy TSAPolicyId, messageImprint MessageImprint, -- MUST have the same value as the similar field in -- TimeStampReq serialNumber INTEGER, -- Time-Stamping users MUST be ready to accommodate integers -- up to 160 bits. genTime GeneralizedTime, accuracy Accuracy OPTIONAL, ordering BOOLEAN DEFAULT FALSE, nonce INTEGER OPTIONAL, -- MUST be present if the similar field was present -- in TimeStampReq. In that case it MUST have the same value. tsa [0] GeneralName OPTIONAL, extensions [1] IMPLICIT Extensions OPTIONAL }
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object