public class Signer extends InitializeObject implements Encryptor
mutex| Constructor and Description |
|---|
Signer() |
Signer(Digester digester) |
Signer(Digester digester,
Encryptor encryptor) |
| Modifier and Type | Method and Description |
|---|---|
Signer |
copy() |
byte[] |
decrypt(byte[] message) |
void |
destroy() |
byte[] |
encrypt(byte[] message) |
protected void |
init() |
Signer |
setDigester(Digester digester) |
Signer |
setEncryptor(Encryptor encryptor) |
assertNotInitialized, initializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializepublic Signer()
public Signer(Digester digester)
protected void init()
throws Exception
init in class InitializeObjectExceptionpublic void destroy()
throws DestroyException
destroy in interface InitializeSupportdestroy in class InitializeObjectDestroyExceptionpublic byte[] encrypt(byte[] message)
throws CryptoException
encrypt in interface EncryptorCryptoExceptionpublic byte[] decrypt(byte[] message)
throws CryptoException
decrypt in interface EncryptorCryptoExceptionCopyright © 2019. All rights reserved.