語言

IkeSessionParams.Builder.SetLocalIdentification(IkeIdentification) 方法

定義

為正在建置的 IkeSessionParams 設定本地 IKE 識別碼。

[Android.Runtime.Register("setLocalIdentification", "(Landroid/net/ipsec/ike/IkeIdentification;)Landroid/net/ipsec/ike/IkeSessionParams$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.IkeSessionParams.Builder SetLocalIdentification(Android.Net.IpSec.Ike.IkeIdentification identification);
[<Android.Runtime.Register("setLocalIdentification", "(Landroid/net/ipsec/ike/IkeIdentification;)Landroid/net/ipsec/ike/IkeSessionParams$Builder;", "", ApiSince=31)>]
member this.SetLocalIdentification : Android.Net.IpSec.Ike.IkeIdentification -> Android.Net.IpSec.Ike.IkeSessionParams.Builder

參數

identification
IkeIdentification

當地的 IKE 識別。 這個值不可能為零值。

傳回

建構這個,方便連鎖。 這個值不可能為零值。

屬性

備註

為正在建置的 IkeSessionParams 設定本地 IKE 識別碼。

根據 RFC 7296,禁止將 KEY ID 與基於數位簽章的認證同時使用。

Android 參考資料。android.net.ipsec.ike.IkeSessionParams.Builder.setLocalIdentification

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於