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: 0x020001D7 RID: 471
|
|
[Token(Token = "0x20001D7")]
|
|
[Flags]
|
|
public enum X509KeyUsageFlags
|
|
{
|
|
/// <summary>No key usage parameters.</summary>
|
|
// Token: 0x040006A5 RID: 1701
|
|
[Token(Token = "0x40006A5")]
|
|
None = 0,
|
|
/// <summary>The key can be used for encryption only.</summary>
|
|
// Token: 0x040006A6 RID: 1702
|
|
[Token(Token = "0x40006A6")]
|
|
EncipherOnly = 1,
|
|
/// <summary>The key can be used to sign a certificate revocation list (CRL).</summary>
|
|
// Token: 0x040006A7 RID: 1703
|
|
[Token(Token = "0x40006A7")]
|
|
CrlSign = 2,
|
|
/// <summary>The key can be used to sign certificates.</summary>
|
|
// Token: 0x040006A8 RID: 1704
|
|
[Token(Token = "0x40006A8")]
|
|
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: 0x040006A9 RID: 1705
|
|
[Token(Token = "0x40006A9")]
|
|
KeyAgreement = 8,
|
|
/// <summary>The key can be used for data encryption.</summary>
|
|
// Token: 0x040006AA RID: 1706
|
|
[Token(Token = "0x40006AA")]
|
|
DataEncipherment = 16,
|
|
/// <summary>The key can be used for key encryption.</summary>
|
|
// Token: 0x040006AB RID: 1707
|
|
[Token(Token = "0x40006AB")]
|
|
KeyEncipherment = 32,
|
|
/// <summary>The key can be used for authentication.</summary>
|
|
// Token: 0x040006AC RID: 1708
|
|
[Token(Token = "0x40006AC")]
|
|
NonRepudiation = 64,
|
|
/// <summary>The key can be used as a digital signature.</summary>
|
|
// Token: 0x040006AD RID: 1709
|
|
[Token(Token = "0x40006AD")]
|
|
DigitalSignature = 128,
|
|
/// <summary>The key can be used for decryption only.</summary>
|
|
// Token: 0x040006AE RID: 1710
|
|
[Token(Token = "0x40006AE")]
|
|
DecipherOnly = 32768
|
|
}
|
|
}
|