Interface SignatureOperatorFactory<T extends Parameters>

    • Method Detail

      • createSigner

        OutputSigner<T> createSigner​(AsymmetricPrivateKey key,
                                     T parameters)
        Create a signer which will create signatures against data written to its output stream.
        Parameters:
        key - the signing key to use.
        parameters - the parameters to use to initialize the signer.
        Returns:
        an OutputSigner.
      • createVerifier

        OutputVerifier<T> createVerifier​(AsymmetricPublicKey key,
                                         T parameters)
        Create a verifier which will verify signatures against data written to its output stream.
        Parameters:
        key - the verification key to use.
        parameters - the parameters to use to initialize the verifier.
        Returns:
        an OutputVerifier.