C# Class libaxolotl.ecc.impl.Curve25519NativeProvider

Inheritance: ICurve25519Provider
ファイルを表示 Open project: kwailo888/AxolotlTestApp

Public Methods

Method Description
calculateAgreement ( byte ourPrivate, byte theirPublic ) : byte[]
calculateSignature ( byte random, byte privateKey, byte message ) : byte[]
generatePrivateKey ( byte random ) : byte[]
generatePublicKey ( byte privateKey ) : byte[]
isNative ( ) : bool
verifySignature ( byte publicKey, byte message, byte signature ) : bool

Method Details

calculateAgreement() public method

public calculateAgreement ( byte ourPrivate, byte theirPublic ) : byte[]
ourPrivate byte
theirPublic byte
return byte[]

calculateSignature() public method

public calculateSignature ( byte random, byte privateKey, byte message ) : byte[]
random byte
privateKey byte
message byte
return byte[]

generatePrivateKey() public method

public generatePrivateKey ( byte random ) : byte[]
random byte
return byte[]

generatePublicKey() public method

public generatePublicKey ( byte privateKey ) : byte[]
privateKey byte
return byte[]

isNative() public method

public isNative ( ) : bool
return bool

verifySignature() public method

public verifySignature ( byte publicKey, byte message, byte signature ) : bool
publicKey byte
message byte
signature byte
return bool