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