Revokes a key or subkey from an OpenPGP key ring file (*.asc, *.pkr)
using a revocation certificate file.
Namespace: DidiSoft.PgpAssembly: DidiSoft.Pgp (in DidiSoft.Pgp.dll) Version: 1.7.3.35547
Syntax
| C# |
|---|
public void RevokeKeyWithRevocationCertificateFile(
string publicKeyFileName,
string certificateFileName
) |
| Visual Basic |
|---|
Public Sub RevokeKeyWithRevocationCertificateFile ( _
publicKeyFileName As String, _
certificateFileName As String _
) |
| Visual C++ |
|---|
public:
void RevokeKeyWithRevocationCertificateFile(
String^ publicKeyFileName,
String^ certificateFileName
) |
Parameters
- publicKeyFileName
- Type: System..::..String
file name containing the target OpenPGP key (absolute or relative path)
- certificateFileName
- Type: System..::..String
revocation certificate file name (absolute or relative path)
Exceptions
See Also