C# Class Library.Security.Rsa2048_Sha256

Datei anzeigen Open project: Alliance-Network/Library Class Usage Examples

Public Methods

Method Description
CreateKeys ( byte &publicKey, byte &privateKey ) : void
Sign ( byte privateKey, Stream stream ) : byte[]
Verify ( byte publicKey, byte signature, Stream stream ) : bool

Method Details

CreateKeys() public static method

public static CreateKeys ( byte &publicKey, byte &privateKey ) : void
publicKey byte
privateKey byte
return void

Sign() public static method

public static Sign ( byte privateKey, Stream stream ) : byte[]
privateKey byte
stream Stream
return byte[]

Verify() public static method

public static Verify ( byte publicKey, byte signature, Stream stream ) : bool
publicKey byte
signature byte
stream Stream
return bool