Verifies the signature.
Namespace: LLCryptoLib.CryptoAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public static bool VerifySignature( FileInfo signedFile, RSA publicKey, AvailableHash hash, bool removeSignature ) |
Visual Basic |
---|
Public Shared Function VerifySignature ( _ signedFile As FileInfo, _ publicKey As RSA, _ hash As AvailableHash, _ removeSignature As Boolean _ ) As Boolean |
Visual C++ |
---|
public: static bool VerifySignature( FileInfo^ signedFile, RSA^ publicKey, AvailableHash hash, bool removeSignature ) |
Parameters
- signedFile
- Type: System.IO..::..FileInfo
The signed file.
- publicKey
- Type: System.Security.Cryptography..::..RSA
The public key of the signer
- hash
- Type: LLCryptoLib.Hash..::..AvailableHash
The hash.
- removeSignature
- Type: System..::..Boolean
if set to true [remove signature].
Return Value
[Missing <returns> documentation for "M:LLCryptoLib.Crypto.AsymmetricCrypter.VerifySignature(System.IO.FileInfo,System.Security.Cryptography.RSA,LLCryptoLib.Hash.AvailableHash,System.Boolean)"]