Class JWKPKIXParameters

java.lang.Object
io.inverno.mod.security.jose.jwk.JWKPKIXParameters
All Implemented Interfaces:
Supplier<PKIXParameters>

public class JWKPKIXParameters extends Object implements Supplier<PKIXParameters>

PKIX Parameters used to validate X.509 certificate path.

This is an overridable wrapper bean which provides parameters that allows to validate certicates paths against a trust store. It can be overriden by injecting a custom instance when building the JOSE module.

Parameters are built from a trust store containing the trusted root certificates. The default Java trust store is used by default.

Since:
1.5
Author:
Jeremy Kuhn
  • Constructor Details

    • JWKPKIXParameters

      public JWKPKIXParameters()

      Creates JWK PKIX parameters wrapper using the default Java trust store.

    • JWKPKIXParameters

      public JWKPKIXParameters(CertStore trustStore)

      Creates JWK PKIX parameters wrapper with the specified trust store.

      Parameters:
      trustStore - a trust store.
  • Method Details