org.opcfoundation.ua.transport.tcp.io
Class OpcTcpSettings

java.lang.Object
  extended by org.opcfoundation.ua.transport.tcp.io.OpcTcpSettings

public class OpcTcpSettings
extends Object

OpcTcpSettings class.


Nested Class Summary
static class OpcTcpSettings.Flag
           
 
Constructor Summary
OpcTcpSettings()
           
 
Method Summary
 OpcTcpSettings clone()
          
 CertificateValidator getCertificateValidator()
          Getter for the field certificateValidator.
 Cert getClientCertificate()
          Getter for the field clientCertificate.
 EnumSet<OpcTcpSettings.Flag> getFlags()
          Getter for the field flags.
 PrivKey getPrivKey()
          Getter for the field privKey.
 void readFrom(OpcTcpSettings tcs)
          readFrom.
 void setCertificateValidator(CertificateValidator certificateValidator)
          Setter for the field certificateValidator.
 void setClientCertificate(Cert clientCertificate)
          Setter for the field clientCertificate.
 void setClientCertificate(X509Certificate clientCertificate)
          Setter for the field clientCertificate.
 void setFlags(EnumSet<OpcTcpSettings.Flag> flags)
          Setter for the field flags.
 void setPrivKey(PrivKey privKey)
          Setter for the field privKey.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpcTcpSettings

public OpcTcpSettings()
Method Detail

getClientCertificate

public Cert getClientCertificate()

Getter for the field clientCertificate.

Returns:
a Cert object.

setClientCertificate

public void setClientCertificate(X509Certificate clientCertificate)
                          throws CertificateEncodingException

Setter for the field clientCertificate.

Parameters:
clientCertificate - a X509Certificate object.
Throws:
CertificateEncodingException - if any.

getCertificateValidator

public CertificateValidator getCertificateValidator()

Getter for the field certificateValidator.

Returns:
a CertificateValidator object.

setCertificateValidator

public void setCertificateValidator(CertificateValidator certificateValidator)

Setter for the field certificateValidator.

Parameters:
certificateValidator - a CertificateValidator object.

getPrivKey

public PrivKey getPrivKey()

Getter for the field privKey.

Returns:
a PrivKey object.

setPrivKey

public void setPrivKey(PrivKey privKey)

Setter for the field privKey.

Parameters:
privKey - a PrivKey object.

setClientCertificate

public void setClientCertificate(Cert clientCertificate)

Setter for the field clientCertificate.

Parameters:
clientCertificate - a Cert object.

getFlags

public EnumSet<OpcTcpSettings.Flag> getFlags()

Getter for the field flags.

Returns:
a EnumSet object.

setFlags

public void setFlags(EnumSet<OpcTcpSettings.Flag> flags)

Setter for the field flags.

Parameters:
flags - a EnumSet object.

readFrom

public void readFrom(OpcTcpSettings tcs)

readFrom.

Parameters:
tcs - a OpcTcpSettings object.

clone

public OpcTcpSettings clone()

Overrides:
clone in class Object


Copyright © 2018. All rights reserved.