OpenPGP signs a file.
Namespace:
DidiSoft
Assembly:
PGPLib (in PGPLib.dll) Version: 1.6.3.19546
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub SignFile ( _
fileName As String, _
keyStore As KeyStore, _
userId As String, _
privateKeyPassword As String, _
signedFileName As String, _
asciiArmor As Boolean _
) |
Parameters
- fileName
- Type: System..::.String
File Name to be signed (absolute or relative path)
- keyStore
- Type: DidiSoft..::.KeyStore
KeyStore instance
- userId
- Type: System..::.String
User Id of the form "name (comment) <email address>".
The first Public key with this userId located in keyStore is used for encryption.
- privateKeyPassword
- Type: System..::.String
Private key password
- signedFileName
- Type: System..::.String
File name of the OpenPGP Signed file (absolute or relative path)
- asciiArmor
- Type: System..::.Boolean
if true, output file is in ASCII armored format
Exceptions
See Also