C# 클래스 Renci.SshNet.Security.Cryptography.DsaDigitalSignature

Implements DSA digital signature algorithm.
상속: DigitalSignature, IDisposable
파일 보기 프로젝트 열기: sshnet/SSH.NET 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

DsaDigitalSignature ( DsaKey key ) : System

Initializes a new instance of the DsaDigitalSignature class.

Sign ( byte input ) : byte[]

Creates the signature.

Verify ( byte input, byte signature ) : bool

Verifies the signature.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

DsaDigitalSignature() 공개 메소드

Initializes a new instance of the DsaDigitalSignature class.
is null.
public DsaDigitalSignature ( DsaKey key ) : System
key DsaKey The DSA key.
리턴 System

Sign() 공개 메소드

Creates the signature.
Invalid DSA key.
public Sign ( byte input ) : byte[]
input byte The input.
리턴 byte[]

Verify() 공개 메소드

Verifies the signature.
Invalid signature.
public Verify ( byte input, byte signature ) : bool
input byte The input.
signature byte The signature.
리턴 bool