Module io.inverno.mod.security.jose
Package io.inverno.mod.security.jose.jwk
Interface X509JWKCertPathValidator
public interface X509JWKCertPathValidator
An X.509 certificates path validator is used by a JWKBuilder
to validate a certificates chain.
A public JSON Web Key defining a valid certificate will be considered as trusted.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionvalidate
(List<X509Certificate> certificates) Validates the specified certificates chain.
-
Method Details
-
validate
Validates the specified certificates chain.
- Parameters:
certificates
- the certificates chain to validate- Returns:
- a single publisher emitting the validated certificate (the first certificate in the chain)
- Throws:
JWKResolveException
- if the certificates chain is invalid
-