public class X509CertificateValidator extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
logger |
private OcspCertificateValidator |
ocspValidator |
| Constructor and Description |
|---|
X509CertificateValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
setOcspValidator(OcspCertificateValidator ocspValidator) |
void |
validateClientCertificate(X509Certificate[] certificates)
Extract the client certificate from the specified HttpServletRequest or null if none is specified.
|
private final org.slf4j.Logger logger
private OcspCertificateValidator ocspValidator
public void validateClientCertificate(X509Certificate[] certificates) throws CertificateExpiredException, CertificateNotYetValidException, CertificateStatusException
certificates - the client certificatesCertificateExpiredException - cert is expiredCertificateNotYetValidException - cert is not yet validCertificateStatusException - ocsp validation issuepublic void setOcspValidator(OcspCertificateValidator ocspValidator)
Copyright © 2023 Apache NiFi Project. All rights reserved.