Copyright © 2002 SAP AG. All Rights Reserved.

com.sap.security.core.server.securestorage.remote
Interface RemoteSecureStorageClientContextInterface

All Known Implementing Classes:
RemoteSecureStorageClientContextImpl

public interface RemoteSecureStorageClientContextInterface


Method Summary
 byte[] base64Decoding(byte[] objectToDecod)
           
 byte[] base64Encoding(java.io.Serializable objectToEncode)
           
 java.lang.Object decrypt(SecureStorageObject objectToDecrypt)
           
 void deleteObject(java.lang.String objectID)
           
 SecureStorageObject encrypt(java.io.Serializable objectToEncrypt)
           
 boolean exist(java.lang.String objectID)
           
 void generateNewKey()
           
 java.lang.String[] getObjectIDs()
           
 boolean isSecure(java.lang.String objectID)
           
 byte[] retrieveBytes(java.lang.String objectID)
           
 java.lang.Object retrieveObject(java.lang.String objectID)
           
 void storeObject(java.io.Serializable object, java.lang.String objectID)
           
 

Method Detail

encrypt

public SecureStorageObject encrypt(java.io.Serializable objectToEncrypt)
                            throws ObjectRetrievalException,
                                   ObjectEncryptionException,
                                   java.rmi.RemoteException

base64Encoding

public byte[] base64Encoding(java.io.Serializable objectToEncode)
                      throws ObjectEncryptionException

decrypt

public java.lang.Object decrypt(SecureStorageObject objectToDecrypt)
                         throws ObjectDecryptionException,
                                java.rmi.RemoteException

storeObject

public void storeObject(java.io.Serializable object,
                        java.lang.String objectID)
                 throws ObjectStorageException,
                        java.rmi.RemoteException

base64Decoding

public byte[] base64Decoding(byte[] objectToDecod)
                      throws ObjectDecryptionException

generateNewKey

public void generateNewKey()
                    throws KeyGenerationException

deleteObject

public void deleteObject(java.lang.String objectID)
                  throws ObjectDeletionException,
                         java.rmi.RemoteException

retrieveObject

public java.lang.Object retrieveObject(java.lang.String objectID)
                                throws ObjectRetrievalException,
                                       java.rmi.RemoteException

retrieveBytes

public byte[] retrieveBytes(java.lang.String objectID)
                     throws ObjectRetrievalException,
                            java.rmi.RemoteException

getObjectIDs

public java.lang.String[] getObjectIDs()
                                throws StorageLocationOpenException,
                                       ObjectRetrievalException,
                                       java.rmi.RemoteException

exist

public boolean exist(java.lang.String objectID)
              throws SecureStorageException

isSecure

public boolean isSecure(java.lang.String objectID)
                 throws ObjectModificationException

Copyright © 2002 SAP AG. All Rights Reserved.