| Constructor and Description |
|---|
JcaTlsRSAPSSSigner(JcaTlsCrypto crypto,
java.security.PrivateKey privateKey,
int signatureScheme) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
generateRawSignature(SignatureAndHashAlgorithm algorithm,
byte[] hash)
Generate an encoded signature based on the passed in hash.
|
TlsStreamSigner |
getStreamSigner(SignatureAndHashAlgorithm algorithm) |
public JcaTlsRSAPSSSigner(JcaTlsCrypto crypto, java.security.PrivateKey privateKey, int signatureScheme)
public byte[] generateRawSignature(SignatureAndHashAlgorithm algorithm, byte[] hash) throws java.io.IOException
TlsSignergenerateRawSignature in interface TlsSigneralgorithm - the signature algorithm to use.hash - the hash calculated for the signature.java.io.IOException - in case of an exception processing the hash.public TlsStreamSigner getStreamSigner(SignatureAndHashAlgorithm algorithm) throws java.io.IOException
getStreamSigner in interface TlsSignerjava.io.IOException