"Fossies" - the Fresh Open Source Software Archive

Member "rpm-4.15.1/doc/librpm/html/structpgpPktOnepass__s.html" (13 Nov 2019, 10294 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
pgpPktOnepass_s Struct Reference

5.4. More...

#include <rpmpgp.h>

Data Fields

uint8_t version
uint8_t sigtype
uint8_t hash_algo
uint8_t pubkey_algo
pgpKeyID_t signid
uint8_t nested

Detailed Description


One-Pass Signature Packets (Tag 4)

The One-Pass Signature packet precedes the signed data and contains enough information to allow the receiver to begin calculating any hashes needed to verify the signature. It allows the Signature Packet to be placed at the end of the message, so that the signer can compute the entire signed message in one pass.

A One-Pass Signature does not interoperate with PGP 2.6.x or earlier.

The body of this packet consists of:

Note that if a message contains more than one one-pass signature, then the signature packets bracket the message; that is, the first signature packet after the message corresponds to the last one-pass packet and the final signature packet corresponds to the first one- pass packet.

Definition at line 527 of file rpmpgp.h.

Field Documentation

◆ hash_algo

uint8_t pgpPktOnepass_s::hash_algo

hash algorithm.

Definition at line 530 of file rpmpgp.h.

◆ nested

uint8_t pgpPktOnepass_s::nested

Definition at line 533 of file rpmpgp.h.

◆ pubkey_algo

uint8_t pgpPktOnepass_s::pubkey_algo

public key algorithm.

Definition at line 531 of file rpmpgp.h.

◆ signid

pgpKeyID_t pgpPktOnepass_s::signid

key ID of signer.

Definition at line 532 of file rpmpgp.h.

◆ sigtype

uint8_t pgpPktOnepass_s::sigtype

signature type.

Definition at line 529 of file rpmpgp.h.

◆ version

uint8_t pgpPktOnepass_s::version

version number (3).

Definition at line 528 of file rpmpgp.h.

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