|
Quantum Secure Tunneling Protocol 1.0.0.0a (A1)
A three-party quantum secure encrypted tunneling protocol
|
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 |
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. | uint64_t expiration |
The expiration time in seconds from epoch
| uint8_t* prikey |
Pointer to the asymmetric cipher private key
| uint8_t* pubkey |
Pointer to the asymmetric cipher public key
| uint8_t schash[QSTP_CERTIFICATE_HASH_SIZE] |
The session token hash
| uint8_t serial[QSTP_CERTIFICATE_SERIAL_SIZE] |
The key identity string (certificate serial number)
| uint8_t sigkey[QSTP_ASYMMETRIC_SIGNING_KEY_SIZE] |
The asymmetric signature signing key
| uint8_t verkey[QSTP_ASYMMETRIC_VERIFICATION_KEY_SIZE] |
The local asymmetric signature verification key