Class SignatureUtils

java.lang.Object
com.yahoo.security.SignatureUtils

public class SignatureUtils extends Object
Misc signature utils
Author:
bjorncs
  • Constructor Details

    • SignatureUtils

      public SignatureUtils()
  • Method Details

    • createSigner

      public static Signature createSigner(PrivateKey key, SignatureAlgorithm algorithm)
      Returns a signature instance which computes a hash of its content, before signing with the given private key.
    • createSigner

      public static Signature createSigner(PrivateKey key)
      Returns a signature instance which computes a hash of its content, before signing with the given private key.
    • createVerifier

      public static Signature createVerifier(PublicKey key, SignatureAlgorithm algorithm)
      Returns a signature instance which computes a hash of its content, before verifying with the given public key.
    • createVerifier

      public static Signature createVerifier(PublicKey key)
      Returns a signature instance which computes a hash of its content, before verifying with the given public key.