C# 클래스 BaseCipherSuitePlugin.SignatureAlgorithmDSA

상속: SignatureAlgorithm
파일 보기 프로젝트 열기: juhovh/AaltoTLS 1 사용 예제들

공개 메소드들

메소드 설명
ImportPrivateKey ( byte keyData ) : AaltoTLS.PluginInterface.CertificatePrivateKey
SignData ( ProtocolVersion version, byte data, HashAlgorithm hashAlgorithm, AaltoTLS.PluginInterface.CertificatePrivateKey privateKey ) : byte[]
SupportsHashAlgorithmType ( byte hashAlgorithm ) : bool
SupportsProtocolVersion ( ProtocolVersion version ) : bool
VerifyData ( ProtocolVersion version, byte data, HashAlgorithm hashAlgorithm, CertificatePublicKey publicKey, byte signature ) : bool
VerifyData ( byte buffer, DSACryptoServiceProvider dsaKey, byte signature ) : bool

비공개 메소드들

메소드 설명
DERDecodeSignature ( byte data ) : byte[]
DERDecodeVector ( byte input, int idx, int &consumed ) : byte[]
DEREncodeSignature ( byte signature ) : byte[]
DEREncodeVector ( byte vector, int idx1, int length, byte output, int idx2 ) : void

메소드 상세

ImportPrivateKey() 공개 메소드

public ImportPrivateKey ( byte keyData ) : AaltoTLS.PluginInterface.CertificatePrivateKey
keyData byte
리턴 AaltoTLS.PluginInterface.CertificatePrivateKey

SignData() 공개 메소드

public SignData ( ProtocolVersion version, byte data, HashAlgorithm hashAlgorithm, AaltoTLS.PluginInterface.CertificatePrivateKey privateKey ) : byte[]
version AaltoTLS.PluginInterface.ProtocolVersion
data byte
hashAlgorithm System.Security.Cryptography.HashAlgorithm
privateKey AaltoTLS.PluginInterface.CertificatePrivateKey
리턴 byte[]

SupportsHashAlgorithmType() 공개 메소드

public SupportsHashAlgorithmType ( byte hashAlgorithm ) : bool
hashAlgorithm byte
리턴 bool

SupportsProtocolVersion() 공개 메소드

public SupportsProtocolVersion ( ProtocolVersion version ) : bool
version AaltoTLS.PluginInterface.ProtocolVersion
리턴 bool

VerifyData() 공개 메소드

public VerifyData ( ProtocolVersion version, byte data, HashAlgorithm hashAlgorithm, CertificatePublicKey publicKey, byte signature ) : bool
version AaltoTLS.PluginInterface.ProtocolVersion
data byte
hashAlgorithm System.Security.Cryptography.HashAlgorithm
publicKey CertificatePublicKey
signature byte
리턴 bool

VerifyData() 공개 메소드

public VerifyData ( byte buffer, DSACryptoServiceProvider dsaKey, byte signature ) : bool
buffer byte
dsaKey System.Security.Cryptography.DSACryptoServiceProvider
signature byte
리턴 bool