The RevocationLib type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| RevocationLib |
Constructor that initializes the revocation library class.
|
Methods
| Name | Description | |
|---|---|---|
| AssignDesignatedRevoker(String, String, String, String) |
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] | |
| AssignDesignatedRevoker(KeyStore, Int64, String, Int64) |
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] | |
| AssignDesignatedRevoker(KeyStore, String, String, String) |
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 [userId] addrevoker [revokerKeyId] | |
| CreateRevocationCertificateInFile(String, String, Byte, String, String) |
Creates a key revocation certificate for a given OpenPGP key file and stores it in a file.
Key revocation certificates are especially useful if we have forgotten the pass phrase to our private key and we need some way to "disable" or revoke that key. Equivalent GPG command: gpg --gen-revoke [UserId] --output [outputFileName] | |
| CreateRevocationCertificateInFile(KeyStore, Int64, String, Byte, String, String) |
Creates a key revocation certificate for a given OpenPGP key located in a KeyStore and stores it in a file.
Key revocation certificates are especially useful if we have forgotten the pass phrase to our private key and we need some way to "disable" or revoke that key. Equivalent GPG command: gpg --gen-revoke [keyId] --output [outputFileName] | |
| CreateRevocationCertificateInFile(KeyStore, String, String, Byte, String, String) |
Creates a key revocation certificate for a given OpenPGP key located in a KeyStore and stores it in a file.
Key revocation certificates are especially useful if we have forgotten the pass phrase to our private key and we need some way to "disable" or revoke that key. Equivalent GPG command: gpg --gen-revoke [userId] --output [outputFileName] | |
| CreateRevocationCertificateText(String, String, Byte, String) |
Creates a revocation certificate in ASCII armored string format for a given OpenPGP key.
Key revocation certificates are especially useful if we have forgotten the pass phrase to our private key and we need some way to "disable" or revoke that key. Equivalent GPG command: gpg --gen-revoke [UserId] | |
| CreateRevocationCertificateText(KeyStore, Int64, String, Byte, String) |
Creates a revocation certificate in ASCII armored string format for a given OpenPGP key.
Key revocation certificates are especially useful if we have forgotten the pass phrase to our private key and we need some way to "disable" or revoke that key. Equivalent GPG command: gpg --gen-revoke [keyId] | |
| CreateRevocationCertificateText(KeyStore, String, String, Byte, String) |
Creates a revocation certificate in ASCII armored string format for a given OpenPGP key.
Key revocation certificates are especially useful if we have forgotten the pass phrase to our private key and we need some way to "disable" or revoke that key. Equivalent GPG command: gpg --gen-revoke [UserId] | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RevokeKey(String, String, String, Byte, String) |
Revokes a public key.
| |
| RevokeKey(KeyStore, Int64, String, Byte, String) |
Revokes a public key or sub key from a KeyStore.
Note: The corresponding private key of this key must also be in the same KeyStore object. Equivalent GPG command: gpg --edit-key [userId] revkey | |
| RevokeKey(KeyStore, String, String, Byte, String) |
Revokes a public key or sub key from a KeyStore.
Note: The corresponding private key of this key must also be in the same KeyStore object. Equivalent GPG command: gpg --edit-key [userId] revkey | |
| RevokeKeyWithDesignatedRevoker(String, String, String, Byte, String) |
Revokes an OpenPGP public key with a designated revoker private key file.
| |
| RevokeKeyWithDesignatedRevoker(KeyStore, Int64, Int64, String, Byte, String) |
Revokes an OpenPGP public key located in a KeyStore with a designated revoker.
Note: the designated revoker private key must also exist in the same KeyStore object. Equivalent GPG command: gpg --desig-revoke [keyId] | |
| RevokeKeyWithDesignatedRevoker(KeyStore, String, String, String, Byte, String) |
Revokes an OpenPGP public key located in a KeyStore with a designated revoker.
Note: the designated revoker private key must also exist in the same KeyStore object. Equivalent GPG command: gpg --desig-revoke [userId] | |
| RevokeKeyWithRevocationCertificateFile(String, String) |
Revokes a key or subkey from an OpenPGP key ring file (*.asc, *.pkr)
using a revocation certificate file.
| |
| RevokeKeyWithRevocationCertificateFile(KeyStore, String) |
Revokes a key or subkey from an OpenPGP key ring file (*.asc, *.pkr)
using a revocation certificate file.
Equivalent GPG command: gpg --import [certificateFileName] | |
| RevokeKeyWithRevocationCertificateText(String, String) |
Revokes a key or subkey from an OpenPGP key ring file (*.asc, *.pkr)
using a revocation certificate supplied as text.
| |
| RevokeKeyWithRevocationCertificateText(KeyStore, String) |
Revokes a key or subkey located in an OpenPGP KeyStore
using a revocation certificate supplied as text.
Equivalent GPG command: gpg --import [certificateFile] | |
| RevokeUserIdSignature(KeyStore, String, String, Byte, String) |
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 [userId] | |
| RevokeUserIdSignature(String, String, String, String, Byte, String) |
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. | |
| RevokeUserIdSignature(KeyStore, Int64, String, String, Byte, String) |
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] | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| REASON_KEY_COMPROMISED |
Revocation code: Key has been compromised
| |
| REASON_KEY_NO_LONGER_USED |
Revocation code: Key is no longer used
| |
| REASON_KEY_SUPERSEDED |
Revocation code: Key is superseded
| |
| REASON_NO_REASON |
Revocation code: No reason specified
| |
| REASON_USER_NO_LONGER_USED |
Revocation code: User Id is no longer used
|