Revokes a User Id signature binding from an OpenPGP public key located in a KeyStore
Note: the corresponding private key must also exist in this KeyStore in order the signature to be produced.
Equivalent GPG command:
gpg --edit-key [keyId]
Namespace: DidiSoft.PgpNote: the corresponding private key must also exist in this KeyStore in order the signature to be produced.
Equivalent GPG command:
gpg --edit-key [keyId]
Assembly: DidiSoft.Pgp (in DidiSoft.Pgp.dll) Version: 1.7.3.35547
Syntax
| C# |
|---|
public void RevokeUserIdSignature( KeyStore keyStore, long keyId, string userId, string privateKeyPassword, byte reason, string description ) |
| Visual Basic |
|---|
Public Sub RevokeUserIdSignature ( _ keyStore As KeyStore, _ keyId As Long, _ userId As String, _ privateKeyPassword As String, _ reason As Byte, _ description As String _ ) |
| Visual C++ |
|---|
public: void RevokeUserIdSignature( KeyStore^ keyStore, long long keyId, String^ userId, String^ privateKeyPassword, unsigned char reason, String^ description ) |
Parameters
- keyStore
- Type: DidiSoft.Pgp..::..KeyStore
KeyStore containing the public key
- keyId
- Type: System..::..Int64
Key ID of the key with the signature
- userId
- Type: System..::..String
User ID signature to be revoked
- privateKeyPassword
- Type: System..::..String
private key password of this key
- reason
- Type: System..::..Byte
revocation reason code (use the REASON_ constants in this class)
- description
- Type: System..::..String
revocation description