|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.common.util.crypto.NullCryptor
public class NullCryptor
Constructor Summary | |
---|---|
NullCryptor()
|
Method Summary | |
---|---|
byte[] |
decrypt(byte[] ciphertext)
Decrypt the ciphertext in byte array format to yield the original cleartext. |
java.lang.String |
decrypt(java.lang.String ciphertext)
Decrypt the ciphertext to yield the original cleartext. |
byte[] |
encrypt(byte[] cleartext)
Encrypt the cleartext in byte array format. |
java.lang.String |
encrypt(java.lang.String cleartext)
Encrypt the cleartext |
java.io.Serializable |
sealObject(java.io.Serializable object)
|
java.io.Serializable |
unsealObject(java.io.Serializable object)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullCryptor()
Method Detail |
---|
public byte[] encrypt(byte[] cleartext) throws CryptoException
Encryptor
encrypt
in interface Encryptor
cleartext
- The text to be encrypted, in byte form
CryptoException
public java.lang.String encrypt(java.lang.String cleartext) throws CryptoException
Encryptor
encrypt
in interface Encryptor
cleartext
- The text to be encrypted
CryptoException
public java.io.Serializable sealObject(java.io.Serializable object) throws CryptoException
sealObject
in interface Encryptor
CryptoException
public byte[] decrypt(byte[] ciphertext) throws CryptoException
Decryptor
decrypt
in interface Decryptor
ciphertext
- The text to be encrypted, in byte form
CryptoException
public java.lang.String decrypt(java.lang.String ciphertext) throws CryptoException
Decryptor
decrypt
in interface Decryptor
ciphertext
- The text to be encrypted
CryptoException
public java.io.Serializable unsealObject(java.io.Serializable object) throws CryptoException
unsealObject
in interface Decryptor
CryptoException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |