PostgreSQL Source Code  git master
PGP_Context Struct Reference

#include <pgp.h>

Data Fields

PGP_S2K s2k
 
int s2k_mode
 
int s2k_count
 
int s2k_digest_algo
 
int s2k_cipher_algo
 
int cipher_algo
 
int compress_algo
 
int compress_level
 
int disable_mdc
 
int use_sess_key
 
int text_mode
 
int convert_crlf
 
int unicode_mode
 
int mdc_checked
 
int corrupt_prefix
 
int unsupported_compr
 
int unexpected_binary
 
int in_mdc_pkt
 
int use_mdcbuf_filter
 
PX_MDmdc_ctx
 
PGP_PubKeypub_key
 
const uint8sym_key
 
int sym_key_len
 
uint8 sess_key [PGP_MAX_KEY]
 
unsigned sess_key_len
 

Detailed Description

Definition at line 134 of file pgp.h.

Field Documentation

◆ cipher_algo

◆ compress_algo

int PGP_Context::compress_algo

◆ compress_level

int PGP_Context::compress_level

Definition at line 146 of file pgp.h.

Referenced by pgp_encrypt(), pgp_init(), and pgp_set_compress_level().

◆ convert_crlf

int PGP_Context::convert_crlf

Definition at line 150 of file pgp.h.

Referenced by parse_literal_data(), pgp_encrypt(), pgp_init(), and pgp_set_convert_crlf().

◆ corrupt_prefix

int PGP_Context::corrupt_prefix

Definition at line 157 of file pgp.h.

Referenced by pgp_decrypt().

◆ disable_mdc

int PGP_Context::disable_mdc

◆ in_mdc_pkt

int PGP_Context::in_mdc_pkt

Definition at line 160 of file pgp.h.

Referenced by mdc_finish().

◆ mdc_checked

int PGP_Context::mdc_checked

Definition at line 156 of file pgp.h.

Referenced by mdc_finish().

◆ mdc_ctx

PX_MD* PGP_Context::mdc_ctx

Definition at line 162 of file pgp.h.

Referenced by mdc_finish(), mdc_free(), mdc_init(), mdcbuf_finish(), and mdcbuf_load_data().

◆ pub_key

PGP_PubKey* PGP_Context::pub_key

◆ s2k

◆ s2k_cipher_algo

int PGP_Context::s2k_cipher_algo

◆ s2k_count

int PGP_Context::s2k_count

Definition at line 141 of file pgp.h.

Referenced by init_s2k_key(), parse_symenc_sesskey(), pgp_init(), and pgp_set_s2k_count().

◆ s2k_digest_algo

int PGP_Context::s2k_digest_algo

Definition at line 142 of file pgp.h.

Referenced by init_s2k_key(), parse_symenc_sesskey(), pgp_init(), and pgp_set_s2k_digest_algo().

◆ s2k_mode

int PGP_Context::s2k_mode

◆ sess_key

◆ sess_key_len

◆ sym_key

const uint8* PGP_Context::sym_key

Definition at line 165 of file pgp.h.

Referenced by init_s2k_key(), parse_symenc_sesskey(), pgp_encrypt(), and pgp_set_symkey().

◆ sym_key_len

int PGP_Context::sym_key_len

Definition at line 166 of file pgp.h.

Referenced by init_s2k_key(), parse_symenc_sesskey(), and pgp_set_symkey().

◆ text_mode

int PGP_Context::text_mode

◆ unexpected_binary

int PGP_Context::unexpected_binary

Definition at line 159 of file pgp.h.

Referenced by parse_literal_data(), and pgp_decrypt().

◆ unicode_mode

int PGP_Context::unicode_mode

◆ unsupported_compr

int PGP_Context::unsupported_compr

Definition at line 158 of file pgp.h.

Referenced by parse_compressed_data(), and pgp_decrypt().

◆ use_mdcbuf_filter

int PGP_Context::use_mdcbuf_filter

Definition at line 161 of file pgp.h.

Referenced by mdc_finish(), mdc_free(), mdcbuf_init(), and process_data_packets().

◆ use_sess_key

int PGP_Context::use_sess_key

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