EncryptionPolicy 列舉

定義

要使用的加密原則。The EncryptionPolicy to use.

public enum class EncryptionPolicy
public enum EncryptionPolicy
type EncryptionPolicy = 
Public Enum EncryptionPolicy
繼承
EncryptionPolicy

欄位

AllowNoEncryption 1

建議使用完整加密,但是在伺服器同意情況下,則允許 NULL Cipher (不加密)。Prefer that full encryption be used, but allow a NULL cipher (no encryption) if the server agrees.

NoEncryption 2

如果其他端點可處理 NULL Cipher,則允許不加密並要求使用 NULL Cipher。Allow no encryption and request that a NULL cipher be used if the other endpoint can handle a NULL cipher.

RequireEncryption 0

要求加密,且永遠不允許 NULL Cipher。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.

適用於