| Modifier and Type | Field and Description |
|---|---|
| private final ContentSigner | |
| private final OutputStream |
| Access | Constructor and Description |
|---|---|
| public | BufferingContentSigner(ContentSigner
the content signer to be wrapped. contentSigner)Base constructor. |
| public | BufferingContentSigner(ContentSigner
the content signer to be wrapped. contentSigner, int the size of the internal buffer to use. bufferSize)Base constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public AlgorithmIdentifier | Returns: algorithm identifier for the signature generated.Implements org. Return the algorithm identifier supported by this signer. |
| public AlgorithmIdentifier | Returns: algorithm oid and parameters, null otherwise.Implements org. Return the algorithm identifier describing the digest algorithm used by this signature algorithm, if known. |
| public OutputStream | Returns: the output stream used to accumulate the data.Implements org. Return the buffering stream. |
| public byte[] | Returns: the signature calculated from the bytes written to the buffering stream.Implements org. Generate signature from internally buffered data. |
| contentSigner | back to summary |
|---|---|
| private final ContentSigner contentSigner | |
| output | back to summary |
|---|---|
| private final OutputStream output | |
| BufferingContentSigner | back to summary |
|---|---|
| public BufferingContentSigner(ContentSigner contentSigner) Base constructor.
| |
| BufferingContentSigner | back to summary |
|---|---|
| public BufferingContentSigner(ContentSigner contentSigner, int bufferSize) Base constructor.
| |
| getAlgorithmIdentifier | back to summary |
|---|---|
| public AlgorithmIdentifier getAlgorithmIdentifier() Implements org. Return the algorithm identifier supported by this signer.
| |
| getDigestAlgorithmIdentifier | back to summary |
|---|---|
| public AlgorithmIdentifier getDigestAlgorithmIdentifier() Implements org. Return the algorithm identifier describing the digest algorithm used by this signature algorithm, if known.
| |
| getOutputStream | back to summary |
|---|---|
| public OutputStream getOutputStream() Implements org. Return the buffering stream.
| |
| getSignature | back to summary |
|---|---|
| public byte[] getSignature() Implements org. Generate signature from internally buffered data.
| |