File: System\Security\Cryptography\CngExportPolicies.cs
Web Access
Project: src\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj (System.Security.Cryptography)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System;
using System.Diagnostics;
 
namespace System.Security.Cryptography
{
    /// <summary>
    ///     Maps to the NCRYPT_EXPORT_POLICY_PROPERTY property flags.
    /// </summary>
    [Flags]
    public enum CngExportPolicies : int
    {
        None = 0x00000000,
        AllowExport = 0x00000001,               // NCRYPT_ALLOW_EXPORT_FLAG
        AllowPlaintextExport = 0x00000002,      // NCRYPT_ALLOW_PLAINTEXT_EXPORT_FLAG
        AllowArchiving = 0x00000004,            // NCRYPT_ALLOW_ARCHIVING_FLAG
        AllowPlaintextArchiving = 0x00000008,   // NCRYPT_ALLOW_PLAINTEXT_ARCHIVING_FLAG
    }
}