C# Class SyrupPayJose.Jwa.Alg.HmacSha256Signature

Inheritance: Signature
Mostra file Open project: SKplanet/syruppay-csharp

Public Methods

Method Description
HmacSha256Signature ( int keyLength ) : System.Security.Cryptography
Sign ( byte key, byte src ) : byte[]
Verify ( byte key, byte src, byte expected ) : void

Method Details

HmacSha256Signature() public method

public HmacSha256Signature ( int keyLength ) : System.Security.Cryptography
keyLength int
return System.Security.Cryptography

Sign() public method

public Sign ( byte key, byte src ) : byte[]
key byte
src byte
return byte[]

Verify() public method

public Verify ( byte key, byte src, byte expected ) : void
key byte
src byte
expected byte
return void