Versions in this module Expand all Collapse all v0 v0.1.1 Nov 3, 2019 v0.1.0 Nov 3, 2019 Changes in this version + type Header struct + Key string + Value string + type SMIME struct + CMS *cms.CMS + func New(keyPair ...tls.Certificate) (smime *SMIME, err error) + func (smime *SMIME) AuthEncrypt(msg []byte, recipients []*x509.Certificate, opts ...Header) (smimemsg []byte, err error) + func (smime *SMIME) Decrypt(msg []byte) (plaintext []byte, err error) + func (smime *SMIME) Encrypt(msg []byte, recipients []*x509.Certificate, opts ...Header) (smimemsg []byte, err error) + func (smime *SMIME) Sign(msg []byte) (signedMsg []byte, err error) + func (smime *SMIME) Verify(msg []byte) (chains [][][]*x509.Certificate, err error)