Registry / crypto / src-go-pkcs12

src-go-pkcs12

JSON →
library0.7.2gogounverified

Package pkcs12 implements some of PKCS#12 (also known as P12 or PFX).

go get software.sslmate.com/src/go-pkcs12
INSTALL
IMPORT
SIG · SRC-GO-PKCS12
S
src-go-pkcs12
cryptogov0.7.2
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.

pkcs12
software.sslmate.com/src/go-pkcs12

Decodes a PKCS12 file to extract private key and certificate.

package main import ( "crypto/x509" "fmt" "software.sslmate.com/src/go-pkcs12" ) func main() { pfxData := []byte{} // your PFX data privateKey, certificate, err := pkcs12.Decode(pfxData, "password") if err != nil { panic(err) } fmt.Println(certificate.Subject) _ = privateKey }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Resources
src-go-pkcs12 — go get src-go-pkcs12 · libregistry