Revokes a public key.
Namespace: DidiSoft.PgpAssembly: DidiSoft.Pgp (in DidiSoft.Pgp.dll) Version: 1.7.3.35547
Syntax
| Visual Basic |
|---|
Public Sub RevokeKey ( _
publicKeyFileName As String, _
privateKeyFileName As String, _
privateKeyPassword As String, _
reason As Byte, _
description As String _
) |
Parameters
- publicKeyFileName
- Type: System..::..String
public key file that will be revoked (absolute or relative path)
- privateKeyFileName
- Type: System..::..String
corresponding private key file (absolute or relative path)
Note: may be the same file as publicKeyFileName
- privateKeyPassword
- Type: System..::..String
private key password
- reason
- Type: System..::..Byte
revocation reason code (use the REASON_ constants in this class)
- description
- Type: System..::..String
revocation description
Exceptions
See Also