語言

IkeSaProposal.Builder.AddIntegrityAlgorithm(Int32) 方法

定義

為正在建構的 SA 提案新增一個完整性演算法。

[Android.Runtime.Register("addIntegrityAlgorithm", "(I)Landroid/net/ipsec/ike/IkeSaProposal$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.IkeSaProposal.Builder AddIntegrityAlgorithm(int algorithm);
[<Android.Runtime.Register("addIntegrityAlgorithm", "(I)Landroid/net/ipsec/ike/IkeSaProposal$Builder;", "", ApiSince=31)>]
member this.AddIntegrityAlgorithm : int -> Android.Net.IpSec.Ike.IkeSaProposal.Builder

參數

algorithm
Int32

完整性演算法,將加入 IkeSaProposal。 價值屬於以下之一:SaProposal.INTEGRITY_ALGORITHM_NONE;SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA1_96;SaProposal.INTEGRITY_ALGORITHM_AES_XCBC_96;SaProposal.INTEGRITY_ALGORITHM_AES_CMAC_96;SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA2_256_128;SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA2_384_192;SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA2_512_256

傳回

IkeSa提案的建造者。 這個值不可能為零值。

屬性

備註

為正在建構的 SA 提案新增一個完整性演算法。

Android 參考資料。android.net.ipsec.ike.IkeSaProposal.Builder.addIntegrityAlgorithm

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

適用於