X509Credentials2 クラス
- java.
lang. Object - SecurityCredentials
- system.
fabric. X509Credentials2
- system.
public class X509Credentials2 extends SecurityCredentials
証明書パスを使用して指定された X.509 証明書に基づくセキュリティ資格情報を指定します。
コンストラクターの概要
コンストラクター | 説明 |
---|---|
X509Credentials2(String certificatePath) |
system.fabric.X509Credentials2 クラスの新しいインスタンスを作成します。 |
メソッドの概要
修飾子と型 | メソッドと説明 |
---|---|
String |
getCertificateLoadPath()
証明書のファイル/フォルダーの場所を示します |
Protection |
getProtectionLevel()
通信の保護方法を取得します。既定値は です ENCRYPTANDSIGN。 |
List<String> |
getRemoteCertThumbprints()
リモート X509Credentials の検証に使用されるリモート証明書の拇印の一覧を取得します |
List<X509Name> |
getRemoteX509Names()
リモート X509Credentials を検証する X509Name の一覧を取得します |
void |
setProtectionLevel(ProtectionLevel protectionLevel)
通信の保護方法を設定します。既定値は です ENCRYPTANDSIGN。 |
継承メンバー
コンストラクターの詳細
X509Credentials2
public X509Credentials2(String certificatePath)
system.fabric.X509Credentials2 クラスの新しいインスタンスを作成します。
パラメーター:
メソッドの詳細
getCertificateLoadPath
public String getCertificateLoadPath()
証明書のファイル/フォルダーの場所を示します
戻り値:
getProtectionLevel
getRemoteCertThumbprints
public List
リモート X509Credentials の検証に使用されるリモート証明書の拇印の一覧を取得します
戻り値:
getRemoteX509Names
public List
リモート X509Credentials を検証する X509Name の一覧を取得します
戻り値:
setProtectionLevel
public void setProtectionLevel(ProtectionLevel protectionLevel)
通信の保護方法を設定します。既定値は です ENCRYPTANDSIGN。
パラメーター:
適用対象
Azure SDK for Java