Interface X509CertificateExtractor

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface X509CertificateExtractor
    Interface to get an X509 certificate from HttpServletRequest. e.g. from pem encoded cert on HTTP header.
    Since:
    5.3.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.security.cert.X509Certificate[] extract​(javax.servlet.http.HttpServletRequest request)  
    • Method Detail

      • extract

        java.security.cert.X509Certificate[] extract​(javax.servlet.http.HttpServletRequest request)
        Parameters:
        request - HttpServletRequest that may contain X509 certificate
        Returns:
        X509Certificate array where the first element is user's client certificate