Registry /
crypto / stefanberger-go-pkcs11uri
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.
pkcs11uri
✓ github.com/stefanberger/go-pkcs11uri
Parses a PKCS#11 URI and retrieves an attribute.
package main
import (
"fmt"
"github.com/stefanberger/go-pkcs11uri"
)
func main() {
uri, err := pkcs11uri.Parse("pkcs11:token=MyToken;object=MyKey")
if err != nil {
panic(err)
}
fmt.Println(uri.GetPathAttribute("token", false))
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20230803200340-78284954bff6latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.