"Fossies" - the Fresh Open Source Software Archive

Member "rpm-4.15.1/doc/librpm/html/unionpgpPktSig__u.html" (13 Nov 2019, 6517 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
pgpPktSig_u Union Reference

5.2. More...

#include <rpmpgp.h>

Collaboration diagram for pgpPktSig_u:
Collaboration graph
[legend]

Data Fields

struct pgpPktSigV3_s v3
 
struct pgpPktSigV4_s v4
 

Detailed Description

5.2.

Signature Packet (Tag 2)

A signature packet describes a binding between some public key and some data. The most common signatures are a signature of a file or a block of text, and a signature that is a certification of a user ID.

Two versions of signature packets are defined. Version 3 provides basic signature information, while version 4 provides an expandable format with subpackets that can specify more information about the signature. PGP 2.6.x only accepts version 3 signatures.

Implementations MUST accept V3 signatures. Implementations SHOULD generate V4 signatures. Implementations MAY generate a V3 signature that can be verified by PGP 2.6.x.

Note that if an implementation is creating an encrypted and signed message that is encrypted to a V3 key, it is reasonable to create a V3 signature.

Definition at line 459 of file rpmpgp.h.

Field Documentation

◆ v3

struct pgpPktSigV3_s pgpPktSig_u::v3

Definition at line 460 of file rpmpgp.h.

◆ v4

struct pgpPktSigV4_s pgpPktSig_u::v4

Definition at line 461 of file rpmpgp.h.


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