Data Fields

pgpPktKeyV4_s Struct Reference
[RPMPGP.]

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

rpmuint8_t version
rpmuint8_t time [4]
rpmuint8_t 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 740 of file rpmpgp.h.


Field Documentation

public key algorithm.

Definition at line 743 of file rpmpgp.h.

Referenced by pgpPrtKey(), and pgpPubkeyFingerprint().

time that the key was created.

Definition at line 742 of file rpmpgp.h.

Referenced by pgpPrtKey().

version number (4).

Definition at line 741 of file rpmpgp.h.

Referenced by pgpPrtKey().


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