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


Field Documentation

version number (4).

Definition at line 682 of file rpmpgp.h.

Referenced by pgpPrtKey().

time that the key was created.

Definition at line 683 of file rpmpgp.h.

Referenced by pgpPrtKey().

public key algorithm.

Definition at line 684 of file rpmpgp.h.

Referenced by pgpPrtKey(), and pgpPubkeyFingerprint().


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

Generated on Fri Dec 12 13:02:13 2008 for rpm by  doxygen 1.5.6