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 specified signature data by comparing it to the signature computed for the specified data.
Namespace: System.Security.Cryptography
Assembly: System.Security (in System.Security.dll)
Syntax
'Declaration
Public Function VerifyData ( _
rgbData As Byte(), _
rgbSignature As Byte() _
) As Boolean
public bool VerifyData(
byte[] rgbData,
byte[] rgbSignature
)
public:
bool VerifyData(
array<unsigned char>^ rgbData,
array<unsigned char>^ rgbSignature
)
member VerifyData :
rgbData:byte[] *
rgbSignature:byte[] -> bool
public function VerifyData(
rgbData : byte[],
rgbSignature : byte[]
) : boolean
Parameters
- rgbData
Type: array<System. . :: . .Byte> [] () [] []
The data that was signed.
- rgbSignature
Type: array<System. . :: . .Byte> [] () [] []
The signature data to be verified.
Return Value
Type: System. . :: . .Boolean
true if the signature verifies as valid; 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.