Add a revocation or some other key certification to a key.

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

Syntax

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

Parameters

key
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPublicKey
The key the revocation is to be added to.
certification
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpSignature
The key signature to be added.

Return Value

The new changed public key object.

See Also