Class PKIXProxyCertificateChecker
- java.lang.Object
-
- java.security.cert.PKIXCertPathChecker
-
- eu.emi.security.authn.x509.helpers.pkipath.PKIXProxyCertificateChecker
-
- All Implemented Interfaces:
java.lang.Cloneable
,java.security.cert.CertPathChecker
public class PKIXProxyCertificateChecker extends java.security.cert.PKIXCertPathChecker
Checker which handles proxy certificate extensions so BC won't report them as unknown. The real proxy verification is done elsewhere.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description PKIXProxyCertificateChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check(java.security.cert.Certificate cert, java.util.Collection<java.lang.String> unresolvedCritExts)
java.util.Set<java.lang.String>
getSupportedExtensions()
void
init(boolean forward)
boolean
isForwardCheckingSupported()
-
-
-
Method Detail
-
init
public void init(boolean forward) throws java.security.cert.CertPathValidatorException
- Specified by:
init
in interfacejava.security.cert.CertPathChecker
- Specified by:
init
in classjava.security.cert.PKIXCertPathChecker
- Throws:
java.security.cert.CertPathValidatorException
-
isForwardCheckingSupported
public boolean isForwardCheckingSupported()
- Specified by:
isForwardCheckingSupported
in interfacejava.security.cert.CertPathChecker
- Specified by:
isForwardCheckingSupported
in classjava.security.cert.PKIXCertPathChecker
-
getSupportedExtensions
public java.util.Set<java.lang.String> getSupportedExtensions()
- Specified by:
getSupportedExtensions
in classjava.security.cert.PKIXCertPathChecker
-
check
public void check(java.security.cert.Certificate cert, java.util.Collection<java.lang.String> unresolvedCritExts) throws java.security.cert.CertPathValidatorException
- Specified by:
check
in classjava.security.cert.PKIXCertPathChecker
- Throws:
java.security.cert.CertPathValidatorException
-
-