C# 클래스 Granados.PKI.ECDSAPublicKey

Elliptic curve cryptography public key
상속: PublicKey, IVerifier
파일 보기 프로젝트 열기: poderosaproject/poderosa 1 사용 예제들

공개 메소드들

메소드 설명
ECDSAPublicKey ( EllipticCurve curve, ECPoint point ) : Granados.Crypto
IsValid ( ) : bool

Check public key

ToOctetString ( ) : byte[]

Convert a point of public key to an octet string.

Verify ( byte data, byte expected ) : void
WriteTo ( IKeyWriter writer ) : void

비공개 메소드들

메소드 설명
ExtractLeftBits ( byte src, int bits ) : byte[]
HashForSigning ( byte data, EllipticCurve curve ) : byte[]

Hash data for signing

ReadFrom ( Granados.IO.SSH2.SSH2DataReader reader ) : ECDSAPublicKey

메소드 상세

ECDSAPublicKey() 공개 메소드

public ECDSAPublicKey ( EllipticCurve curve, ECPoint point ) : Granados.Crypto
curve EllipticCurve
point ECPoint
리턴 Granados.Crypto

IsValid() 공개 메소드

Check public key
public IsValid ( ) : bool
리턴 bool

ToOctetString() 공개 메소드

Convert a point of public key to an octet string.
public ToOctetString ( ) : byte[]
리턴 byte[]

Verify() 공개 메소드

public Verify ( byte data, byte expected ) : void
data byte
expected byte
리턴 void

WriteTo() 공개 메소드

public WriteTo ( IKeyWriter writer ) : void
writer IKeyWriter
리턴 void