Files
dotnet-packaging/Packaging.Targets/Rpm/IPackageSigner.cs
Frederik Carlier 6fd0493a5b Make package creation more flexible:
- 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)
2017-10-13 00:17:03 +02:00

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);
}
}