Interface TlsCredentialedSigner

    • Method Detail

      • generateRawSignature

        byte[] generateRawSignature​(byte[] hash)
                             throws java.io.IOException
        Generate a signature against the passed in hash.
        Parameters:
        hash - a message digest calculated across the message the signature is to apply to.
        Returns:
        an encoded signature.
        Throws:
        java.io.IOException - if the hash cannot be processed, or there is an issue with the private credentials.
      • getSignatureAndHashAlgorithm

        SignatureAndHashAlgorithm getSignatureAndHashAlgorithm()
        Return the algorithm IDs for the signature algorithm and the associated hash it uses.
        Returns:
        the full algorithm details for the signature.
      • getStreamSigner

        TlsStreamSigner getStreamSigner()
                                 throws java.io.IOException
        Throws:
        java.io.IOException