S2OPC OPCUA Toolkit
|
Go to the source code of this file.
Functions | |
void | SOPC_SecureChannels_EnqueueInternalEvent (SOPC_SecureChannels_InternalEvent event, uint32_t id, uintptr_t params, uintptr_t auxParam) |
void | SOPC_SecureChannels_EnqueueInternalEventAsNext (SOPC_SecureChannels_InternalEvent event, uint32_t id, uintptr_t params, uintptr_t auxParam) |
Enumerator | |
---|---|
INT_EP_SC_CREATE | Creates a new SC connection to be associated with the given secure channel listener configuration index and socket index. |
INT_EP_SC_CLOSE | Closes the SC connection with the given connection index associated with this SC listener. |
INT_EP_SC_REVERSE_CONNECT | Server side only: Start reverse connection to a client reverse endpoint. |
INT_SC_RCV_RHE_TRANSITION | Client side only: |
INT_EP_SC_CREATED | The new SC connection, requested by INT_EP_SC_CREATE, has been created with given index and is associated with the given SC listener configuration index. Registers the connection as associated to the listener. |
INT_EP_SC_RHE_DECODED | Notify secure listener that connection is accepted. |
INT_EP_SC_DISCONNECTED | Notify listener that connection has been closed. |
INT_REVERSE_EP_REQ_CONNECTION | Client side only: |
INT_SC_RCV_HEL | Hello message has been received on the secure channel with given connection index |
INT_SC_RCV_ACK | Acknowledge message has been received on the secure channel with given connection index and byte buffer containing message payload. |
INT_SC_RCV_ERR | Error message has been received on the secure channel with given connection index |
INT_SC_RCV_OPN | An OPC UA OpenSecureChannel message has been received on the secure channel with given connection index and byte buffer containing unencrypted message payload. |
INT_SC_RCV_CLO | Same as INT_SC_RCV_OPN for CloseSecureChannel |
INT_SC_RCV_RHE | ReverseHello message was received on the secure channel with given connection index and byte buffer containing unencrypted message payload. |
INT_SC_RCV_MSG_CHUNKS | An OPC UA message has been received in one or several chunks on the secure channel with given connection index and byte buffer containing unencrypted message payload. |
INT_SC_RCV_MSG_CHUNK_ABORT | Notifies OPC UA message of type ABORT received. |
INT_SC_RCV_FAILURE | Reception of a message on the secure channel with given connection index failed. Closes the secure channel connection. |
INT_SC_SND_FATAL_FAILURE | Notifies encoding into chunks of an OPC UA message, provided as bytes buffer, failed during multi-chunk generation, signature or encryption. |
INT_SC_SENT_ABORT_FAILURE | Notifies encoding into chunks of an OPC UA ABORT message failed during multi-chunk generation, signature, encryption on transmission. |
INT_SC_SND_HEL | Provides an OPC UA TCP "Hello" message payload to send for the given connection index. |
INT_SC_SND_ACK | Same as INT_SC_SND_HEL for "Hello" message |
INT_SC_SND_ERR | Same as INT_SC_SND_HEL for "Error" message |
INT_SC_SND_RHE | Same as INT_SC_SND_HEL for "Reverse Hello" message |
INT_SC_SND_OPN | Provides OPC UA OpenSecureChannel message payload to send for the given connection index. |
INT_SC_SND_CLO | Provides OPC UA CloseSecureChannel message payload to send for the given connection index. |
INT_SC_SND_MSG_CHUNKS | Provides OPC UA unencrypted message to send on the secure channel with given connection index. |
INT_SC_CLOSE | Notifies to close the given connection index by modifying state to closed state. It is used to delay the effective closure just after sending an error message (INT_SC_SND_ERR). |
Enumerator | |
---|---|
TIMER_SC_CONNECTION_TIMEOUT | Clears the secure channel data (if it is still not connected) and notifies it. |
TIMER_SC_SERVER_REVERSE_CONN_RETRY | This event is triggered on connection retry timeout after a reverse connection failure. |
TIMER_SC_CLIENT_OPN_RENEW | Renews the secure channel security token. |
TIMER_SC_REQUEST_TIMEOUT | Clears the message request data and notifies it sending SC_REQUEST_TIMEOUT event to Services. |
TIMER_SC_RHE_RECEPTION_TIMEOUT | Timeout for reception of RHE message after socket connection from server |
void SOPC_SecureChannels_EnqueueInternalEvent | ( | SOPC_SecureChannels_InternalEvent | event, |
uint32_t | id, | ||
uintptr_t | params, | ||
uintptr_t | auxParam ) |
void SOPC_SecureChannels_EnqueueInternalEventAsNext | ( | SOPC_SecureChannels_InternalEvent | event, |
uint32_t | id, | ||
uintptr_t | params, | ||
uintptr_t | auxParam ) |