rpm: Signature API.

rpm 4.20.0 The RPM Package Manager

Loading...
Searching...
No Matches
Functions
Signature API.
Building & signing packages:

How to add or remove a signature from a package header. More...

Collaboration diagram for Signature API.:

## Functions
int | rpmPkgSign (const char *path, const struct rpmSignArgs *args)
int | rpmPkgDelSign (const char *path, const struct rpmSignArgs *args)
int | rpmPkgDelFileSign (const char *path, const struct rpmSignArgs *args)

## Detailed Description

How to add or remove a signature from a package header.

## Function Documentation

## ◆ rpmPkgDelFileSign()

int rpmPkgDelFileSign | ( | const char * | path,
|  | const struct rpmSignArgs * | args )

Delete file signature(s) from a package

Parameters

  path | path to package
  args | signing parameters (or NULL for defaults)

Returns
  0 on success

## ◆ rpmPkgDelSign()

int rpmPkgDelSign | ( | const char * | path,
|  | const struct rpmSignArgs * | args )

Delete signature(s) from a package

Parameters

  path | path to package
  args | signing parameters (or NULL for defaults)

Returns
  0 on success

## ◆ rpmPkgSign()

int rpmPkgSign | ( | const char * | path,
|  | const struct rpmSignArgs * | args )

Sign a package

Parameters

  path | path to package
  args | signing parameters (or NULL for defaults)

Returns
  0 on success