Interface IJwtAlgorithm
- Namespace
- JWT.Algorithms
- Assembly
- Coherence.JWT.dll
Represents an algorithm to generate JWT signature.
public interface IJwtAlgorithm
- Extension Methods
Properties
HashAlgorithmName
Gets name of the hashing algorithm (e.g. SHA-256/SHA-384/SHA-512).
HashAlgorithmName HashAlgorithmName { get; }
Property Value
Name
Gets algorithm name.
string Name { get; }
Property Value
Methods
Sign(byte[], byte[])
Signs provided byte array with provided key.
byte[] Sign(byte[] key, byte[] bytesToSign)
Parameters
Returns
- byte[]