public interface IExternalSignature
Modifier and Type | Method and Description |
---|---|
String |
getEncryptionAlgorithm()
Returns the encryption algorithm used for signing.
|
String |
getHashAlgorithm()
Returns the hash algorithm.
|
byte[] |
sign(byte[] message)
Signs the given message using the encryption algorithm in combination with the hash algorithm.
|
String getHashAlgorithm()
String getEncryptionAlgorithm()
byte[] sign(byte[] message) throws GeneralSecurityException
message
- The message you want to be hashed and signed.
GeneralSecurityException
Copyright © 1998–2020 iText Group NV. All rights reserved.