.NET Based OPC UA Client/Server SDK
3.0.5.474
|
Used to access a TrustList object in an OPC UA Server. More...
Inherits UnifiedAutomation.UaClient.SessionMethodHelper.
Public Member Functions | |
TrustListManagement (ApplicationInstanceBase application) | |
Initializes a new instance of the TrustListManagement class. More... | |
TrustListManagement (Session session) | |
Initializes a new instance of the TrustListManagement class. More... | |
TrustListDataType | Read (TrustListMasks masks, int blockSize) |
Reads the trust list from the server. More... | |
IAsyncResult | BeginRead (TrustListMasks masks, int blockSize, AsyncCallback callback, object callbackData) |
Begins an operation to read the trust list from the server. More... | |
TrustListDataType | EndRead (IAsyncResult result) |
Completes an operation to read the trust list from the server. More... | |
bool | Write (TrustListDataType trustList, int blockSize) |
Writes the trust list to the server. More... | |
IAsyncResult | BeginWrite (TrustListDataType trustList, int blockSize, AsyncCallback callback, object callbackData) |
Begins an operation to write the trust list to the server. More... | |
bool | EndWrite (IAsyncResult result) |
Completes an operation to write the trust list to the server. More... | |
void | AddCertificate (byte[] certificate, bool isTrustedCertificate) |
Adds a certificate to the trust list. More... | |
IAsyncResult | BeginAddCertificate (byte[] certificate, bool isTrustedCertificate, AsyncCallback callback, object callbackData) |
Begins an operation to add a certificate to the trust list. More... | |
void | EndAddCertificate (IAsyncResult result) |
Completes an operation to add a certificate to the trust list. More... | |
void | RemoveCertificate (string thumbprint, bool isTrustedCertificate) |
Removes a certificate from the trust list. More... | |
IAsyncResult | BeginRemoveCertificate (string thumbprint, bool isTrustedCertificate, AsyncCallback callback, object callbackData) |
Begins an operation to remove a certificate to the trust list. More... | |
void | EndRemoveCertificate (IAsyncResult result) |
Completes an operation to remove a certificate from the trust list. More... | |
Public Member Functions inherited from UnifiedAutomation.UaClient.SessionMethodHelper | |
SessionMethodHelper (ApplicationInstanceBase application) | |
Initializes a new instance of the SessionMethodHelper class. More... | |
SessionMethodHelper (Session session) | |
Initializes a new instance of the SessionMethodHelper class. More... | |
void | Dispose () |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
void | Connect (int timeout) |
Connects to the server. More... | |
void | BeginConnect (AsyncCallback callback, object callbackData) |
Connects to the server. More... | |
void | Disconnect () |
Disconnects from the server. More... | |
Properties | |
NodeId | TrustListId [get, set] |
Gets or sets the NodeId of the trust list object. More... | |
int | DefaultBlockSize [get, set] |
Gets or sets the default size of the block. More... | |
Properties inherited from UnifiedAutomation.UaClient.SessionMethodHelper | |
string | EndpointUrl [get, set] |
Gets or sets the endpoint URL. More... | |
Session | Session [get] |
Gets the session. More... | |
RequestSettings | DefaultRequestSettings [get, set] |
Gets or sets the default request settings. More... | |
int | DefaultTimeout [get] |
Gets the default timeout. More... | |
UserIdentity | AdminCredentials [get, set] |
Gets or sets the administrator credentials. More... | |
bool | IsConnected [get] |
Gets a value indicating whether a connection to the server is active. More... | |
bool | MustCloseSession [get] |
A flag indicating that the object created the session and therefore must close it. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from UnifiedAutomation.UaClient.SessionMethodHelper | |
virtual void | Dispose (bool disposing) |
Releases unmanaged and—optionally—managed resources. More... | |
UserIdentity | RequestAdminCredentials () |
Gets the admin credentials. More... | |
Events inherited from UnifiedAutomation.UaClient.SessionMethodHelper | |
EventHandler | ServerStatusChanged |
Occurs when the server status changes. More... | |
EventHandler < CredentialsRequiredEventArgs > | AdminCredentialsRequired |
Raised when admin credentials are required. More... | |
Used to access a TrustList object in an OPC UA Server.
|
inline |
Initializes a new instance of the TrustListManagement class.
application | The application to use. |
|
inline |
Initializes a new instance of the TrustListManagement class.
session | The session to use. |
|
inline |
Adds a certificate to the trust list.
certificate | The certificate to add. |
isTrustedCertificate | if set to true the certificate is placed in the trusted certificate store. |
|
inline |
Begins an operation to add a certificate to the trust list.
certificate | The certificate to add. |
isTrustedCertificate | if set to true the certificate is placed in the trusted certificate store. |
callback | The callback. |
callbackData | The callback data. |
|
inline |
Begins an operation to read the trust list from the server.
masks | The masks which specify the components of the trust list to return. |
blockSize | Size of the block to use when reading the the trust list. If 0 then the DefaultBlockSize is used. |
callback | The callback. |
callbackData | The callback data. |
|
inline |
Begins an operation to remove a certificate to the trust list.
thumbprint | The thumbprint of the certificate to remove. |
isTrustedCertificate | if set to true the certificate is removed from the trusted certificate store. |
callback | The callback. |
callbackData | The callback data. |
|
inline |
Begins an operation to write the trust list to the server.
trustList | The trust list. |
blockSize | Size of the block to use when writing the the trust list. If 0 then the DefaultBlockSize is used. |
callback | The callback. |
callbackData | The callback data. |
|
inline |
Completes an operation to add a certificate to the trust list.
result | The object used to manage the state of the asychronous operation. |
|
inline |
Completes an operation to read the trust list from the server.
result | The object used to manage the state of the asychronous operation. |
|
inline |
Completes an operation to remove a certificate from the trust list.
result | The object used to manage the state of the asychronous operation. |
|
inline |
Completes an operation to write the trust list to the server.
result | The object used to manage the state of the asychronous operation. |
The trust list.
True if the ApplyChanges method must be called to apply the changes.
|
inline |
Reads the trust list from the server.
masks | The masks which specify the components of the trust list to return. |
blockSize | Size of the block to use when reading the the trust list. If 0 then the DefaultBlockSize is used. |
|
inline |
Removes a certificate from the trust list.
thumbprint | The thumbprint of the certificate to remove. |
isTrustedCertificate | if set to true the certificate is removed from the trusted certificate store. |
|
inline |
Writes the trust list to the server.
trustList | The trust list. |
blockSize | Size of the block to use when writing the the trust list. If 0 then the DefaultBlockSize is used. |
|
getset |
Gets or sets the default size of the block.
The default size of the block.
|
getset |
Gets or sets the NodeId of the trust list object.
The NodeId of the trust list object.