https://github.com/deb-ict/go-xmldsig
XML Digital Signature
https://github.com/deb-ict/go-xmldsig
go golang wssecurity xml xmldsig
Last synced: 10 months ago
JSON representation
XML Digital Signature
- Host: GitHub
- URL: https://github.com/deb-ict/go-xmldsig
- Owner: deb-ict
- License: gpl-3.0
- Created: 2025-02-12T19:52:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-28T09:21:38.000Z (11 months ago)
- Last Synced: 2025-08-10T01:00:00.487Z (10 months ago)
- Topics: go, golang, wssecurity, xml, xmldsig
- Language: Go
- Homepage:
- Size: 2.75 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# go-xmldsig
[](https://github.com/deb-ict/go-xmldsig/actions/workflows/build.yml)
[](https://sonarcloud.io/summary/new_code?id=deb-ict_go-xmldsig)
[](https://sonarcloud.io/summary/new_code?id=deb-ict_go-xmldsig)
XML digital signature
## Installation
Install `go-xmldsig` using `go get`:
```
$ go get -u github.com/deb-ict/go-xmldsig
```
## Reference
This code is based on repository [russellhaering/goxmldsig](https://github.com/russellhaering/goxmldsig) and C# SignedXml.
**If u star this repository, please star the original code repository as well!**
## Purpose
This code is a requirement for the [go-peppol](https://github.com/deb-ict/go-peppol) project where including mime attachment digest in the signature is required.
## Generate a test certificate
`openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 365`