C# Class System.Security.Cryptography.AsymmetricSignatureDeformatter

显示文件 Open project: runefs/Marvin Class Usage Examples

Public Methods

Method Description
SetHashAlgorithm ( string strName ) : void
SetKey ( AsymmetricAlgorithm key ) : void
VerifySignature ( HashAlgorithm hash, byte rgbSignature ) : bool
VerifySignature ( byte rgbHash, byte rgbSignature ) : bool

Protected Methods

Method Description
AsymmetricSignatureDeformatter ( ) : System.Runtime.InteropServices

Method Details

AsymmetricSignatureDeformatter() protected method

protected AsymmetricSignatureDeformatter ( ) : System.Runtime.InteropServices
return System.Runtime.InteropServices

SetHashAlgorithm() public abstract method

public abstract SetHashAlgorithm ( string strName ) : void
strName string
return void

SetKey() public abstract method

public abstract SetKey ( AsymmetricAlgorithm key ) : void
key AsymmetricAlgorithm
return void

VerifySignature() public method

public VerifySignature ( HashAlgorithm hash, byte rgbSignature ) : bool
hash HashAlgorithm
rgbSignature byte
return bool

VerifySignature() public abstract method

public abstract VerifySignature ( byte rgbHash, byte rgbSignature ) : bool
rgbHash byte
rgbSignature byte
return bool