Revokes a User Id signature binding from an OpenPGP public key file.
One reason to do this is if this User Id is no longer connected to this key, for example have left the company.

Namespace: DidiSoft.Pgp
Assembly: DidiSoft.Pgp (in DidiSoft.Pgp.dll) Version: 1.7.3.35547

Syntax

C#
public void RevokeUserIdSignature(
	string publicKeyFileName,
	string privateKeyFileName,
	string privateKeyPassword,
	string userId,
	byte reason,
	string description
)
Visual Basic
Public Sub RevokeUserIdSignature ( _
	publicKeyFileName As String, _
	privateKeyFileName As String, _
	privateKeyPassword As String, _
	userId As String, _
	reason As Byte, _
	description As String _
)
Visual C++
public:
void RevokeUserIdSignature(
	String^ publicKeyFileName, 
	String^ privateKeyFileName, 
	String^ privateKeyPassword, 
	String^ userId, 
	unsigned char reason, 
	String^ description
)

Parameters

publicKeyFileName
Type: System..::..String
public key file that contains the User Id to be revoked (absolute or relative path)
privateKeyFileName
Type: System..::..String
corresponding private key file (absolute or relative path)
Note: may be the same file as publicKeyFileName
privateKeyPassword
Type: System..::..String
private key password
userId
Type: System..::..String
User Id to be revoked
reason
Type: System..::..Byte
revocation reason code (use the REASON_ constants in this class)
description
Type: System..::..String
revocation description

See Also