Verify a certification for the passed in key against the passed in master key.

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

Syntax

C#
public bool VerifyCertification(
	PgpPublicKey masterKey,
	PgpPublicKey pubKey
)
Visual Basic
Public Function VerifyCertification ( _
	masterKey As PgpPublicKey, _
	pubKey As PgpPublicKey _
) As Boolean
Visual C++
public:
bool VerifyCertification(
	PgpPublicKey^ masterKey, 
	PgpPublicKey^ pubKey
)

Parameters

masterKey
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPublicKey
The key we are verifying against.
pubKey
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPublicKey
The key we are verifying.

Return Value

True, if the certification is valid, false otherwise.

See Also