Language

IkeSaProposal.Builder.AddPseudorandomFunction(Int32) Method

Definition

Adds a pseudorandom function to the SA proposal being built.

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

Parameters

algorithm
Int32

pseudorandom function to add to IkeSaProposal. Value is one of the following: SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1; SaProposal.PSEUDORANDOM_FUNCTION_AES128_XCBC; SaProposal.PSEUDORANDOM_FUNCTION_SHA2_256; SaProposal.PSEUDORANDOM_FUNCTION_SHA2_384; SaProposal.PSEUDORANDOM_FUNCTION_SHA2_512; SaProposal.PSEUDORANDOM_FUNCTION_AES128_CMAC

Returns

Builder of IkeSaProposal. This value cannot be null.

Attributes

Remarks

Adds a pseudorandom function to the SA proposal being built.

Android reference for android.net.ipsec.ike.IkeSaProposal.Builder.addPseudorandomFunction.

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