org.opcfoundation.ua.transport.security
Interface CertificateValidator
- All Known Implementing Classes:
- AllowAllCertificatesValidator, CertificateValidatorImpl, DefaultCertificateValidator
public interface CertificateValidator
Certificate Validator estimates the validity of a certificate.
- See Also:
AllowAllCertificatesValidator,
DefaultCertificateValidator
ALLOW_ALL
static final CertificateValidator ALLOW_ALL
validateCertificate
StatusCode validateCertificate(Cert cert)
- Validate (peer's) certificate
- Parameters:
cert - the certificate
- Returns:
- Bad statuscode to reject the certificate or Good to accept.
validateCertificate
StatusCode validateCertificate(ApplicationDescription applicationDescription,
Cert cert)
- Validate the certificate against the ApplicationDescription.
- Parameters:
applicationDescription - the application descriptioncert - the certificate
- Returns:
- Bad statuscode to reject the certificate or Good to accept.
Copyright © 2018. All rights reserved.