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

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

Syntax

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

Parameters

userAttributes
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpUserAttributeSubpacketVector
User attributes 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