File: src\FileSignInfoEntry.cs
Web Access
Project: src\src\Microsoft.DotNet.SignTool\Microsoft.DotNet.SignTool.csproj (Microsoft.DotNet.SignTool)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.DotNet.SignTool
{
    /// <summary>
    /// Represents file signing information including certificate name and DoNotUnpack flag.
    /// Certificate name can be null if only DoNotUnpack behavior needs to be specified.
    /// </summary>
    internal class FileSignInfoEntry
    {
        public string CertificateName { get; }
        public bool DoNotUnpack { get; }
 
        public FileSignInfoEntry(string certificateName = null, bool doNotUnpack = false)
        {
            CertificateName = certificateName;
            DoNotUnpack = doNotUnpack;
        }
    }
}