public interface TlsCredentialedSigner extends TlsCredentials
| Modifier and Type | Method and Description |
|---|---|
byte[] |
generateRawSignature(byte[] hash)
Generate a signature against the passed in hash.
|
SignatureAndHashAlgorithm |
getSignatureAndHashAlgorithm()
Return the algorithm IDs for the signature algorithm and the associated hash it uses.
|
TlsStreamSigner |
getStreamSigner() |
getCertificatebyte[] generateRawSignature(byte[] hash)
throws java.io.IOException
hash - a message digest calculated across the message the signature is to apply to.java.io.IOException - if the hash cannot be processed, or there is an issue with the private credentials.SignatureAndHashAlgorithm getSignatureAndHashAlgorithm()
TlsStreamSigner getStreamSigner() throws java.io.IOException
java.io.IOException