Class TSTInfo

  • All Implemented Interfaces:
    org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

    public class TSTInfo
    extends org.bouncycastle.asn1.ASN1Object
    • Constructor Summary

      Constructors 
      Constructor 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)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class org.bouncycastle.asn1.ASN1Object

        encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TSTInfo

        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)
    • Method Detail

      • getInstance

        public static TSTInfo getInstance​(java.lang.Object o)
      • getVersion

        public org.bouncycastle.asn1.ASN1Integer getVersion()
      • getPolicy

        public org.bouncycastle.asn1.ASN1ObjectIdentifier getPolicy()
      • getSerialNumber

        public org.bouncycastle.asn1.ASN1Integer getSerialNumber()
      • getAccuracy

        public Accuracy getAccuracy()
      • getGenTime

        public org.bouncycastle.asn1.ASN1GeneralizedTime getGenTime()
      • getOrdering

        public org.bouncycastle.asn1.ASN1Boolean getOrdering()
      • getNonce

        public org.bouncycastle.asn1.ASN1Integer getNonce()
      • getTsa

        public org.bouncycastle.asn1.x509.GeneralName getTsa()
      • getExtensions

        public org.bouncycastle.asn1.x509.Extensions getExtensions()
      • toASN1Primitive

        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  }
         
         
        Specified by:
        toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
        Specified by:
        toASN1Primitive in class org.bouncycastle.asn1.ASN1Object