Remove any certifications associated with a given ID on a key.

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

Syntax

C#
public static PgpPublicKey RemoveCertification(
	PgpPublicKey key,
	string id
)
Visual Basic
Public Shared Function RemoveCertification ( _
	key As PgpPublicKey, _
	id As String _
) As PgpPublicKey
Visual C++
public:
static PgpPublicKey^ RemoveCertification(
	PgpPublicKey^ key, 
	String^ id
)

Parameters

key
Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPublicKey
The key the certifications are to be removed from.
id
Type: System..::..String
The ID that is to be removed.

Return Value

The re-certified key, or null if the ID was not found on the key.

See Also