Language

IpSecTransform.Builder.SetEncryption(IpSecAlgorithm) Method

Definition

Sets the encryption algorithm.

[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

Parameters

algo
IpSecAlgorithm

The encryption algorithm. Encryption is mutually exclusive with authenticated encryption.

Returns

This builder.

Attributes

Remarks

Java documentation for android.net.IpSecTransform.Builder.setEncryption(android.net.IpSecAlgorithm).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to