public class TimeStampReq
extends org.bouncycastle.asn1.ASN1Object
Constructor and 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) |
Modifier and Type | Method and 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
}
|
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)
public static TimeStampReq getInstance(java.lang.Object o)
public org.bouncycastle.asn1.ASN1Integer getVersion()
public MessageImprint getMessageImprint()
public org.bouncycastle.asn1.ASN1ObjectIdentifier getReqPolicy()
public org.bouncycastle.asn1.ASN1Integer getNonce()
public org.bouncycastle.asn1.ASN1Boolean getCertReq()
public org.bouncycastle.asn1.x509.Extensions getExtensions()
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 }
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object