Top Fields Constructors Methods
org.bouncycastle.asn1.tsp

public Class TSTInfo

extends ASN1Object
Class Inheritance
Imports
java.util.Enumeration, org.bouncycastle.asn1.ASN1Boolean, .ASN1EncodableVector, .ASN1GeneralizedTime, .ASN1Integer, .ASN1Object, .ASN1ObjectIdentifier, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence, .DERTaggedObject, org.bouncycastle.asn1.x509.Extensions, .GeneralName

Field Summary

Modifier and TypeField and Description
private Accuracy
private Extensions
private ASN1GeneralizedTime
private MessageImprint
private ASN1Integer
private ASN1Boolean
private ASN1Integer
private GeneralName
private ASN1ObjectIdentifier
private ASN1Integer

Constructor Summary

AccessConstructor and Description
private
public
TSTInfo(ASN1ObjectIdentifier tsaPolicyId, MessageImprint messageImprint, ASN1Integer serialNumber, ASN1GeneralizedTime genTime, Accuracy accuracy, ASN1Boolean ordering, ASN1Integer nonce, GeneralName tsa, Extensions extensions)

Method Summary

Modifier and TypeMethod and Description
public Accuracy
public Extensions
public ASN1GeneralizedTime
public static TSTInfo
public MessageImprint
public ASN1Integer
public ASN1Boolean
public ASN1ObjectIdentifier
public ASN1Integer
public GeneralName
public ASN1Integer
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.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.
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

accuracyback to summary
private Accuracy accuracy
extensionsback to summary
private Extensions extensions
genTimeback to summary
private ASN1GeneralizedTime genTime
messageImprintback to summary
private MessageImprint messageImprint
nonceback to summary
private ASN1Integer nonce
orderingback to summary
private ASN1Boolean ordering
serialNumberback to summary
private ASN1Integer serialNumber
tsaback to summary
private GeneralName tsa
tsaPolicyIdback to summary
private ASN1ObjectIdentifier tsaPolicyId
versionback to summary
private ASN1Integer version

Constructor Detail

TSTInfoback to summary
private TSTInfo(ASN1Sequence seq)
TSTInfoback to summary
public TSTInfo(ASN1ObjectIdentifier tsaPolicyId, MessageImprint messageImprint, ASN1Integer serialNumber, ASN1GeneralizedTime genTime, Accuracy accuracy, ASN1Boolean ordering, ASN1Integer nonce, GeneralName tsa, Extensions extensions)

Method Detail

getAccuracyback to summary
public Accuracy getAccuracy()
getExtensionsback to summary
public Extensions getExtensions()
getGenTimeback to summary
public ASN1GeneralizedTime getGenTime()
getInstanceback to summary
public static TSTInfo getInstance(Object o)
getMessageImprintback to summary
public MessageImprint getMessageImprint()
getNonceback to summary
public ASN1Integer getNonce()
getOrderingback to summary
public ASN1Boolean getOrdering()
getPolicyback to summary
public ASN1ObjectIdentifier getPolicy()
getSerialNumberback to summary
public ASN1Integer getSerialNumber()
getTsaback to summary
public GeneralName getTsa()
getVersionback to summary
public ASN1Integer getVersion()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.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  }

Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.