GithubHelp home page GithubHelp logo

swedenconnect / opensaml-pkcs11 Goto Github PK

View Code? Open in Web Editor NEW
5.0 12.0 0.0 301 KB

Generic library for extending OpenSAML 3 with PKCS11 credentials

Home Page: https://swedenconnect.se

License: Apache License 2.0

Java 100.00%
eidas eidas-opensaml opensaml saml2 sweden-connect

opensaml-pkcs11's People

Contributors

martin-lindstrom avatar razumain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opensaml-pkcs11's Issues

Support custom ways to extract private key object

In attempts to get this to work with Amzon Cloud HSM we have come across alternative ways to extract private key objects in Java from the HSM for use in OpenSAML credentials.

There is a need to amend the constructor of OpenSAML credentials where it is possible to provide a map of private key objects (indexed under the provider name). If this map is provided in the consturctor, then these keys will be used and the standard implementation for extracting the keys currently in use will be bypassed.

Error in javadoc

The javadoc for the getPrivateKey method of the PKCS11NoTestCredential class is not correct. It does not provide any test for the key. Will be fixed in the next version.

Incompatible SunPKCS11 instantiation in Java 8 and Java 9+

The way to instantiate a SunPKCS11 provider with config data is incompatible between Java 8 and Java 9+

To make this code agnostic about java version, the actual creation of a SunPKCS11 instance is removed from the code and replaced by an interface which must be implemented by the application using this library. A fix to this problem will be provided in version 1.1.0.

This change will be backwards incompatible with version 1.0.1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.