public interface ExternalSignature
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEncryptionAlgorithm()
Returns the encryption algorithm used for signing.
|
java.lang.String |
getHashAlgorithm()
Returns the hash algorithm.
|
byte[] |
sign(byte[] message)
Signs it using the encryption algorithm in combination with
the digest algorithm.
|
java.lang.String getHashAlgorithm()
java.lang.String getEncryptionAlgorithm()
byte[] sign(byte[] message) throws java.security.GeneralSecurityException
message
- the message you want to be hashed and signedjava.security.GeneralSecurityException
Copyright © 2013. All Rights Reserved.