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

Field Summary
static CertificateValidator ALLOW_ALL
           
 
Method Summary
 StatusCode validateCertificate(ApplicationDescription applicationDescription, Cert cert)
          Validate the certificate against the ApplicationDescription.
 StatusCode validateCertificate(Cert cert)
          Validate (peer's) certificate
 

Field Detail

ALLOW_ALL

static final CertificateValidator ALLOW_ALL
Method Detail

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 description
cert - the certificate
Returns:
Bad statuscode to reject the certificate or Good to accept.


Copyright © 2018. All rights reserved.