rpm  4.5
Data Fields
pgpPktKeyV4_s Struct Reference

The version 4 format is similar to the version 3 format except for the absence of a validity period. More...

#include <rpmio/rpmpgp.h>

Data Fields

byte version
byte time [4]
byte pubkey_algo

Detailed Description

The version 4 format is similar to the version 3 format except for the absence of a validity period.

This has been moved to the signature packet. In addition, fingerprints of version 4 keys are calculated differently from version 3 keys, as described in section "Enhanced Key Formats."

A version 4 packet contains:

Algorithm Specific Fields for RSA public keys:

Algorithm Specific Fields for DSA public keys:

Algorithm Specific Fields for Elgamal public keys:

Definition at line 704 of file rpmpgp.h.


Field Documentation

public key algorithm.

Definition at line 707 of file rpmpgp.h.

Referenced by pgpPrtKey(), and pgpPubkeyFingerprint().

time that the key was created.

Definition at line 706 of file rpmpgp.h.

Referenced by pgpPrtKey().

version number (4).

Definition at line 705 of file rpmpgp.h.

Referenced by pgpPrtKey().


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