PostgreSQL Source Code  git master
PGP_PubKey Struct Reference

#include <pgp.h>

Data Fields

uint8 ver
 
uint8 time [4]
 
uint8 algo
 
union {
   struct {
      PGP_MPI *   p
 
      PGP_MPI *   g
 
      PGP_MPI *   y
 
   }   elg
 
   struct {
      PGP_MPI *   n
 
      PGP_MPI *   e
 
   }   rsa
 
   struct {
      PGP_MPI *   p
 
      PGP_MPI *   q
 
      PGP_MPI *   g
 
      PGP_MPI *   y
 
   }   dsa
 
pub
 
union {
   struct {
      PGP_MPI *   x
 
   }   elg
 
   struct {
      PGP_MPI *   d
 
      PGP_MPI *   p
 
      PGP_MPI *   q
 
      PGP_MPI *   u
 
   }   rsa
 
   struct {
      PGP_MPI *   x
 
   }   dsa
 
sec
 
uint8 key_id [8]
 
int can_encrypt
 

Detailed Description

Definition at line 186 of file pgp.h.

Field Documentation

◆ algo

◆ can_encrypt

int PGP_PubKey::can_encrypt

Definition at line 236 of file pgp.h.

Referenced by _pgp_read_public_key(), and internal_read_key().

◆ d

PGP_MPI* PGP_PubKey::d

Definition at line 224 of file pgp.h.

◆  [1/2]

◆  [2/2]

struct { ... } PGP_PubKey::dsa

◆ e

PGP_MPI* PGP_PubKey::e

Definition at line 204 of file pgp.h.

◆  [1/2]

◆  [2/2]

struct { ... } PGP_PubKey::elg

◆ g

PGP_MPI* PGP_PubKey::g

Definition at line 198 of file pgp.h.

◆ key_id

uint8 PGP_PubKey::key_id[8]

◆ n

PGP_MPI* PGP_PubKey::n

Definition at line 203 of file pgp.h.

◆ p

PGP_MPI* PGP_PubKey::p

Definition at line 197 of file pgp.h.

◆ 

◆ q

PGP_MPI* PGP_PubKey::q

Definition at line 209 of file pgp.h.

◆  [1/2]

◆  [2/2]

struct { ... } PGP_PubKey::rsa

◆ 

◆ time

uint8 PGP_PubKey::time[4]

Definition at line 189 of file pgp.h.

Referenced by _pgp_read_public_key(), and calc_key_id().

◆ u

PGP_MPI* PGP_PubKey::u

Definition at line 227 of file pgp.h.

◆ ver

uint8 PGP_PubKey::ver

Definition at line 188 of file pgp.h.

Referenced by _pgp_read_public_key(), and calc_key_id().

◆ x

PGP_MPI* PGP_PubKey::x

Definition at line 220 of file pgp.h.

◆ y

PGP_MPI* PGP_PubKey::y

Definition at line 199 of file pgp.h.


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