public class OutputStreamFactory extends Object
Constructor and Description |
---|
OutputStreamFactory() |
Modifier and Type | Method and Description |
---|---|
static OutputStream |
createStream(Mac mac)
Create an OutputStream that wraps a mac.
|
static OutputStream |
createStream(MessageDigest digest)
Create an OutputStream that wraps a digest.
|
static OutputStream |
createStream(Signature signature)
Create an OutputStream that wraps a signature.
|
public static OutputStream createStream(Signature signature)
signature
- the signature to be updated as the stream is written to.public static OutputStream createStream(MessageDigest digest)
digest
- the digest to be updated as the stream is written to.public static OutputStream createStream(Mac mac)
mac
- the signature to be updated as the stream is written to.Copyright © 2020 BouncyCastle.org. All rights reserved.