public class CMSSignedDataStreamEditor
extends java.lang.Object
| Constructor and Description |
|---|
CMSSignedDataStreamEditor() |
| Modifier and Type | Method and Description |
|---|---|
static java.io.OutputStream |
addDigestAlgorithm(java.io.OutputStream out,
java.io.InputStream original,
org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithm,
DigestAlgorithmIdentifierFinder digestAlgIdFinder,
DigestCalculatorProvider digestCalculatorProvider)
Add the specified digest algorithm to the signed data contained in the input stream and write
the updated signed data to the provided output stream.
|
static java.io.OutputStream |
addDigestAlgorithm(java.io.OutputStream out,
java.io.InputStream original,
org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithm,
DigestCalculatorProvider digestCalculatorProvider)
Add the specified digest algorithm to the signed data contained in the input stream and write
the updated signed data to the provided output stream.
|
public static java.io.OutputStream addDigestAlgorithm(java.io.OutputStream out,
java.io.InputStream original,
org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithm,
DigestAlgorithmIdentifierFinder digestAlgIdFinder,
DigestCalculatorProvider digestCalculatorProvider)
throws java.io.IOException,
CMSException
The output stream is returned unclosed.
out - the output stream where the updated signed data object will be written.original - the input stream containing the original signed data to be modified.digestAlgorithm - the digest algorithm to be added to the signed data.digestAlgIdFinder - the DigestAlgorithmIdentifierFinder used to create the digest sets.digestCalculatorProvider - the DigestCalculatorProvider used to compute the digests.java.io.IOExceptionCMSExceptionpublic static java.io.OutputStream addDigestAlgorithm(java.io.OutputStream out,
java.io.InputStream original,
org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlgorithm,
DigestCalculatorProvider digestCalculatorProvider)
throws java.io.IOException,
CMSException
The output stream is returned unclosed.
out - the output stream where the updated signed data object will be written.original - the input stream containing the original signed data to be modified.digestAlgorithm - the digest algorithm to be added to the signed data.java.io.IOExceptionCMSException