|
|
AdventNet Web NMS 4 API Specification
|
|
PREV CLASS
NEXT CLASS |
FRAMES
NO FRAMES |
|
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
com.adventnet.security.crypto
Interface CryptoGraphAPI
- public interface CryptoGraphAPI
This interface should be implemented to provide cryptogram support. This is
the interface that is published. The primary objective of CryptoGraph is
to make a secured channel in a network communication and also to secure
the storage of sensitive information.
|
Method Summary |
java.lang.String |
deCrypt(java.lang.String cipherText)
Method to decrypt the given cipher text. |
java.lang.String |
enCrypt(java.lang.String plainText)
Method to encrypt the given plain text. |
enCrypt
public java.lang.String enCrypt(java.lang.String plainText)
throws CryptoGraphException
- Method to encrypt the given plain text. Takes the plain text to be
encrypted as a argument and returns the cipher text.
- Parameters:
plainText - The plain text that is to be encrypted.- Returns:
- cipherText The cipher text of given plain text.
- Throws:
CryptoGraphException - in case of any problem while encryption.
deCrypt
public java.lang.String deCrypt(java.lang.String cipherText)
throws CryptoGraphException
- Method to decrypt the given cipher text. Takes cipher text to be
decrypted as a argument and returns the plain text.
- Parameters:
cipherText - The cipher text to be decrypted.- Returns:
- The plain text which is decrypted cipher text.
- Throws:
CryptoGraphException - in case of any probel while encryption.
|
|
AdventNet Web NMS 4 API Specification
|
|
PREV CLASS
NEXT CLASS |
FRAMES
NO FRAMES |
|
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |