Class NoneAlgorithm
- Namespace
- JWT.Algorithms
- Assembly
- Coherence.JWT.dll
Implements the "None" algorithm.
public sealed class NoneAlgorithm : IJwtAlgorithm
- Inheritance
-
NoneAlgorithm
- Implements
- Extension Methods
Constructors
NoneAlgorithm()
public NoneAlgorithm()
Properties
HashAlgorithmName
Gets name of the hashing algorithm (e.g. SHA-256/SHA-384/SHA-512).
public HashAlgorithmName HashAlgorithmName { get; }
Property Value
Name
Gets algorithm name.
public string Name { get; }
Property Value
Methods
Sign(byte[], byte[])
Signs provided byte array with provided key.
public byte[] Sign(byte[] key, byte[] bytesToSign)
Parameters
Returns
- byte[]