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: 0x020002F5 RID: 757
|
|
[Token(Token = "0x20002F5")]
|
|
public enum EncryptionPolicy
|
|
{
|
|
/// <summary>Require encryption and never allow a NULL cipher.</summary>
|
|
// Token: 0x04000CD5 RID: 3285
|
|
[Token(Token = "0x4000CD5")]
|
|
RequireEncryption,
|
|
/// <summary>Prefer that full encryption be used, but allow a NULL cipher (no encryption) if the server agrees.</summary>
|
|
// Token: 0x04000CD6 RID: 3286
|
|
[Token(Token = "0x4000CD6")]
|
|
AllowNoEncryption,
|
|
/// <summary>Allow no encryption and request that a NULL cipher be used if the other endpoint can handle a NULL cipher.</summary>
|
|
// Token: 0x04000CD7 RID: 3287
|
|
[Token(Token = "0x4000CD7")]
|
|
NoEncryption
|
|
}
|
|
}
|