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

pgpPktOnepass_s Struct Reference

5.4. More...

#include <rpmpgp.h>


Data Fields

byte version
byte sigtype
byte hash_algo
byte pubkey_algo
byte signid [8]
byte nested


Detailed Description

5.4.

One-Pass Signature Packets (Tag 4)

The One-Pass Signature packet precedes the signed data and contains enough information to allow the receiver to begin calculating any hashes needed to verify the signature. It allows the Signature Packet to be placed at the end of the message, so that the signer can compute the entire signed message in one pass.

A One-Pass Signature does not interoperate with PGP 2.6.x or earlier.

The body of this packet consists of:

Note that if a message contains more than one one-pass signature, then the signature packets bracket the message; that is, the first signature packet after the message corresponds to the last one-pass packet and the final signature packet corresponds to the first one- pass packet.

Definition at line 553 of file rpmpgp.h.


Field Documentation

byte pgpPktOnepass_s::hash_algo
 

hash algorithm.

Definition at line 556 of file rpmpgp.h.

byte pgpPktOnepass_s::nested
 

Definition at line 559 of file rpmpgp.h.

byte pgpPktOnepass_s::pubkey_algo
 

public key algorithm.

Definition at line 557 of file rpmpgp.h.

byte pgpPktOnepass_s::signid[8]
 

key ID of signer.

Definition at line 558 of file rpmpgp.h.

byte pgpPktOnepass_s::sigtype
 

signature type.

Definition at line 555 of file rpmpgp.h.

byte pgpPktOnepass_s::version
 

version number (3).

Definition at line 554 of file rpmpgp.h.


The documentation for this struct was generated from the following file:
Generated on Sun Oct 26 13:02:09 2003 for rpm by doxygen1.2.18