Class OpcUaCertificateValidityChecker
java.lang.Object
java.security.cert.PKIXCertPathChecker
org.eclipse.milo.opcua.stack.core.util.validation.OpcUaCertificateValidityChecker
- All Implemented Interfaces:
Cloneable,CertPathChecker
A
PKIXCertPathChecker that does the same basic checks as
sun.security.provider.certpath.BasicChecker but allows for the validation check to be suppressed.
Not currently used because the BasicChecker isn't replaceable. Needs to be used in conjuction
with OpcUaCertPathValidator if/when it's implemented.
-
Constructor Summary
ConstructorsConstructorDescriptionOpcUaCertificateValidityChecker(CertPath certPath, TrustAnchor trustAnchor, Set<ValidationCheck> validationChecks) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheck(Certificate cert, Collection<String> unresolvedCritExts) voidinit(boolean forward) booleanMethods inherited from class java.security.cert.PKIXCertPathChecker
check, clone
-
Constructor Details
-
OpcUaCertificateValidityChecker
public OpcUaCertificateValidityChecker(CertPath certPath, TrustAnchor trustAnchor, Set<ValidationCheck> validationChecks)
-
-
Method Details
-
init
- Specified by:
initin interfaceCertPathChecker- Specified by:
initin classPKIXCertPathChecker- Throws:
CertPathValidatorException
-
isForwardCheckingSupported
public boolean isForwardCheckingSupported()- Specified by:
isForwardCheckingSupportedin interfaceCertPathChecker- Specified by:
isForwardCheckingSupportedin classPKIXCertPathChecker
-
getSupportedExtensions
- Specified by:
getSupportedExtensionsin classPKIXCertPathChecker
-
check
public void check(Certificate cert, Collection<String> unresolvedCritExts) throws CertPathValidatorException - Specified by:
checkin classPKIXCertPathChecker- Throws:
CertPathValidatorException
-