https://github.com/woefe/xmlrss
Redactable Signatures for Java
https://github.com/woefe/xmlrss
cryptography java jca signatures
Last synced: 9 months ago
JSON representation
Redactable Signatures for Java
- Host: GitHub
- URL: https://github.com/woefe/xmlrss
- Owner: woefe
- License: gpl-3.0
- Created: 2017-11-20T15:54:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-12T12:19:09.000Z (over 7 years ago)
- Last Synced: 2025-02-25T22:43:29.953Z (12 months ago)
- Topics: cryptography, java, jca, signatures
- Language: Java
- Size: 400 KB
- Stars: 8
- Watchers: 6
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# XMLRSS - A Java Crypto Provider for Redactable Signatures
Currently, xmlrss implements three redactable signature algorithms:
* PSRSS (based on "On Updatable Redactable Signatures" by Pöhls and Samelin)
* GSRSS (the general construction for sets, based on "A General Framework for Redactable Signatures and New
Constructions" by Derler et al.)
* GLRSS (the general construction for lists, based on "A General Framework for Redactable Signatures and New
Constructions" by Derler et al.)
XML encodings for following redactable signature algorithms:
* PSRSS
* GSRSS
* GLRSS
Take a look at the `WPProvider` class for the proper algorithm names and accumulator combinations.
Implementations of cryptographic accumulators:
* PSA accumulator (based on the trapdoor accumulator in "On Updatable Redactable Signatures" by Pöhls and Samelin)
* BP accumulator (based on "Collision-Free Accumulators and Fail-Stop Signature Schemes Without Trees" by Barić and
Pfitzmann)
## Warning / Disclaimer
Do not use this code in Production!! It has not been peer-reviewed. Also, this repo will most likely be split into
two seperate repositories for the interfaces and implementations to make 3rd party implementations easier.
## How to use it
xmlrss can be used very similar to other cryptographic service providers in Java:
* Add the xmlrss library as a dependency for your project
* Register the `WPProvider`(`Security.addProvider(new WPProvider())`)
* Use redactable signatures via the `RedactableSignature` engine class
## How to compile it
This project uses gradle, which is pretty much self contained. Usually only a Java installation is required.
```
./gradlew build
```