C# Class SyrupPayJose.Jwa.Alg.Signature

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

Public Methods

Method Description
Sign ( byte key, byte src ) : byte[]
Signature ( int keyLength ) : System
Verify ( byte key, byte src, byte expected ) : void

Private Methods

Method Description
IsValidKeyLength ( byte key ) : void

Method Details

Sign() public abstract method

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

Signature() public method

public Signature ( int keyLength ) : System
keyLength int
return System

Verify() public abstract method

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