C# Class Granados.PKI.RSAPublicKey

Inheritance: PublicKey, IVerifier
Show file Open project: poderosaproject/poderosa Class Usage Examples

Public Methods

Method Description
RSAPublicKey ( BigInteger exp, BigInteger mod ) : System
Verify ( byte data, byte expected ) : void
VerifyWithSHA1 ( byte data, byte expected ) : void
WriteTo ( IKeyWriter writer ) : void

Private Methods

Method Description
ReadFrom ( Granados.IO.SSH2.SSH2DataReader reader ) : RSAPublicKey
VerifyBI ( byte data ) : BigInteger

Method Details

RSAPublicKey() public method

public RSAPublicKey ( BigInteger exp, BigInteger mod ) : System
exp Granados.Mono.Math.BigInteger
mod Granados.Mono.Math.BigInteger
return System

Verify() public method

public Verify ( byte data, byte expected ) : void
data byte
expected byte
return void

VerifyWithSHA1() public method

public VerifyWithSHA1 ( byte data, byte expected ) : void
data byte
expected byte
return void

WriteTo() public method

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