DomainPlug-insDocumentation
|
Functions | |
Str PGPCRYPTO_DECL | PgpClearsign (const Str in_text, const Str pass, const Str user) |
Sign text message. | |
int PGPCRYPTO_DECL | PgpValidate (Str inText, int has_armour=1) |
Validate clearsigned text. |
Str PGPCRYPTO_DECL PgpClearsign | ( | const Str | in_text, |
const Str | pass, | ||
const Str | user | ||
) |
Sign text message.
in_text | - text to sign by PGP |
pass | - PGP key password |
user | - identifier of key Example: [root ~]# gpg --list-keys uid My Test Key <test@test.com> |
user should be equal to "My Test Key".
int PGPCRYPTO_DECL PgpValidate | ( | Str | inText, |
int | has_armour = 1 |
||
) |
Validate clearsigned text.
inText | - already clearsigned text |
has_armour | - treat data as armoured, if set |