Verify the signature as certifying the passed in public key as associated with the passed in ID.

Namespace: Org.BouncyCastle.Bcpg.OpenPgp
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public bool VerifyCertification(
	string id,
	PgpPublicKey key
)
Visual Basic
Public Function VerifyCertification ( _
	id As String, _
	key As PgpPublicKey _
) As Boolean
Visual C++
public:
bool VerifyCertification(
	String^ id, 
	PgpPublicKey^ key
)

Parameters

id
Type: System..::..String
ID the key was stored under.
key
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPublicKey
The key to be verified.

Return Value

True, if the signature matches, false otherwise.

See Also