High Performance OPC UA Server SDK  1.2.0.193
seconv_channel Struct Reference

Holds all security relevant parameters of a particular secure channel. More...

#include <seconv_types.h>

Data Fields

struct sechan_basebase
 The sechan base managing this channel. More...
 
struct sechan_configconfig
 The security config used by this channel. More...
 
uint32_t channel_id
 The unique id assigned to the channel. More...
 
enum seconv_channel_state channel_state
 Current state of the secure channel. More...
 
enum ua_security_policy_id policy_id
 The id of the security policy used on this channel. More...
 
enum ua_messagesecuritymode security_mode
 The applied security mode (none, sign, s&e). More...
 
unsigned char * peer_cert
 The peer certificate in ASN1 encoding. More...
 
int32_t peer_cert_len
 Length of the peer certificate blob. More...
 
unsigned char peer_cert_thumb [20]
 The thumbprint of the peer certificate (always 20 bytes). More...
 
int32_t peer_cert_thumb_len
 Length of the peer certificate thumbprint blob. More...
 
unsigned char * own_nonce
 The locally created nonce. More...
 
int32_t own_nonce_len
 Length of the locally created nonce. More...
 
char * peer_nonce
 The remote created nonce. More...
 
int32_t peer_nonce_len
 Length of the remote created nonce. More...
 
struct crypto_key pub_key
 Peers public key. More...
 
int32_t ref_cnt
 Reference counter. More...
 
void * transport_handle
 Handle of the bound transport connection. More...
 
uint32_t num_tokens_total
 Total number of security tokens generated for this channel. More...
 
struct ua_channelsecuritytoken token_crnt
 Currently active security token. More...
 
struct seconv_keyset send_keys_crnt
 Keyset containing the encryption and signing keys. More...
 
struct seconv_keyset recv_keys_crnt
 Keyset containing the decryption and verification keys.
 
struct ua_channelsecuritytoken token_next
 Security token to be used after the current one. More...
 
struct seconv_keyset send_keys_next
 Keyset containing the send keys to be used after the current one. More...
 
struct seconv_keyset recv_keys_next
 Keyset containing the resv keys to be used after the current one.
 

Detailed Description

Holds all security relevant parameters of a particular secure channel.

Field Documentation

struct sechan_base* base

The sechan base managing this channel.

uint32_t channel_id

The unique id assigned to the channel.

enum seconv_channel_state channel_state

Current state of the secure channel.

struct sechan_config* config

The security config used by this channel.

uint32_t num_tokens_total

Total number of security tokens generated for this channel.

unsigned char* own_nonce

The locally created nonce.

int32_t own_nonce_len

Length of the locally created nonce.

unsigned char* peer_cert

The peer certificate in ASN1 encoding.

int32_t peer_cert_len

Length of the peer certificate blob.

unsigned char peer_cert_thumb[20]

The thumbprint of the peer certificate (always 20 bytes).

int32_t peer_cert_thumb_len

Length of the peer certificate thumbprint blob.

char* peer_nonce

The remote created nonce.

int32_t peer_nonce_len

Length of the remote created nonce.

enum ua_security_policy_id policy_id

The id of the security policy used on this channel.

struct crypto_key pub_key

Peers public key.

int32_t ref_cnt

Reference counter.

enum ua_messagesecuritymode security_mode

The applied security mode (none, sign, s&e).

struct seconv_keyset send_keys_crnt

Keyset containing the encryption and signing keys.

struct seconv_keyset send_keys_next

Keyset containing the send keys to be used after the current one.

struct ua_channelsecuritytoken token_crnt

Currently active security token.

struct ua_channelsecuritytoken token_next

Security token to be used after the current one.

void* transport_handle

Handle of the bound transport connection.


The documentation for this struct was generated from the following file: