public class DsaSigner extends InitializeObject implements Encryptor
mutex| Constructor and Description |
|---|
DsaSigner() |
DsaSigner(DsaDigester signer) |
| Modifier and Type | Method and Description |
|---|---|
DsaSigner |
copy() |
byte[] |
decrypt(byte[] message) |
void |
destroy() |
byte[] |
encrypt(byte[] message) |
protected void |
init() |
DsaSigner |
setSigner(DsaDigester signer) |
assertNotInitialized, initializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializepublic 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 © 2017. All rights reserved.