Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
pkcs7
✓ github.com/digitorus/pkcs7
Parses a PKCS7 message from DER data.
package main
import (
"fmt"
"github.com/digitorus/pkcs7"
)
func main() {
// Example: parse a DER-encoded PKCS7 message
data := []byte{0x30, 0x80} // truncated example
p7, err := pkcs7.Parse(data)
if err != nil {
panic(err)
}
fmt.Printf("Content type: %v\n", p7.ContentType)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20230818184609-3a137a874352latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.