"Fossies" - the Fresh Open Source Software Archive

Member "rpm-4.15.1/doc/librpm/html/structpgpPktPubkey__s.html" (13 Nov 2019, 7788 Bytes) of package /linux/misc/rpm-4.15.1.tar.bz2:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the rpm-4.15.1.tar.bz2 project site itself.

rpm  4.15.0
Data Fields
pgpPktPubkey_s Struct Reference

5.1. More...

#include <rpmpgp.h>

Data Fields

uint8_t version
 
pgpKeyID_t keyid
 
uint8_t algo
 

Detailed Description

5.1.

Public-Key Encrypted Session Key Packets (Tag 1)

A Public-Key Encrypted Session Key packet holds the session key used to encrypt a message. Zero or more Encrypted Session Key packets (either Public-Key or Symmetric-Key) may precede a Symmetrically Encrypted Data Packet, which holds an encrypted message. The message is encrypted with the session key, and the session key is itself encrypted and stored in the Encrypted Session Key packet(s). The Symmetrically Encrypted Data Packet is preceded by one Public-Key Encrypted Session Key packet for each OpenPGP key to which the message is encrypted. The recipient of the message finds a session key that is encrypted to their public key, decrypts the session key, and then uses the session key to decrypt the message.

The body of this packet consists of:

Algorithm Specific Fields for RSA encryption

Algorithm Specific Fields for Elgamal encryption:

Definition at line 106 of file rpmpgp.h.

Field Documentation

◆ algo

uint8_t pgpPktPubkey_s::algo

public key algorithm used.

Definition at line 109 of file rpmpgp.h.

◆ keyid

pgpKeyID_t pgpPktPubkey_s::keyid

key ID of the public key for session key.

Definition at line 108 of file rpmpgp.h.

◆ version

uint8_t pgpPktPubkey_s::version

version number (generate 3, accept 2).

Definition at line 107 of file rpmpgp.h.


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