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

Note that the corresponding private key of the key that authorizes must also be in this KeyStore.

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(
	KeyStore keyStore,
	long keyId,
	string privateKeyPassword,
	long revokerKeyId
)
Visual Basic
Public Sub AssignDesignatedRevoker ( _
	keyStore As KeyStore, _
	keyId As Long, _
	privateKeyPassword As String, _
	revokerKeyId As Long _
)
Visual C++
public:
void AssignDesignatedRevoker(
	KeyStore^ keyStore, 
	long long keyId, 
	String^ privateKeyPassword, 
	long long revokerKeyId
)

Parameters

keyStore
Type: DidiSoft.Pgp..::..KeyStore
KeyStore containing the keys
keyId
Type: System..::..Int64
Key ID of the key that authorizes the designated revoker
privateKeyPassword
Type: System..::..String
private key password of the key that authorizes the designated revoker
revokerKeyId
Type: System..::..Int64
Key ID of the designated revoker

See Also