public class TimeStampReq extends ASN1Encodable
BER, DER
Constructor and Description |
---|
TimeStampReq(ASN1Sequence seq) |
TimeStampReq(MessageImprint messageImprint,
DERObjectIdentifier tsaPolicy,
DERInteger nonce,
DERBoolean certReq,
X509Extensions extensions) |
Modifier and Type | Method and Description |
---|---|
DERBoolean |
getCertReq() |
X509Extensions |
getExtensions() |
static TimeStampReq |
getInstance(Object o) |
MessageImprint |
getMessageImprint() |
DERInteger |
getNonce() |
DERObjectIdentifier |
getReqPolicy() |
DERInteger |
getVersion() |
DERObject |
toASN1Object()
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
}
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public TimeStampReq(ASN1Sequence seq)
public TimeStampReq(MessageImprint messageImprint, DERObjectIdentifier tsaPolicy, DERInteger nonce, DERBoolean certReq, X509Extensions extensions)
public static TimeStampReq getInstance(Object o)
public DERInteger getVersion()
public MessageImprint getMessageImprint()
public DERObjectIdentifier getReqPolicy()
public DERInteger getNonce()
public DERBoolean getCertReq()
public X509Extensions getExtensions()
public DERObject toASN1Object()
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 }
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.