Interface NTokenGenerator.Signer

Enclosing class:
NTokenGenerator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface NTokenGenerator.Signer
  • Method Summary

    Modifier and Type
    Method
    Description
    sign(String message, PrivateKey key)
     
  • Method Details

    • sign

      String sign(String message, PrivateKey key) throws com.yahoo.athenz.auth.util.CryptoException
      Throws:
      com.yahoo.athenz.auth.util.CryptoException
      See Also:
      • Crypto.sign(String, PrivateKey)