com.ibm.wsspi.security.audit

Interface AuditSigning



  • public interface AuditSigning
    • Method Summary

      Methods 
      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
    • Method Detail

      • initialize

        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

        Throws:
        AuditSignException
      • sign

        byte[] sign(byte[] value,
                  java.security.Key key)
                    throws com.ibm.wsspi.security.audit.AuditSignException

        The sign method signs the data with a key

        Parameters:
        a - byte array of data to be signed
        the - key used to sign the byte array of data
        Throws:
        AuditSignException
      • verify

        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

        Parameters:
        a - signed byte array of data
        the - key used to sign the byte array of data
        Throws:
        AuditSignException
IBM WebSphere Application ServerTM
Release 8.5