Authorizes the specified key as a designated revoker for this key.

This method writes changes in the file publicKeyFileName.

Equivalent GPG command:
gpg --edit-key [keyId]
addrevoker [revokerKeyId]

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

Syntax

C#
public void AssignDesignatedRevoker(
	string publicKeyFileName,
	string privateKeyFileName,
	string privateKeyPassword,
	string revokerPublicKeyFileName
)
Visual Basic
Public Sub AssignDesignatedRevoker ( _
	publicKeyFileName As String, _
	privateKeyFileName As String, _
	privateKeyPassword As String, _
	revokerPublicKeyFileName As String _
)
Visual C++
public:
void AssignDesignatedRevoker(
	String^ publicKeyFileName, 
	String^ privateKeyFileName, 
	String^ privateKeyPassword, 
	String^ revokerPublicKeyFileName
)

Parameters

publicKeyFileName
Type: System..::..String
Target public key file name (absolute or relative path)
privateKeyFileName
Type: System..::..String
Corresponding private key file
(can be the same as publicKeyFileName if both keys are in one file)
privateKeyPassword
Type: System..::..String
private key password
revokerPublicKeyFileName
Type: System..::..String
Key file that will be a designated revoker (absolute or relative path)

See Also