- find_keys ( $that, $operation )
Find the appropriate S/MIME keys/certs for
return the preferred signing key/cert
return a list of possible decryption keys/certs
return the preferred encryption key/cert
($certs, $keys). For 'sign' and 'encrypt', these are strings containing the absolute filename. For 'decrypt', these are arrayrefs containing absolute filenames.
- parse_cert ( text|file => $content )
Parses X.509 certificate.
- file => $filename
- text => $text
Specifies PEM-encoded certificate.
Returns a hashref containing these items:
hashref with email addresses from cert as keys
arrayref with email addresses from cert. This was added on Sympa 6.2.67b.
true if v3 purpose is encryption
true if v3 purpose is signing
If parsing failed, returns