org.opcfoundation.ua.transport.security
Class AllowAllCertificatesValidator
java.lang.Object
org.opcfoundation.ua.transport.security.AllowAllCertificatesValidator
- All Implemented Interfaces:
- CertificateValidator
public class AllowAllCertificatesValidator
- extends Object
- implements CertificateValidator
A CertificateValidator that allows all certificates.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllowAllCertificatesValidator
public AllowAllCertificatesValidator()
validateCertificate
public StatusCode validateCertificate(Cert c)
- Validate (peer's) certificate
- Specified by:
validateCertificate in interface CertificateValidator
- Parameters:
c - the certificate
- Returns:
- Bad statuscode to reject the certificate or Good to accept.
validateCertificate
public StatusCode validateCertificate(ApplicationDescription applicationDescription,
Cert cert)
- Description copied from interface:
CertificateValidator
- Validate the certificate against the ApplicationDescription.
- Specified by:
validateCertificate in interface CertificateValidator
- Parameters:
applicationDescription - the application descriptioncert - the certificate
- Returns:
- Bad statuscode to reject the certificate or Good to accept.
Copyright © 2018. All rights reserved.