org.opcfoundation.ua.transport.security
Class CertificateValidatorImpl

java.lang.Object
  extended by org.opcfoundation.ua.transport.security.CertificateValidatorImpl
All Implemented Interfaces:
CertificateValidator

Deprecated. use DefaultCertificateValidator

@Deprecated
public class CertificateValidatorImpl
extends Object
implements CertificateValidator

CertificateValidatorImpl class.


Field Summary
 
Fields inherited from interface org.opcfoundation.ua.transport.security.CertificateValidator
ALLOW_ALL
 
Constructor Summary
CertificateValidatorImpl()
          Deprecated. Constructor for CertificateValidatorImpl.
CertificateValidatorImpl(Cert... trustedCertificates)
          Deprecated. Constructor for CertificateValidatorImpl.
 
Method Summary
 void addTrustedCertificate(Cert certificate)
          Deprecated. addTrustedCertificate.
 void addTrustedSigner(Cert signer)
          Deprecated. addTrustedSigner.
 void addTrustedSignerPublicKey(PublicKey signerPublicKey)
          Deprecated. addTrustedSignerPublicKey.
 StatusCode validateCertificate(ApplicationDescription applicationDescription, Cert cert)
          Deprecated. Validate the certificate against the ApplicationDescription.
 StatusCode validateCertificate(Cert c)
          Deprecated. Validate (peer's) certificate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateValidatorImpl

public CertificateValidatorImpl()
Deprecated. 

Constructor for CertificateValidatorImpl.


CertificateValidatorImpl

public CertificateValidatorImpl(Cert... trustedCertificates)
Deprecated. 

Constructor for CertificateValidatorImpl.

Parameters:
trustedCertificates - a Cert object.
Method Detail

addTrustedCertificate

public void addTrustedCertificate(Cert certificate)
Deprecated. 

addTrustedCertificate.

Parameters:
certificate - a Cert object.

addTrustedSigner

public void addTrustedSigner(Cert signer)
Deprecated. 

addTrustedSigner.

Parameters:
signer - a Cert object.

addTrustedSignerPublicKey

public void addTrustedSignerPublicKey(PublicKey signerPublicKey)
Deprecated. 

addTrustedSignerPublicKey.

Parameters:
signerPublicKey - a PublicKey object.

validateCertificate

public StatusCode validateCertificate(Cert c)
Deprecated. 
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)
Deprecated. 
Description copied from interface: CertificateValidator
Validate the certificate against the ApplicationDescription.

Specified by:
validateCertificate in interface CertificateValidator
Parameters:
applicationDescription - the application description
cert - the certificate
Returns:
Bad statuscode to reject the certificate or Good to accept.


Copyright © 2018. All rights reserved.