Files
2026-06-04 11:42:34 +02:00

42 lines
1.5 KiB
C#

using System;
namespace System.Security.Cryptography.X509Certificates
{
/// <summary>Defines how the certificate key can be used. If this value is not defined, the key can be used for any purpose.</summary>
// Token: 0x0200029B RID: 667
[Flags]
public enum X509KeyUsageFlags
{
/// <summary>No key usage parameters.</summary>
// Token: 0x04001361 RID: 4961
None = 0,
/// <summary>The key can be used for encryption only.</summary>
// Token: 0x04001362 RID: 4962
EncipherOnly = 1,
/// <summary>The key can be used to sign a certificate revocation list (CRL).</summary>
// Token: 0x04001363 RID: 4963
CrlSign = 2,
/// <summary>The key can be used to sign certificates.</summary>
// Token: 0x04001364 RID: 4964
KeyCertSign = 4,
/// <summary>The key can be used to determine key agreement, such as a key created using the Diffie-Hellman key agreement algorithm.</summary>
// Token: 0x04001365 RID: 4965
KeyAgreement = 8,
/// <summary>The key can be used for data encryption.</summary>
// Token: 0x04001366 RID: 4966
DataEncipherment = 16,
/// <summary>The key can be used for key encryption.</summary>
// Token: 0x04001367 RID: 4967
KeyEncipherment = 32,
/// <summary>The key can be used for authentication.</summary>
// Token: 0x04001368 RID: 4968
NonRepudiation = 64,
/// <summary>The key can be used as a digital signature.</summary>
// Token: 0x04001369 RID: 4969
DigitalSignature = 128,
/// <summary>The key can be used for decryption only.</summary>
// Token: 0x0400136A RID: 4970
DecipherOnly = 32768
}
}