public class TimeStampRequestGenerator
extends java.lang.Object
Constructor and Description |
---|
TimeStampRequestGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
boolean isCritical,
org.bouncycastle.asn1.ASN1Encodable value)
add a given extension field for the standard extensions tag (tag 3)
|
void |
addExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
boolean isCritical,
byte[] value)
add a given extension field for the standard extensions tag
The value parameter becomes the contents of the octet string associated
with the extension.
|
TimeStampRequest |
generate(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmID,
byte[] digest) |
TimeStampRequest |
generate(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmID,
byte[] digest,
java.math.BigInteger nonce) |
TimeStampRequest |
generate(org.bouncycastle.asn1.ASN1ObjectIdentifier digestAlgorithm,
byte[] digest) |
TimeStampRequest |
generate(org.bouncycastle.asn1.ASN1ObjectIdentifier digestAlgorithm,
byte[] digest,
java.math.BigInteger nonce) |
void |
setCertReq(boolean certReq) |
void |
setReqPolicy(org.bouncycastle.asn1.ASN1ObjectIdentifier reqPolicy) |
public void setReqPolicy(org.bouncycastle.asn1.ASN1ObjectIdentifier reqPolicy)
public void setCertReq(boolean certReq)
public void addExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, boolean isCritical, org.bouncycastle.asn1.ASN1Encodable value) throws TSPIOException
TSPIOException
public void addExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, boolean isCritical, byte[] value)
public TimeStampRequest generate(org.bouncycastle.asn1.ASN1ObjectIdentifier digestAlgorithm, byte[] digest)
public TimeStampRequest generate(org.bouncycastle.asn1.ASN1ObjectIdentifier digestAlgorithm, byte[] digest, java.math.BigInteger nonce)
public TimeStampRequest generate(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmID, byte[] digest)
public TimeStampRequest generate(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmID, byte[] digest, java.math.BigInteger nonce)