EncryptionPolicy EncryptionPolicy EncryptionPolicy EncryptionPolicy Enum

定义

要使用的 EncryptionPolicy。The EncryptionPolicy to use.

public enum class EncryptionPolicy
public enum EncryptionPolicy
type EncryptionPolicy = 
Public Enum EncryptionPolicy
继承
EncryptionPolicyEncryptionPolicyEncryptionPolicyEncryptionPolicy

字段

AllowNoEncryption AllowNoEncryption AllowNoEncryption AllowNoEncryption 1

虽然优先考虑使用完全加密,但若获得服务器同意,也可以使用 NULL 密码(不加密)。Prefer that full encryption be used, but allow a NULL cipher (no encryption) if the server agrees.

NoEncryption NoEncryption NoEncryption NoEncryption 2

允许不加密,并请求在另一个终结点可以处理 NULL 密码的情况下使用 NULL 密码。Allow no encryption and request that a NULL cipher be used if the other endpoint can handle a NULL cipher.

RequireEncryption RequireEncryption RequireEncryption RequireEncryption 0

要求加密,并且绝不允许使用 NULL 密码。Require encryption and never allow a NULL cipher.

示例

EncryptionPolicy将应用于 SSL/TLS 会话。The EncryptionPolicy will be applied to an SSL/TLS session.

注解

可以EncryptionPolicy设置为 "要求"、"允许" 或 "阻止加密"。The EncryptionPolicy can be set to require, allow, or prevent encryption.

适用于