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