GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Sympa::Tools::SMIME(3Sympa) sympa 6.2.76 Sympa::Tools::SMIME(3Sympa)

Sympa::Tools::SMIME - Tools for S/MIME messages and X.509 certificates

Find the appropriate S/MIME keys/certs for $operation of $that.

$operation can be:

'sign'
return the preferred signing key/cert
'decrypt'
return a list of possible decryption keys/certs
'encrypt'
return the preferred encryption key/cert

Returnss "($certs, $keys)". For 'sign' and 'encrypt', these are strings containing the absolute filename. For 'decrypt', these are arrayrefs containing absolute filenames.

Parses X.509 certificate.

Options:

"file" => $filename
"text" => $text
Specifies PEM-encoded certificate.

Returns a hashref containing these items:

{email}
hashref with email addresses from cert as keys
{emails}
arrayref with email addresses from cert. This was added on Sympa 6.2.67b.
{subject}
distinguished name
{purpose}
hashref containing:
{enc}
true if v3 purpose is encryption
{sign}
true if v3 purpose is signing

If parsing failed, returns "undef".

TBD.

2025-02-03 6.2.76

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.