goxmldsig:XML数字签名的Pure Go实现

时间:2021-05-16 11:43:18
【文件属性】:
文件名称:goxmldsig:XML数字签名的Pure Go实现
文件大小:34KB
文件格式:ZIP
更新时间:2021-05-16 11:43:18
Go goxmldsig 以纯Go语言实现的XML数字签名。 安装 使用go get安装goxmldsig : $ go get github.com/russellhaering/goxmldsig 用法 签收 package main import ( "github.com/beevik/etree" "github.com/russellhaering/goxmldsig" ) func main () { // Generate a key and self-signed certificate for signing randomKeyStore := dsig . RandomKeyStoreForTest () ctx := dsig . NewDefaultSigningContext ( randomKeyStore )

网友评论