mozilla-services / pkcs7

DEPRECATED - Implements a subset of PKCS#7/Cryptographic Message Syntax (rfc2315, rfc5652)
https://go.mozilla.org/pkcs7
MIT License
70 stars 92 forks source link

New SignedData with content type and without certificates #71

Closed vanbroup closed 2 years ago

vanbroup commented 2 years ago

This introduces two use cases that are required for time stamping (RFC3161).

See also the included documentation.

Example usages: https://github.com/digitorus/timestamp/blob/master/timestamp.go#L595 https://github.com/digitorus/timestamp/blob/master/timestamp.go#L617

vanbroup commented 2 years ago

This code was used by the listed packages for a few years now but got never contributed upstream, I see that #65 might provide a cleaner alternative to sign without certificates.

Maybe we should do the same for the content type?

vanbroup commented 2 years ago

Closing in favor #72