| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final Digest | |
| private final DSA | |
| private final DSAOutputSigner. | |
| private final T | |
| private final boolean | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | DSAOutputSigner(DSA dsa, Digest digest, T parameter, DSAOutputSigner.
|
| pack-priv | DSAOutputSigner(boolean ready, DSA dsa, Digest digest, T parameter, DSAOutputSigner.
|
| Modifier and Type | Method and Description |
|---|---|
| private byte[] | |
| public T | getParameters()
Implements org. |
| public byte[] | getSignature()
Implements org. |
| public int | getSignature(byte[]
output array to write the signature to. output, int offset to start writing the signature at. off)Implements org. |
| public UpdateOutputStream | getSigningStream()
Implements org. |
| public DSAOutputSigner | withSecureRandom(SecureRandom
the SecureRandom to use. random)Implements org. |
| digest | back to summary |
|---|---|
| private final Digest digest | |
| dsa | back to summary |
|---|---|
| private final DSA dsa | |
| initializer | back to summary |
|---|---|
| private final DSAOutputSigner. | |
| parameter | back to summary |
|---|---|
| private final T parameter | |
| ready | back to summary |
|---|---|
| private final boolean ready | |
| reverse | back to summary |
|---|---|
| private final boolean reverse | |
| DSAOutputSigner | back to summary |
|---|---|
| pack-priv DSAOutputSigner(DSA dsa, Digest digest, T parameter, DSAOutputSigner. | |
| DSAOutputSigner | back to summary |
|---|---|
| pack-priv DSAOutputSigner(DSA dsa, Digest digest, T parameter, DSAOutputSigner. | |
| DSAOutputSigner | back to summary |
|---|---|
| pack-priv DSAOutputSigner(boolean ready, DSA dsa, Digest digest, T parameter, DSAOutputSigner. | |
| encode | back to summary |
|---|---|
| private byte[] encode(BigInteger[] rs) throws IOException | |
| getParameters | back to summary |
|---|---|
| public T getParameters() Implements org. Doc from org. Return the parameters for this output signer.
| |
| getSignature | back to summary |
|---|---|
| public byte[] getSignature() throws PlainInputProcessingException Implements org. Doc from org. Return the signature calculated on what has been written to the calculator's output stream.
| |
| getSignature | back to summary |
|---|---|
| public int getSignature(byte[] output, int off) throws PlainInputProcessingException Implements org. Doc from org. Output the signature value for what has been written to the signer's output stream.
| |
| getSigningStream | back to summary |
|---|---|
| public UpdateOutputStream getSigningStream() Implements org. Doc from org. Returns a stream that will accept data for the purpose of calculating a signature. Use org.bouncycastle.util.io.TeeOutputStream if you want to accumulate the data on the fly as well.
| |
| withSecureRandom | back to summary |
|---|---|
| public DSAOutputSigner Implements org. Doc from org. Return a variant of this signer using the passed in random as its source of randomness.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| initialize | back to summary |
|---|---|
| public void initialize(DSA signer, SecureRandom random) | |