mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2026-02-04 21:31:35 +00:00
initial release
This commit is contained in:
parent
43e0364a82
commit
04b0e31929
14 changed files with 1381 additions and 0 deletions
8
examples/clearsign.php
Normal file
8
examples/clearsign.php
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
require_once (dirname(__FILE__)."/main.php");
|
||||
|
||||
$gnupg -> setSignerKey ($fingerprint);
|
||||
$gnupg -> setPassPhrase ($passphrase);
|
||||
$text = $gnupg -> sign ($mailtext);
|
||||
echo $text;
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue