Class CertificateValidator.InsecureCertificateValidator
java.lang.Object
org.eclipse.milo.opcua.stack.core.security.CertificateValidator.InsecureCertificateValidator
- All Implemented Interfaces:
CertificateValidator
- Enclosing interface:
- CertificateValidator
public static class CertificateValidator.InsecureCertificateValidator
extends Object
implements CertificateValidator
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.milo.opcua.stack.core.security.CertificateValidator
CertificateValidator.InsecureCertificateValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateCertificateChain(List<X509Certificate> certificateChain, String applicationUri, String[] validHostnames) Check that trust can be established using the provided certificate chain and then validate every certificate in the chain.
-
Constructor Details
-
InsecureCertificateValidator
public InsecureCertificateValidator()
-
-
Method Details
-
validateCertificateChain
public void validateCertificateChain(List<X509Certificate> certificateChain, String applicationUri, String[] validHostnames) Description copied from interface:CertificateValidatorCheck that trust can be established using the provided certificate chain and then validate every certificate in the chain.The chain must begin with the end-entity certificate at index 0 followed by the remaining certificates in the chain, if any, in the correct order.
- Specified by:
validateCertificateChainin interfaceCertificateValidator- Parameters:
certificateChain- the certificate chain to validate.applicationUri- the applicationUri of the remote endpoint. Ignored ifnull.validHostnames- the valid hostnames for the remote endpoint. Ignored ifnull.
-