Added support for S/MIME RFC 5751 de-/encryption and signing/signature-verification.

This commit is contained in:
InfiniteLoopSpace
2018-11-16 14:26:03 +01:00
parent b8968e6c58
commit 45c1d50510
3 changed files with 278 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import (
timestamp "github.com/InfiniteLoopSpace/go_S-MIME/timestamp"
)
// CMS is an instance of cms to en/decrypt and sign/verfiy CMS data
// CMS is an instance of cms to en-/decrypt and sign/verfiy CMS data
// with the given keyPairs and options.
type CMS struct {
Intermediate, roots *x509.CertPool