X509Credentials2.setProtectionLevel(ProtectionLevel protectionLevel) Method

定义

Sets how communication is protected, default value is system.fabric.ProtectionLevel#ENCRYPTANDSIGN.

public void setProtectionLevel(ProtectionLevel protectionLevel)
参数
protectionLevel
ProtectionLevel

The protection level of the credential.

适用于