public interface ExternalSignature
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 it using the encryption algorithm in combination with the digest algorithm.
|
String getHashAlgorithm()
String getEncryptionAlgorithm()
byte[] sign(byte[] message) throws GeneralSecurityException
message
- the message you want to be hashed and signed
GeneralSecurityException
Copyright © 1998–2019. All rights reserved.