全部搜索项
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: golang-github-youmark-pkcs8  ]

软件包:golang-github-youmark-pkcs8-dev(1.1-3)

golang-github-youmark-pkcs8-dev 的相关链接

Screenshot

Debian 的资源:

下载源码包 golang-github-youmark-pkcs8

维护小组:

外部的资源:

相似软件包:

Go package to parse and convert private keys in PKCS#8 format (library)

pkcs8 OpenSSL can generate private keys in both "traditional format" and PKCS#8 format. Newer applications are advised to use more secure PKCS#8 format. Go standard crypto package provides a function (http://golang.org/pkg/crypto/x509/#ParsePKCS8PrivateKey) to parse private key in PKCS#8 format. There is a limitation to this function. It can only handle unencrypted PKCS#8 private keys. To use this function, the user has to save the private key in file without encryption, which is a bad practice to leave private keys unprotected on file systems. In addition, Go standard package lacks the functions to convert RSA/ECDSA private keys into PKCS#8 format.

pkcs8 package fills the gap here. It implements functions to process private keys in PKCS#8 format, as defined in RFC5208 (https://tools.ietf.org/html/rfc5208) and RFC5958 (https://tools.ietf.org/html/rfc5958). It can handle both unencrypted PKCS#8 PrivateKeyInfo format and EncryptedPrivateKeyInfo format with PKCS#5 (v2.0) algorithms.

其他与 golang-github-youmark-pkcs8-dev 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 golang-github-youmark-pkcs8-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 10.5 kB36.0 kB [文件列表]