InitializeSupport, Encryptorpublic class DsaSigner extends InitializeObject implements Encryptor
mutex| Constructor | Description |
|---|---|
DsaSigner() |
|
DsaSigner(DsaDigester signer) |
| Modifier and Type | Method | Description |
|---|---|---|
DsaSigner |
copy() |
|
byte[] |
decrypt(byte[] message) |
|
void |
destroy() |
|
byte[] |
encrypt(byte[] message) |
|
protected void |
init() |
|
DsaSigner |
setSigner(DsaDigester signer) |
assertNotInitialized, initializeinitializepublic DsaSigner()
public DsaSigner(DsaDigester signer)
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 EncryptorCryptoExceptionpublic DsaSigner setSigner(DsaDigester signer)
Copyright © 2018. All rights reserved.