PublicKeyExtensionsVerifySignature Method
Verifies signature using public key.
Namespace: SysadminsLV.PKI.CryptographyAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public static bool VerifySignature(
this PublicKey pubKey,
SignedContentBlob signedBlob
)
<ExtensionAttribute>
Public Shared Function VerifySignature (
pubKey As PublicKey,
signedBlob As SignedContentBlob
) As Boolean
public:
[ExtensionAttribute]
static bool VerifySignature(
PublicKey^ pubKey,
SignedContentBlob^ signedBlob
)
[<ExtensionAttribute>]
static member VerifySignature :
pubKey : PublicKey *
signedBlob : SignedContentBlob -> bool
- pubKey PublicKey
- Public key to use in verification.
- signedBlob SignedContentBlob
- Signed blob that contains signed data, signature and algorithm identifier.
BooleanTrue if signature matches public key, otherwise
False.
In Visual Basic and C#, you can call this method as an instance method on any object of type
PublicKey. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).