Package org.bouncycastle.tsp
Class TimeStampRequestGenerator
java.lang.Object
org.bouncycastle.tsp.TimeStampRequestGenerator
Generator for RFC 3161 Time Stamp Request objects.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtension
(String OID, boolean critical, byte[] value) Deprecated.use method taking ASN1ObjectIdentifiervoid
addExtension
(String OID, boolean critical, org.bouncycastle.asn1.ASN1Encodable value) Deprecated.use method taking ASN1ObjectIdentifiervoid
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.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)Deprecated.use method taking ANS1ObjectIdentifiergenerate
(String digestAlgorithmOID, byte[] digest, BigInteger nonce) Deprecated.use method taking ANS1ObjectIdentifiergenerate
(org.bouncycastle.asn1.ASN1ObjectIdentifier digestAlgorithm, byte[] digest) generate
(org.bouncycastle.asn1.ASN1ObjectIdentifier digestAlgorithm, byte[] digest, BigInteger nonce) generate
(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmID, byte[] digest) generate
(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmID, byte[] digest, BigInteger nonce) void
setCertReq
(boolean certReq) void
setReqPolicy
(String reqPolicy) Deprecated.use method taking ASN1ObjectIdentifiervoid
setReqPolicy
(org.bouncycastle.asn1.ASN1ObjectIdentifier reqPolicy)
-
Constructor Details
-
TimeStampRequestGenerator
public TimeStampRequestGenerator()
-
-
Method Details
-
setReqPolicy
Deprecated.use method taking ASN1ObjectIdentifier- Parameters:
reqPolicy
-
-
setReqPolicy
public void setReqPolicy(org.bouncycastle.asn1.ASN1ObjectIdentifier reqPolicy) -
setCertReq
public void setCertReq(boolean certReq) -
addExtension
public void addExtension(String OID, boolean critical, org.bouncycastle.asn1.ASN1Encodable value) throws IOException Deprecated.use method taking ASN1ObjectIdentifieradd a given extension field for the standard extensions tag (tag 3)- Throws:
IOException
-
addExtension
Deprecated.use method taking ASN1ObjectIdentifieradd a given extension field for the standard extensions tag The value parameter becomes the contents of the octet string associated with the extension. -
addExtension
public void addExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, boolean isCritical, org.bouncycastle.asn1.ASN1Encodable value) throws TSPIOException add a given extension field for the standard extensions tag (tag 3)- Throws:
TSPIOException
-
addExtension
public 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. -
generate
Deprecated.use method taking ANS1ObjectIdentifier -
generate
Deprecated.use method taking ANS1ObjectIdentifier -
generate
public TimeStampRequest generate(org.bouncycastle.asn1.ASN1ObjectIdentifier digestAlgorithm, byte[] digest) -
generate
public TimeStampRequest generate(org.bouncycastle.asn1.ASN1ObjectIdentifier digestAlgorithm, byte[] digest, BigInteger nonce) -
generate
public TimeStampRequest generate(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmID, byte[] digest) -
generate
public TimeStampRequest generate(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithmID, byte[] digest, BigInteger nonce)
-