public interface IExternalSignature
| Modifier and Type | Method and Description |
|---|---|
String |
getDigestAlgorithmName()
Returns the digest algorithm.
|
String |
getSignatureAlgorithmName()
Returns the signature algorithm used for signing, disregarding the digest function.
|
ISignatureMechanismParams |
getSignatureMechanismParameters()
Return the algorithm parameters that need to be encoded together with the signature mechanism identifier.
|
byte[] |
sign(byte[] message)
Signs the given message using the encryption algorithm in combination
with the hash algorithm.
|
String getDigestAlgorithmName()
String getSignatureAlgorithmName()
ISignatureMechanismParams getSignatureMechanismParameters()
RSASSAPSSMechanismParams.byte[] sign(byte[] message)
throws GeneralSecurityException
message - The message you want to be hashed and signed.GeneralSecurityException - when requested cryptographic algorithm or security provider
is not availableCopyright © 1998–2023 Apryse Group NV. All rights reserved.