Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Verifies the DSA signature for the specified data.
Namespace: System.Security.Cryptography
Assembly: System.Security (in System.Security.dll)
Syntax
'Declaration
Public Function VerifySignature ( _
rgbHash As Byte(), _
rgbSignature As Byte() _
) As Boolean
public bool VerifySignature(
byte[] rgbHash,
byte[] rgbSignature
)
public:
bool VerifySignature(
array<unsigned char>^ rgbHash,
array<unsigned char>^ rgbSignature
)
member VerifySignature :
rgbHash:byte[] *
rgbSignature:byte[] -> bool
public function VerifySignature(
rgbHash : byte[],
rgbSignature : byte[]
) : boolean
Parameters
- rgbHash
Type: array<System. . :: . .Byte> [] () [] []
The data signed with rgbSignature.
- rgbSignature
Type: array<System. . :: . .Byte> [] () [] []
The signature to be verified for rgbData.
Return Value
Type: System. . :: . .Boolean
true if rgbSignature matches the signature computed using the specified hash algorithm and key on rgbHash; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.