This repository contains a Java Client and a JCA provider for Parsec. The client exposes the PSA Crypto API to Java Applications and the JCA Provider allows existing applications that employ JCA to switch to Parsec.
Note: this client is at an early stage of development and not yet ready for production use. We welcome contributions!
The repository contains the following packages:
- parsec-client-java : PSA Crypto API Client
- parsec-jca-java: JCA Provider
- parsec-interface-java: Private wrapper for protobuf classes and socket communication
- parsec-protobuf-java: Java Protobuf classes (generated)
- parsec-testcontainers: Collection of Docker test containers for development & testing
TODO
Check out this repo's submodules:
git submodule update --init --recursive
You can use act
to run the github action locally. On OSX, you need to set the container architecture, and for testcontainers to work, you may need to set the env var TESTCONTAINERS_HOST_OVERRIDE
.
Example CLI input:
act --container-architecture linux/amd64 --env TESTCONTAINERS_HOST_OVERRIDE=`ipconfig getifaddr en0`
There are a number of example implementations of both the basic java client and JCA provider along with a demo (separate repository) Both the tests and workshop demo cover the basic functionality of the current implementation:
The software is provided under Apache-2.0. Contributions to this project are accepted under the same license.
We welcome contributing, both in the use of this client library and programming,extending of this library code base. Please check the Contribution Guidelines to know more about the contribution process.
Copyright 2021 Contributors to the Parsec project.