Package org.bouncycastle.tsp
Class TimeStampRequestGenerator
java.lang.Object
org.bouncycastle.tsp.TimeStampRequestGenerator
Generator for RFC 3161 Time Stamp Request objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtension(String OID, boolean critical, byte[] value) Deprecated.use method taking ASN1ObjectIdentifiervoidaddExtension(String OID, boolean critical, ASN1Encodable value) Deprecated.use method taking ASN1ObjectIdentifiervoidaddExtension(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.voidaddExtension(ASN1ObjectIdentifier oid, boolean isCritical, 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(ASN1ObjectIdentifier digestAlgorithm, byte[] digest) generate(ASN1ObjectIdentifier digestAlgorithm, byte[] digest, BigInteger nonce) generate(AlgorithmIdentifier digestAlgorithmID, byte[] digest) generate(AlgorithmIdentifier digestAlgorithmID, byte[] digest, BigInteger nonce) voidsetCertReq(boolean certReq) voidsetReqPolicy(String reqPolicy) Deprecated.use method taking ASN1ObjectIdentifiervoidsetReqPolicy(ASN1ObjectIdentifier reqPolicy)
-
Constructor Details
-
TimeStampRequestGenerator
public TimeStampRequestGenerator()
-
-
Method Details
-
setReqPolicy
Deprecated.use method taking ASN1ObjectIdentifier- Parameters:
reqPolicy-
-
setReqPolicy
-
setCertReq
public void setCertReq(boolean certReq) -
addExtension
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(ASN1ObjectIdentifier oid, boolean isCritical, ASN1Encodable value) throws TSPIOException add a given extension field for the standard extensions tag (tag 3)- Throws:
TSPIOException
-
addExtension
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
-
generate
public TimeStampRequest generate(ASN1ObjectIdentifier digestAlgorithm, byte[] digest, BigInteger nonce) -
generate
-
generate
public TimeStampRequest generate(AlgorithmIdentifier digestAlgorithmID, byte[] digest, BigInteger nonce)
-