mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-15 13:46:36 +00:00
- Allow faking the PGP signatures (useful for unit tests) - Allow including the version name in RPM name in the RPM lead - Don't populate prein/postin/preout/postout keys if no scripts are present - Allow passing a compressed payload stream (useful for unit tests)
14 lines
323 B
C#
14 lines
323 B
C#
using Org.BouncyCastle.Bcpg.OpenPgp;
|
|
using System.IO;
|
|
|
|
namespace Packaging.Targets.Rpm
|
|
{
|
|
/// <summary>
|
|
/// Common interface for any class that can generate PGP signatures of a <see cref="Stream"/>.
|
|
/// </summary>
|
|
internal interface IPackageSigner
|
|
{
|
|
PgpSignature Sign(Stream payload);
|
|
}
|
|
}
|