25 lines
804 B
C#
25 lines
804 B
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net.Security
|
|
{
|
|
/// <summary>The EncryptionPolicy to use.</summary>
|
|
// Token: 0x020002F1 RID: 753
|
|
[Token(Token = "0x20002F1")]
|
|
public enum EncryptionPolicy
|
|
{
|
|
/// <summary>Require encryption and never allow a NULL cipher.</summary>
|
|
// Token: 0x04000CC8 RID: 3272
|
|
[Token(Token = "0x4000CC8")]
|
|
RequireEncryption,
|
|
/// <summary>Prefer that full encryption be used, but allow a NULL cipher (no encryption) if the server agrees.</summary>
|
|
// Token: 0x04000CC9 RID: 3273
|
|
[Token(Token = "0x4000CC9")]
|
|
AllowNoEncryption,
|
|
/// <summary>Allow no encryption and request that a NULL cipher be used if the other endpoint can handle a NULL cipher.</summary>
|
|
// Token: 0x04000CCA RID: 3274
|
|
[Token(Token = "0x4000CCA")]
|
|
NoEncryption
|
|
}
|
|
}
|