public interface AuditSigning
Modifier and Type | Method and Description |
---|---|
void |
initialize(java.lang.String _signerKeyStoreName,
java.lang.String _signerKeyStoreScope,
java.lang.String _signerCertAlias)
The
initialize method initializes the AuditSigning implementation
|
byte[] |
sign(byte[] value,
java.security.Key key)
The
sign method signs the data with a key
|
boolean |
verify(byte[] data,
java.security.Key key)
The
verify method verifies the data is signed with a key
|
void initialize(java.lang.String _signerKeyStoreName, java.lang.String _signerKeyStoreScope, java.lang.String _signerCertAlias) throws com.ibm.wsspi.security.audit.AuditSignException
The initialize
method initializes the AuditSigning implementation
AuditSignException
byte[] sign(byte[] value, java.security.Key key) throws com.ibm.wsspi.security.audit.AuditSignException
The sign
method signs the data with a key
a
- byte array of data to be signedthe
- key used to sign the byte array of dataAuditSignException
boolean verify(byte[] data, java.security.Key key) throws com.ibm.wsspi.security.audit.AuditSignException
The verify
method verifies the data is signed with a key
a
- signed byte array of datathe
- key used to sign the byte array of dataAuditSignException