ContentSigner
public class BufferingContentSigner extends java.lang.Object implements ContentSigner
Constructor | Description |
---|---|
BufferingContentSigner(ContentSigner contentSigner) |
Base constructor.
|
BufferingContentSigner(ContentSigner contentSigner,
int bufferSize) |
Base constructor.
|
Modifier and Type | Method | Description |
---|---|---|
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getAlgorithmIdentifier() |
Return the algorithm identifier supported by this signer.
|
java.io.OutputStream |
getOutputStream() |
Return the buffering stream.
|
byte[] |
getSignature() |
Generate signature from internally buffered data.
|
public BufferingContentSigner(ContentSigner contentSigner)
contentSigner
- the content signer to be wrapped.public BufferingContentSigner(ContentSigner contentSigner, int bufferSize)
contentSigner
- the content signer to be wrapped.bufferSize
- the size of the internal buffer to use.public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()
getAlgorithmIdentifier
in interface ContentSigner
public java.io.OutputStream getOutputStream()
getOutputStream
in interface ContentSigner
public byte[] getSignature()
getSignature
in interface ContentSigner