- Notifications
You must be signed in to change notification settings - Fork91
Go library for encoding and decoding PKCS#12 files
License
SSLMate/go-pkcs12
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
import "software.sslmate.com/src/go-pkcs12"
Package pkcs12 implements some of PKCS#12 (also known as P12 or PFX).It is intended for decoding DER-encoded P12/PFX files for use with thecrypto/tls
package, and for encoding P12/PFX files for use by legacy applications whichdo not support newer formats. Since PKCS#12 uses weak encryptionprimitives, it SHOULD NOT be used for new applications.
Note that only DER-encoded PKCS#12 files are supported, even though PKCS#12allows BER encoding. This is because encoding/asn1 only supports DER.
This package is forked fromgolang.org/x/crypto/pkcs12
, which is frozen.The implementation is distilled fromhttps://tools.ietf.org/html/rfc7292and referenced documents.
Note that although the source code and issue tracker for this package are hostedon GitHub, the import path is:
software.sslmate.com/src/go-pkcs12
Please be sure to use this path when yougo get
andimport
this package.
Open an issue or PR athttps://github.com/SSLMate/go-pkcs12
About
Go library for encoding and decoding PKCS#12 files