Module io.inverno.mod.security.jose
Package io.inverno.mod.security.jose.jwk
Class JWKPKIXParameters
java.lang.Object
io.inverno.mod.security.jose.jwk.JWKPKIXParameters
- All Implemented Interfaces:
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 Summary
ConstructorDescriptionCreates JWK PKIX parameters wrapper using the default Java trust store.JWKPKIXParameters
(CertStore trustStore) Creates JWK PKIX parameters wrapper with the specified trust store. -
Method Summary
-
Constructor Details
-
JWKPKIXParameters
public JWKPKIXParameters()Creates JWK PKIX parameters wrapper using the default Java trust store.
-
JWKPKIXParameters
Creates JWK PKIX parameters wrapper with the specified trust store.
- Parameters:
trustStore
- a trust store.
-
-
Method Details
-
get
- Specified by:
get
in interfaceSupplier<PKIXParameters>
-