[Rt-commit] r8992 - rt/branches/3.7-EXPERIMENTAL/lib/RT/Crypt
ruz at bestpractical.com
ruz at bestpractical.com
Mon Sep 10 18:13:43 EDT 2007
Author: ruz
Date: Mon Sep 10 18:13:43 2007
New Revision: 8992
Modified:
rt/branches/3.7-EXPERIMENTAL/lib/RT/Crypt/GnuPG.pm
Log:
* add docs
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Crypt/GnuPG.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Crypt/GnuPG.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Crypt/GnuPG.pm Mon Sep 10 18:13:43 2007
@@ -1553,6 +1553,15 @@
return %res;
}
+=head2 GetKeysForEncryption
+
+Takes identfier and returns keys suitable for encryption.
+
+B<Note> that keys for which trust level is not set are
+also listed.
+
+=cut
+
sub GetKeysForEncryption {
my $key_id = shift;
my %res = GetKeysInfo( $key_id, 'public' );
More information about the Rt-commit
mailing list