13 references to RpmSignatureTag
Microsoft.DotNet.Build.Tasks.Installers (13)
src\RpmBuilder.cs (7)
383List<RpmHeader<RpmSignatureTag>.Entry> signatureEntries = [ 384new(RpmSignatureTag.UncompressedPayloadSize, RpmHeaderEntryType.Int32, new[] { (int)cpioArchive.Length }), 385new(RpmSignatureTag.HeaderAndPayloadSize, RpmHeaderEntryType.Int32, new[] { (int)headerStream.Length + (int)compressedPayload.Length }), 392signatureEntries.Add(new(RpmSignatureTag.Sha1Header, RpmHeaderEntryType.String, HexConverter.ToHexStringLower(sha1.ComputeHash(headerStream)))); 397signatureEntries.Add(new(RpmSignatureTag.Sha256Header, RpmHeaderEntryType.String, HexConverter.ToHexStringLower(sha256.ComputeHash(headerStream)))); 400signatureEntries.Add(new(RpmSignatureTag.ReservedSpace, RpmHeaderEntryType.Binary, new ArraySegment<byte>(new byte[4128]))); 401RpmHeader<RpmSignatureTag> signature = new(signatureEntries);
src\RpmPackage.cs (6)
15internal sealed class RpmPackage(RpmLead lead, RpmHeader<RpmSignatureTag> signature, RpmHeader<RpmHeaderTag> header, MemoryStream archiveStream) : IDisposable 18public RpmHeader<RpmSignatureTag> Signature { get; set; } = signature; 26RpmHeader<RpmSignatureTag> signature = RpmHeader<RpmSignatureTag>.Read(stream, RpmSignatureTag.HeaderSignatures); 45Signature.WriteTo(stream, RpmSignatureTag.HeaderSignatures);