53 lines
2.1 KiB
C#
53 lines
2.1 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Security.Cryptography
|
|
{
|
|
/// <summary>Specifies flags that modify the behavior of the cryptographic service providers (CSP).</summary>
|
|
// Token: 0x020003F7 RID: 1015
|
|
[Token(Token = "0x20003F7")]
|
|
[Flags]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public enum CspProviderFlags
|
|
{
|
|
/// <summary>Do not specify any settings.</summary>
|
|
// Token: 0x040013CF RID: 5071
|
|
[Token(Token = "0x40013CF")]
|
|
NoFlags = 0,
|
|
/// <summary>Use key information from the computer's key store.</summary>
|
|
// Token: 0x040013D0 RID: 5072
|
|
[Token(Token = "0x40013D0")]
|
|
UseMachineKeyStore = 1,
|
|
/// <summary>Use key information from the default key container.</summary>
|
|
// Token: 0x040013D1 RID: 5073
|
|
[Token(Token = "0x40013D1")]
|
|
UseDefaultKeyContainer = 2,
|
|
/// <summary>Use key information that cannot be exported.</summary>
|
|
// Token: 0x040013D2 RID: 5074
|
|
[Token(Token = "0x40013D2")]
|
|
UseNonExportableKey = 4,
|
|
/// <summary>Use key information from the current key.</summary>
|
|
// Token: 0x040013D3 RID: 5075
|
|
[Token(Token = "0x40013D3")]
|
|
UseExistingKey = 8,
|
|
/// <summary>Allow a key to be exported for archival or recovery.</summary>
|
|
// Token: 0x040013D4 RID: 5076
|
|
[Token(Token = "0x40013D4")]
|
|
UseArchivableKey = 16,
|
|
/// <summary>Notify the user through a dialog box or another method when certain actions are attempting to use a key. This flag is not compatible with the <see cref="F:System.Security.Cryptography.CspProviderFlags.NoPrompt" /> flag.</summary>
|
|
// Token: 0x040013D5 RID: 5077
|
|
[Token(Token = "0x40013D5")]
|
|
UseUserProtectedKey = 32,
|
|
/// <summary>Prevent the CSP from displaying any user interface (UI) for this context.</summary>
|
|
// Token: 0x040013D6 RID: 5078
|
|
[Token(Token = "0x40013D6")]
|
|
NoPrompt = 64,
|
|
/// <summary>Create a temporary key that is released when the associated Rivest-Shamir-Adleman (RSA) object is closed. Do not use this flag if you want your key to be independent of the RSA object.</summary>
|
|
// Token: 0x040013D7 RID: 5079
|
|
[Token(Token = "0x40013D7")]
|
|
CreateEphemeralKey = 128
|
|
}
|
|
}
|