X509Credentials2.setProtectionLevel(ProtectionLevel protectionLevel) Method

Definition

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

public void setProtectionLevel(ProtectionLevel protectionLevel)
Parameters
protectionLevel
ProtectionLevel

The protection level of the credential.