Generate a certification for the passed in userAttributes.

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

Syntax

C#
public PgpSignature GenerateCertification(
	PgpUserAttributeSubpacketVector userAttributes,
	PgpPublicKey pubKey
)
Visual Basic
Public Function GenerateCertification ( _
	userAttributes As PgpUserAttributeSubpacketVector, _
	pubKey As PgpPublicKey _
) As PgpSignature
Visual C++
public:
PgpSignature^ GenerateCertification(
	PgpUserAttributeSubpacketVector^ userAttributes, 
	PgpPublicKey^ pubKey
)

Parameters

userAttributes
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpUserAttributeSubpacketVector
The ID we are certifying against the public key.
pubKey
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPublicKey
The key we are certifying against the ID.

Return Value

The certification.

See Also