Add a certification for an id 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,
	string id,
	PgpSignature certification
)
Visual Basic
Public Shared Function AddCertification ( _
	key As PgpPublicKey, _
	id As String, _
	certification As PgpSignature _
) As PgpPublicKey
Visual C++
public:
static PgpPublicKey^ AddCertification(
	PgpPublicKey^ key, 
	String^ id, 
	PgpSignature^ certification
)

Parameters

key
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPublicKey
The key the certification is to be added to.
id
Type: System..::..String
The ID the certification is associated with.
certification
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpSignature
The new certification.

Return Value

The re-certified key.

See Also