X509Credentials2 Class
- java.
lang. Object - SecurityCredentials
- system.
fabric. X509Credentials2
- system.
public class X509Credentials2 extends SecurityCredentials
Specifies the security credentials that are based upon X.509 certificates which are specified using the certificate path.
Constructor | Description |
---|---|
X509Credentials2(String certificate |
Creates a new instance of the system.fabric.X509Credentials2 class. |
Modifier and Type | Method and Description |
---|---|
String |
get Indicates the file/ folder location of the certificate |
Protection |
get Gets how communication is protected, default value is ENCRYPTANDSIGN. |
List<String> |
get Gets the list of remote certificate thumbprints, used to validate remote X509Credentials |
List<X509Name> |
get Gets the list of X509Name to validate remote X509Credentials |
void |
set Sets how communication is protected, default value is ENCRYPTANDSIGN. |
X509Credentials2
public X509Credentials2(String certificatePath)
Creates a new instance of the system.fabric.X509Credentials2 class.
Parameters:
getCertificateLoadPath
public String getCertificateLoadPath()
Indicates the file/ folder location of the certificate
Returns:
getProtectionLevel
public ProtectionLevel getProtectionLevel()
Gets how communication is protected, default value is ENCRYPTANDSIGN.
Returns:
getRemoteCertThumbprints
public List
Gets the list of remote certificate thumbprints, used to validate remote X509Credentials
Returns:
getRemoteX509Names
public List
Gets the list of X509Name to validate remote X509Credentials
Returns:
setProtectionLevel
public void setProtectionLevel(ProtectionLevel protectionLevel)
Sets how communication is protected, default value is ENCRYPTANDSIGN.
Parameters:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: