rpm 4.19.0
The RPM Package Manager
|
#include <rpmpgp.h>
Public Attributes | |
uint8_t | version |
uint8_t | sigtype |
uint8_t | hash_algo |
uint8_t | pubkey_algo |
pgpKeyID_t | signid |
uint8_t | nested |
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.
uint8_t pgpPktOnepass_s::hash_algo |
hash algorithm.
uint8_t pgpPktOnepass_s::pubkey_algo |
public key algorithm.
pgpKeyID_t pgpPktOnepass_s::signid |
key ID of signer.
uint8_t pgpPktOnepass_s::sigtype |
signature type.
uint8_t pgpPktOnepass_s::version |
version number (3).