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 <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 685 of file rpmpgp.h.


Field Documentation

byte pgpPktKeyV4_s::version

version number (4).

Definition at line 686 of file rpmpgp.h.

Referenced by pgpPrtKey().

byte pgpPktKeyV4_s::time[4]

time that the key was created.

Definition at line 687 of file rpmpgp.h.

Referenced by pgpPrtKey().

byte pgpPktKeyV4_s::pubkey_algo

public key algorithm.

Definition at line 688 of file rpmpgp.h.

Referenced by pgpPrtKey().


The documentation for this struct was generated from the following file:
Generated on Fri Oct 12 08:44:57 2007 for rpm by  doxygen 1.5.2