Files
2026-04-10 22:50:51 +02:00

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: 0x020003DB RID: 987
[Token(Token = "0x20003DB")]
[Flags]
[ComVisible(true)]
[Serializable]
public enum CspProviderFlags
{
/// <summary>Do not specify any settings.</summary>
// Token: 0x0400130C RID: 4876
[Token(Token = "0x400130C")]
NoFlags = 0,
/// <summary>Use key information from the computer's key store.</summary>
// Token: 0x0400130D RID: 4877
[Token(Token = "0x400130D")]
UseMachineKeyStore = 1,
/// <summary>Use key information from the default key container.</summary>
// Token: 0x0400130E RID: 4878
[Token(Token = "0x400130E")]
UseDefaultKeyContainer = 2,
/// <summary>Use key information that cannot be exported.</summary>
// Token: 0x0400130F RID: 4879
[Token(Token = "0x400130F")]
UseNonExportableKey = 4,
/// <summary>Use key information from the current key.</summary>
// Token: 0x04001310 RID: 4880
[Token(Token = "0x4001310")]
UseExistingKey = 8,
/// <summary>Allow a key to be exported for archival or recovery.</summary>
// Token: 0x04001311 RID: 4881
[Token(Token = "0x4001311")]
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: 0x04001312 RID: 4882
[Token(Token = "0x4001312")]
UseUserProtectedKey = 32,
/// <summary>Prevent the CSP from displaying any user interface (UI) for this context.</summary>
// Token: 0x04001313 RID: 4883
[Token(Token = "0x4001313")]
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: 0x04001314 RID: 4884
[Token(Token = "0x4001314")]
CreateEphemeralKey = 128
}
}