Interface X509JWKCertPathValidator

All Known Implementing Classes:
GenericX509JWKCertPathValidator

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 Type
    Method
    Description
    reactor.core.publisher.Mono<X509Certificate>
    validate(List<X509Certificate> certificates)
    Validates the specified certificates chain.
  • Method Details

    • validate

      reactor.core.publisher.Mono<X509Certificate> validate(List<X509Certificate> certificates) throws JWKResolveException

      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