54 lines
1.9 KiB
C#
54 lines
1.9 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
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: 0x020001D3 RID: 467
|
|
[Token(Token = "0x20001D3")]
|
|
[Flags]
|
|
public enum X509KeyUsageFlags
|
|
{
|
|
/// <summary>No key usage parameters.</summary>
|
|
// Token: 0x04000698 RID: 1688
|
|
[Token(Token = "0x4000698")]
|
|
None = 0,
|
|
/// <summary>The key can be used for encryption only.</summary>
|
|
// Token: 0x04000699 RID: 1689
|
|
[Token(Token = "0x4000699")]
|
|
EncipherOnly = 1,
|
|
/// <summary>The key can be used to sign a certificate revocation list (CRL).</summary>
|
|
// Token: 0x0400069A RID: 1690
|
|
[Token(Token = "0x400069A")]
|
|
CrlSign = 2,
|
|
/// <summary>The key can be used to sign certificates.</summary>
|
|
// Token: 0x0400069B RID: 1691
|
|
[Token(Token = "0x400069B")]
|
|
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: 0x0400069C RID: 1692
|
|
[Token(Token = "0x400069C")]
|
|
KeyAgreement = 8,
|
|
/// <summary>The key can be used for data encryption.</summary>
|
|
// Token: 0x0400069D RID: 1693
|
|
[Token(Token = "0x400069D")]
|
|
DataEncipherment = 16,
|
|
/// <summary>The key can be used for key encryption.</summary>
|
|
// Token: 0x0400069E RID: 1694
|
|
[Token(Token = "0x400069E")]
|
|
KeyEncipherment = 32,
|
|
/// <summary>The key can be used for authentication.</summary>
|
|
// Token: 0x0400069F RID: 1695
|
|
[Token(Token = "0x400069F")]
|
|
NonRepudiation = 64,
|
|
/// <summary>The key can be used as a digital signature.</summary>
|
|
// Token: 0x040006A0 RID: 1696
|
|
[Token(Token = "0x40006A0")]
|
|
DigitalSignature = 128,
|
|
/// <summary>The key can be used for decryption only.</summary>
|
|
// Token: 0x040006A1 RID: 1697
|
|
[Token(Token = "0x40006A1")]
|
|
DecipherOnly = 32768
|
|
}
|
|
}
|