Registry / crypto / stefanberger-go-pkcs11uri

stefanberger-go-pkcs11uri

JSON →
library0.0.0-20230803200340-78284954bff6gogounverified

A Go library for parsing and constructing PKCS#11 URIs.

go get github.com/stefanberger/go-pkcs11uri
INSTALL
IMPORT
SIG · STEFANBERGER-GO-PK
S
stefanberger-go-pkcs11uri
cryptogov0.0.0-20230803200340-78284954bff6
harness data pending
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.

Agent activity
27 hits · last 30 days
node
22
Amazon
1
Resources
stefanberger-go-pkcs11uri — go get stefanberger-go-pkcs11uri · libregistry