PrivateKeySignaturepublic interface ExternalSignature
| Modifier and Type | Method | 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.GeneralSecurityExceptionCopyright © 1998–2018. All rights reserved.