|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectRemoteSecureStorageSuperContextImpl
com.sap.security.core.server.securestorage.remote.RemoteSecureStorageClientContextImpl
| Constructor Summary | |
RemoteSecureStorageClientContextImpl(com.sap.engine.frame.core.configuration.ConfigurationHandler secureStorageConfigurationHandler,
Object mySyncObject,
com.sap.engine.frame.ApplicationServiceContext serviceContext)
Creates a SecureStorageClient object for the specified client of the securestorage-service |
|
RemoteSecureStorageClientContextImpl(String clientExt,
com.sap.engine.frame.core.configuration.ConfigurationHandler secureStorageConfigurationHandler,
Object mySyncObject,
com.sap.engine.frame.ApplicationServiceContext serviceContext)
|
|
RemoteSecureStorageClientContextImpl(String clientID,
int clientType,
com.sap.engine.frame.core.configuration.ConfigurationHandler secureStorageConfigurationHandler,
com.sap.engine.frame.ApplicationServiceContext serviceContext)
|
|
| Method Summary | |
byte[] |
base64Decoding(byte[] objectToDecod)
|
byte[] |
base64Encoding(Serializable objectToEncode)
|
void |
close()
|
void |
commit()
commits all datas of the actual ConfigurationHandler to database |
Object |
decrypt(SecureStorageObject objectToDecrypt)
Decrypts a given SecureStorageObject and returns the original object |
byte[] |
decryptReturnBytes(SecureStorageObject objectToDecrypt)
|
void |
deleteObject(String objectID)
Deletes an object in the SecureStorage |
SecureStorageObject |
encrypt(Serializable objectToEncrypt)
Encrypts the given object and returns a SecureStorageObject |
boolean |
exist(String objectID)
|
protected void |
finalize()
|
void |
generateNewKey()
Generates a new secret key for clientapplication |
String[] |
getObjectIDs()
Returns a list of all central stored objects |
boolean |
isSecure(String objectID)
|
SecureStorageObject[] |
reEncrypt(SecureStorageObject[] objectsToReEncrypt)
Re-encrypts an array of already encrypted SecureStorageObjects with the latest key |
byte[] |
retrieveBytes(String objectID)
|
Object |
retrieveObject(String objectID)
Retrieves a central stored object |
void |
run()
|
void |
storeObject(Serializable object,
String objectID)
Stores a given object in the SecureStorage under the given objectID |
void |
storeObjectWithoutCommit(Serializable object,
String objectID)
Stores a given object in the SecureStorage under the given objectID. |
void |
updateObject(Serializable object,
String objectID)
|
void |
updateObjectWithoutCommit(Serializable object,
String objectID)
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RemoteSecureStorageClientContextImpl(com.sap.engine.frame.core.configuration.ConfigurationHandler secureStorageConfigurationHandler,
Object mySyncObject,
com.sap.engine.frame.ApplicationServiceContext serviceContext)
throws RemoteException
secureStorageConfigurationHandler -
public RemoteSecureStorageClientContextImpl(String clientExt,
com.sap.engine.frame.core.configuration.ConfigurationHandler secureStorageConfigurationHandler,
Object mySyncObject,
com.sap.engine.frame.ApplicationServiceContext serviceContext)
throws RemoteException
public RemoteSecureStorageClientContextImpl(String clientID,
int clientType,
com.sap.engine.frame.core.configuration.ConfigurationHandler secureStorageConfigurationHandler,
com.sap.engine.frame.ApplicationServiceContext serviceContext)
throws RemoteException
| Method Detail |
public SecureStorageObject encrypt(Serializable objectToEncrypt)
throws ObjectEncryptionException
encrypt in interface RemoteSecureStorageClientContextInterfaceobjectToEncrypt -
ObjectEncryptionException
public byte[] base64Encoding(Serializable objectToEncode)
throws ObjectEncryptionException
base64Encoding in interface RemoteSecureStorageClientContextInterfaceObjectEncryptionException
public SecureStorageObject[] reEncrypt(SecureStorageObject[] objectsToReEncrypt)
throws ObjectEncryptionException
objectsToReEncrypt -
ObjectEncryptionException
public Object decrypt(SecureStorageObject objectToDecrypt)
throws ObjectDecryptionException
decrypt in interface RemoteSecureStorageClientContextInterfaceobjectToDecrypt -
ObjectDecryptionException
public byte[] decryptReturnBytes(SecureStorageObject objectToDecrypt)
throws ObjectDecryptionException
ObjectDecryptionException
public byte[] base64Decoding(byte[] objectToDecod)
throws ObjectDecryptionException
base64Decoding in interface RemoteSecureStorageClientContextInterfaceObjectDecryptionException
public void commit()
throws ObjectModificationException
commit in interface RemoteSecureStorageClientContextInterfaceObjectModificationExceptionpublic void close()
close in interface RemoteSecureStorageClientContextInterface
public void storeObjectWithoutCommit(Serializable object,
String objectID)
throws ObjectStorageException
storeObjectWithoutCommit in interface RemoteSecureStorageClientContextInterfaceobject - objectID -
ObjectStorageException
public void storeObject(Serializable object,
String objectID)
throws ObjectStorageException
storeObject in interface RemoteSecureStorageClientContextInterfaceobject - objectID -
ObjectStorageException
public void generateNewKey()
throws KeyGenerationException
generateNewKey in interface RemoteSecureStorageClientContextInterfaceKeyGenerationException
public void deleteObject(String objectID)
throws ObjectDeletionException
deleteObject in interface RemoteSecureStorageClientContextInterfaceobjectID -
ObjectDeletionException
public Object retrieveObject(String objectID)
throws ObjectRetrievalException
retrieveObject in interface RemoteSecureStorageClientContextInterfaceobjectID -
ObjectRetrievalException
public byte[] retrieveBytes(String objectID)
throws ObjectRetrievalException
retrieveBytes in interface RemoteSecureStorageClientContextInterfaceObjectRetrievalException
public String[] getObjectIDs()
throws StorageLocationOpenException,
ObjectRetrievalException
getObjectIDs in interface RemoteSecureStorageClientContextInterfaceStorageLocationOpenException
ObjectRetrievalException
public void updateObjectWithoutCommit(Serializable object,
String objectID)
throws ObjectModificationException
updateObjectWithoutCommit in interface RemoteSecureStorageClientContextInterfaceObjectModificationException
public void updateObject(Serializable object,
String objectID)
throws SecureStorageException
updateObject in interface RemoteSecureStorageClientContextInterfaceSecureStorageException
public boolean exist(String objectID)
throws SecureStorageException
exist in interface RemoteSecureStorageClientContextInterfaceSecureStorageException
public boolean isSecure(String objectID)
throws ObjectModificationException
isSecure in interface RemoteSecureStorageClientContextInterfaceObjectModificationException
protected void finalize()
throws Throwable
Throwablepublic void run()
run in interface Runnable
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||