rpm  4.17.0
Data Fields
pgpPktSigV3_s Struct Reference

5.2.2. More...

#include <rpmpgp.h>

Data Fields

uint8_t version
uint8_t hashlen
uint8_t sigtype
pgpTime_t time
pgpKeyID_t signid
uint8_t pubkey_algo
uint8_t hash_algo
uint8_t signhash16 [2]

Detailed Description


Version 3 Signature Packet Format

The body of a version 3 Signature Packet contains:

Algorithm Specific Fields for RSA signatures:

Algorithm Specific Fields for DSA and EdDSA signatures:

Definition at line 314 of file rpmpgp.h.

Field Documentation

◆ hash_algo

uint8_t pgpPktSigV3_s::hash_algo

hash algorithm.

Definition at line 321 of file rpmpgp.h.

◆ hashlen

uint8_t pgpPktSigV3_s::hashlen

length of following hashed material. MUST be 5.

Definition at line 316 of file rpmpgp.h.

◆ pubkey_algo

uint8_t pgpPktSigV3_s::pubkey_algo

public key algorithm.

Definition at line 320 of file rpmpgp.h.

◆ signhash16

uint8_t pgpPktSigV3_s::signhash16[2]

left 16 bits of signed hash value.

Definition at line 322 of file rpmpgp.h.

◆ signid

pgpKeyID_t pgpPktSigV3_s::signid

key ID of signer.

Definition at line 319 of file rpmpgp.h.

◆ sigtype

uint8_t pgpPktSigV3_s::sigtype

signature type.

Definition at line 317 of file rpmpgp.h.

◆ time

pgpTime_t pgpPktSigV3_s::time

4 byte creation time.

Definition at line 318 of file rpmpgp.h.

◆ version

uint8_t pgpPktSigV3_s::version

version number (3).

Definition at line 315 of file rpmpgp.h.

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