php-gnupg/examples/clearsign.php

9 lines
187 B
PHP
Raw Normal View History

2005-10-07 18:59:50 +00:00
<?php
require_once (dirname(__FILE__)."/main.php");
$gnupg -> setSignerKey ($fingerprint);
$gnupg -> setPassPhrase ($passphrase);
$text = $gnupg -> sign ($mailtext);
echo $text;
?>