Top Fields Constructors Methods
org.bouncycastle.asn1.tsp

public Class TimeStampReq

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

Field Summary

Modifier and TypeField and Description
pack-priv ASN1Boolean
pack-priv Extensions
pack-priv MessageImprint
pack-priv ASN1Integer
pack-priv ASN1ObjectIdentifier
pack-priv ASN1Integer

Constructor Summary

AccessConstructor and Description
private
public
TimeStampReq(MessageImprint messageImprint, ASN1ObjectIdentifier tsaPolicy, ASN1Integer nonce, ASN1Boolean certReq, Extensions extensions)

Method Summary

Modifier and TypeMethod and Description
public ASN1Boolean
public Extensions
public static TimeStampReq
public MessageImprint
public ASN1Integer
public ASN1ObjectIdentifier
public ASN1Integer
public ASN1Primitive
toASN1Primitive()

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

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

Field Detail

certReqback to summary
pack-priv ASN1Boolean certReq
extensionsback to summary
pack-priv Extensions extensions
messageImprintback to summary
pack-priv MessageImprint messageImprint
nonceback to summary
pack-priv ASN1Integer nonce
tsaPolicyback to summary
pack-priv ASN1ObjectIdentifier tsaPolicy
versionback to summary
pack-priv ASN1Integer version

Constructor Detail

TimeStampReqback to summary
private TimeStampReq(ASN1Sequence seq)
TimeStampReqback to summary
public TimeStampReq(MessageImprint messageImprint, ASN1ObjectIdentifier tsaPolicy, ASN1Integer nonce, ASN1Boolean certReq, Extensions extensions)

Method Detail

getCertReqback to summary
public ASN1Boolean getCertReq()
getExtensionsback to summary
public Extensions getExtensions()
getInstanceback to summary
public static TimeStampReq getInstance(Object o)
getMessageImprintback to summary
public MessageImprint getMessageImprint()
getNonceback to summary
public ASN1Integer getNonce()
getReqPolicyback to summary
public ASN1ObjectIdentifier getReqPolicy()
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.

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
}
Returns:ASN1Primitive

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

a primitive representation of this object.