org.tolven.security
Interface AccountProcessingProtectionRemote

All Known Implementing Classes:
AccountProcessingProtectionBean

public interface AccountProcessingProtectionRemote

This interface protects the DocBase by handling its encryption and decryption.

Author:
Joseph Isaac

Method Summary
 TolvenMessage getAsEncryptedTolvenMessage(byte[] unencryptedContent, TolvenMessage tm)
           
 void setAsEncryptedContent(byte[] unencryptedContent, TolvenMessage tm)
           
 

Method Detail

setAsEncryptedContent

void setAsEncryptedContent(byte[] unencryptedContent,
                           TolvenMessage tm)
                           throws javax.security.auth.login.LoginException,
                                  java.security.GeneralSecurityException,
                                  java.io.IOException
Throws:
javax.security.auth.login.LoginException
java.security.GeneralSecurityException
java.io.IOException

getAsEncryptedTolvenMessage

TolvenMessage getAsEncryptedTolvenMessage(byte[] unencryptedContent,
                                          TolvenMessage tm)
                                          throws javax.security.auth.login.LoginException,
                                                 java.security.GeneralSecurityException,
                                                 java.io.IOException
Throws:
javax.security.auth.login.LoginException
java.security.GeneralSecurityException
java.io.IOException