Interface SignatureProvider

All Known Implementing Classes:
EC256SignatureProviderImpl, Ed25519SignatureProviderImpl, PS256SIgnatureProviderImpl, RS256SignatureProviderImpl

public interface SignatureProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    sign(PrivateKey privateKey, byte[] signData, String providerName)
    perform Signature for the inputed Data using the provided key.
  • Method Details

    • sign

      String sign(PrivateKey privateKey, byte[] signData, String providerName)
      perform Signature for the inputed Data using the provided key.
      Returns:
      the String - signed data in Base64URLEncode