語言

IpSecTransform.Builder.SetEncryption(IpSecAlgorithm) 方法

定義

設定加密演算法。

[Android.Runtime.Register("setEncryption", "(Landroid/net/IpSecAlgorithm;)Landroid/net/IpSecTransform$Builder;", "GetSetEncryption_Landroid_net_IpSecAlgorithm_Handler", ApiSince=28)]
public virtual Android.Net.IpSecTransform.Builder SetEncryption(Android.Net.IpSecAlgorithm algo);
[<Android.Runtime.Register("setEncryption", "(Landroid/net/IpSecAlgorithm;)Landroid/net/IpSecTransform$Builder;", "GetSetEncryption_Landroid_net_IpSecAlgorithm_Handler", ApiSince=28)>]
abstract member SetEncryption : Android.Net.IpSecAlgorithm -> Android.Net.IpSecTransform.Builder
override this.SetEncryption : Android.Net.IpSecAlgorithm -> Android.Net.IpSecTransform.Builder

參數

algo
IpSecAlgorithm

加密演算法。 加密與認證加密是互斥的。

傳回

這個建築商。

屬性

備註

Java 文件 android.net.IpSecTransform.Builder.setEncryption(android.net.IpSecAlgorithm)。

適用於