PostgreSQL Source Code  git master
scram_state Struct Reference

Data Fields

scram_state_enum state
 
const char * username
 
Portport
 
bool channel_binding_in_use
 
int iterations
 
char * salt
 
uint8 StoredKey [SCRAM_KEY_LEN]
 
uint8 ServerKey [SCRAM_KEY_LEN]
 
char cbind_flag
 
char * client_first_message_bare
 
char * client_username
 
char * client_nonce
 
char * client_final_message_without_proof
 
char * client_final_nonce
 
char ClientProof [SCRAM_KEY_LEN]
 
char * server_first_message
 
char * server_nonce
 
bool doomed
 
char * logdetail
 

Detailed Description

Definition at line 134 of file auth-scram.c.

Field Documentation

◆ cbind_flag

char scram_state::cbind_flag

Definition at line 149 of file auth-scram.c.

Referenced by read_client_final_message(), and read_client_first_message().

◆ channel_binding_in_use

bool scram_state::channel_binding_in_use

Definition at line 141 of file auth-scram.c.

Referenced by read_client_final_message(), read_client_first_message(), and scram_init().

◆ client_final_message_without_proof

char* scram_state::client_final_message_without_proof

◆ client_final_nonce

char* scram_state::client_final_nonce

Definition at line 156 of file auth-scram.c.

Referenced by read_client_final_message(), and verify_final_nonce().

◆ client_first_message_bare

char* scram_state::client_first_message_bare

◆ client_nonce

char* scram_state::client_nonce

◆ client_username

char* scram_state::client_username

Definition at line 151 of file auth-scram.c.

Referenced by read_client_first_message().

◆ ClientProof

char scram_state::ClientProof[SCRAM_KEY_LEN]

Definition at line 157 of file auth-scram.c.

Referenced by read_client_final_message(), and verify_client_proof().

◆ doomed

bool scram_state::doomed

Definition at line 169 of file auth-scram.c.

Referenced by scram_exchange(), and scram_init().

◆ iterations

int scram_state::iterations

Definition at line 143 of file auth-scram.c.

Referenced by build_server_first_message(), and scram_init().

◆ logdetail

char* scram_state::logdetail

Definition at line 170 of file auth-scram.c.

Referenced by scram_exchange(), and scram_init().

◆ port

Port* scram_state::port

Definition at line 140 of file auth-scram.c.

Referenced by read_client_final_message(), read_client_first_message(), and scram_init().

◆ salt

char* scram_state::salt

Definition at line 144 of file auth-scram.c.

Referenced by build_server_first_message(), and scram_init().

◆ server_first_message

char* scram_state::server_first_message

◆ server_nonce

char* scram_state::server_nonce

Definition at line 161 of file auth-scram.c.

Referenced by build_server_first_message(), and verify_final_nonce().

◆ ServerKey

uint8 scram_state::ServerKey[SCRAM_KEY_LEN]

Definition at line 146 of file auth-scram.c.

Referenced by build_server_final_message(), and scram_init().

◆ state

scram_state_enum scram_state::state

Definition at line 136 of file auth-scram.c.

Referenced by scram_exchange(), and scram_init().

◆ StoredKey

uint8 scram_state::StoredKey[SCRAM_KEY_LEN]

Definition at line 145 of file auth-scram.c.

Referenced by scram_init(), and verify_client_proof().

◆ username

const char* scram_state::username

Definition at line 138 of file auth-scram.c.


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