Add a certification for the given UserAttributeSubpackets to the given public key.

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

Syntax

C#
public static PgpPublicKey AddCertification(
	PgpPublicKey key,
	PgpUserAttributeSubpacketVector userAttributes,
	PgpSignature certification
)
Visual Basic
Public Shared Function AddCertification ( _
	key As PgpPublicKey, _
	userAttributes As PgpUserAttributeSubpacketVector, _
	certification As PgpSignature _
) As PgpPublicKey
Visual C++
public:
static PgpPublicKey^ AddCertification(
	PgpPublicKey^ key, 
	PgpUserAttributeSubpacketVector^ userAttributes, 
	PgpSignature^ certification
)

Parameters

key
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPublicKey
The key the certification is to be added to.
userAttributes
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpUserAttributeSubpacketVector
The attributes the certification is associated with.
certification
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpSignature
The new certification.

Return Value

The re-certified key.

See Also