|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuditEncryption
Method Summary | |
---|---|
byte[] |
decrypt(byte[] data,
java.security.Key key)
The decrypt operation takes a UTF-8 encoded String in the form of a byte[]. |
byte[] |
encrypt(byte[] data,
java.security.Key key)
The encrypt operation takes a UTF-8 encoded String in the form of a byte[]. |
void |
initialize(java.lang.String keyStoreName,
java.lang.String keyStorePath,
java.lang.String keyStoreType,
java.lang.String keyStoreProvider,
java.lang.String keyStorePassword,
java.lang.String keyAlias)
The initialize method initializes the AuditEncryption implementation
|
Method Detail |
---|
byte[] encrypt(byte[] data, java.security.Key key) throws com.ibm.wsspi.security.audit.AuditEncryptException
The encrypt
operation takes a UTF-8 encoded String in the form of a byte[].
The byte[] is generated from String.getBytes("UTF-8").
An encrypted byte[] is returned.
byte[]
- data to encryptjava.security.Key
- shared key
com.ibm.wsspi.security.audit.AuditEncryptException
byte[] decrypt(byte[] data, java.security.Key key) throws com.ibm.wsspi.security.audit.AuditDecryptException
The decrypt
operation takes a UTF-8 encoded String in the form of a byte[].
The byte[] is generated from String.getBytes("UTF-8").
A decrypted byte[] is returned.
byte[]
- data to decrypt
com.ibm.wsspi.security.audit.AuditDecryptException
void initialize(java.lang.String keyStoreName, java.lang.String keyStorePath, java.lang.String keyStoreType, java.lang.String keyStoreProvider, java.lang.String keyStorePassword, java.lang.String keyAlias) throws com.ibm.wsspi.security.audit.AuditEncryptException
The initialize
method initializes the AuditEncryption implementation
String
- representing the non-fully qualified keystore nameString
- representing the path to the keystoreString
- representing the keystore typeString
- representing the keystore providerString
- representing the password for the keystoreString
- representing the alias for the keystore entry
com.ibm.wsspi.security.audit.AuditEncryptException
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |