C# Class Granados.PKI.EDDSAPublicKey

EDDSA public key
Inheritance: PublicKey
Exibir arquivo Open project: poderosaproject/poderosa Class Usage Examples

Public Methods

Method Description
EDDSAPublicKey ( EdwardsCurve curve, byte publicKey ) : System

Constructor

Verify ( byte signature, byte data ) : void

Verifies signature with this public key

WriteTo ( IKeyWriter writer ) : void

Private Methods

Method Description
ReadFrom ( PublicKeyAlgorithm algorithm, Granados.IO.SSH2.SSH2DataReader reader ) : EDDSAPublicKey

Method Details

EDDSAPublicKey() public method

Constructor
public EDDSAPublicKey ( EdwardsCurve curve, byte publicKey ) : System
curve EdwardsCurve curve
publicKey byte public key
return System

Verify() public method

Verifies signature with this public key
verification failure
public Verify ( byte signature, byte data ) : void
signature byte signature
data byte data
return void

WriteTo() public method

public WriteTo ( IKeyWriter writer ) : void
writer IKeyWriter
return void