Interface V1PublicCryptoProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default byte[] nonce​(byte[] payload, byte[] randomBytes)  
      byte[] sign​(byte[] payload, byte[] footer, java.security.PrivateKey privateKey)  
      boolean verify​(byte[] message, byte[] footer, byte[] signature, java.security.PublicKey publicKey)  
    • Method Detail

      • nonce

        default byte[] nonce​(byte[] payload,
                             byte[] randomBytes)
      • sign

        byte[] sign​(byte[] payload,
                    byte[] footer,
                    java.security.PrivateKey privateKey)
      • verify

        boolean verify​(byte[] message,
                       byte[] footer,
                       byte[] signature,
                       java.security.PublicKey publicKey)