Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

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


Field Documentation

byte pgpPktKeyV4_s::pubkey_algo
 

public key algorithm.

Definition at line 705 of file rpmpgp.h.

Referenced by pgpPrtKey(), and pgpPubkeyFingerprint().

byte pgpPktKeyV4_s::time[4]
 

time that the key was created.

Definition at line 704 of file rpmpgp.h.

Referenced by pgpPrtKey().

byte pgpPktKeyV4_s::version
 

version number (4).

Definition at line 703 of file rpmpgp.h.

Referenced by pgpPrtKey().


The documentation for this struct was generated from the following file:
Generated on Sat Oct 1 16:25:14 2011 for rpm by  doxygen 1.4.4