Class TimeStampReq

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

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

      Constructors 
      Constructor Description
      TimeStampReq​(MessageImprint messageImprint, org.bouncycastle.asn1.ASN1ObjectIdentifier tsaPolicy, org.bouncycastle.asn1.ASN1Integer nonce, org.bouncycastle.asn1.ASN1Boolean certReq, org.bouncycastle.asn1.x509.Extensions extensions)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.bouncycastle.asn1.ASN1Boolean getCertReq()  
      org.bouncycastle.asn1.x509.Extensions getExtensions()  
      static TimeStampReq getInstance​(java.lang.Object o)  
      MessageImprint getMessageImprint()  
      org.bouncycastle.asn1.ASN1Integer getNonce()  
      org.bouncycastle.asn1.ASN1ObjectIdentifier getReqPolicy()  
      org.bouncycastle.asn1.ASN1Integer getVersion()  
      org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      TimeStampReq ::= SEQUENCE { version INTEGER { v1(1) }, messageImprint MessageImprint, --a hash algorithm OID and the hash value of the data to be --time-stamped reqPolicy TSAPolicyId OPTIONAL, nonce INTEGER OPTIONAL, certReq BOOLEAN DEFAULT FALSE, extensions [0] IMPLICIT Extensions OPTIONAL }
      • 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

      • TimeStampReq

        public TimeStampReq​(MessageImprint messageImprint,
                            org.bouncycastle.asn1.ASN1ObjectIdentifier tsaPolicy,
                            org.bouncycastle.asn1.ASN1Integer nonce,
                            org.bouncycastle.asn1.ASN1Boolean certReq,
                            org.bouncycastle.asn1.x509.Extensions extensions)
    • Method Detail

      • getInstance

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

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

        public org.bouncycastle.asn1.ASN1ObjectIdentifier getReqPolicy()
      • getNonce

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

        public org.bouncycastle.asn1.ASN1Boolean getCertReq()
      • getExtensions

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

        public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
         TimeStampReq ::= SEQUENCE  {
          version                      INTEGER  { v1(1) },
          messageImprint               MessageImprint,
            --a hash algorithm OID and the hash value of the data to be
            --time-stamped
          reqPolicy             TSAPolicyId              OPTIONAL,
          nonce                 INTEGER                  OPTIONAL,
          certReq               BOOLEAN                  DEFAULT FALSE,
          extensions            [0] IMPLICIT Extensions  OPTIONAL
         }
         
        Specified by:
        toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
        Specified by:
        toASN1Primitive in class org.bouncycastle.asn1.ASN1Object