Quantum Secure Tunneling Protocol 1.0.0.0a (A1)
A three-party quantum secure encrypted tunneling protocol
qstp_kex_server_state Struct Reference

The QSTP server state structure. More...

#include <kex.h>

Data Fields

uint8_t * prikey
 
uint8_t * pubkey
 
uint8_t serial [QSTP_CERTIFICATE_SERIAL_SIZE]
 
uint8_t schash [QSTP_CERTIFICATE_HASH_SIZE]
 
uint8_t sigkey [QSTP_ASYMMETRIC_SIGNING_KEY_SIZE]
 
uint8_t verkey [QSTP_ASYMMETRIC_VERIFICATION_KEY_SIZE]
 
uint64_t expiration
 

Detailed Description

The QSTP server state structure.

This structure holds the state information for a server participating in a key exchange. It includes:

  • prikey: A pointer to the server's private key for the asymmetric cipher.
  • pubkey: A pointer to the server's public key for the asymmetric cipher.
  • serial: The certificate serial number acting as the key identity.
  • schash: The session token hash used to secure the key exchange.
  • sigkey: The server's private signing key used for signing key exchange data.
  • verkey: The local asymmetric signature verification key.
  • expiration: The expiration time (in seconds from the epoch) for the key exchange session.

Field Documentation

◆ expiration

uint64_t expiration

The expiration time in seconds from epoch

◆ prikey

uint8_t* prikey

Pointer to the asymmetric cipher private key

◆ pubkey

uint8_t* pubkey

Pointer to the asymmetric cipher public key

◆ schash

uint8_t schash[QSTP_CERTIFICATE_HASH_SIZE]

The session token hash

◆ serial

The key identity string (certificate serial number)

◆ sigkey

The asymmetric signature signing key

◆ verkey

The local asymmetric signature verification key


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