Added in API level 31

IkeSaProposal


class IkeSaProposal : SaProposal
kotlin.Any
   ↳ android.net.ipsec.ike.SaProposal
   ↳ android.net.ipsec.ike.IkeSaProposal

IkeSaProposal represents a proposed configuration to negotiate an IKE SA.

IkeSaProposal will contain cryptograhic algorithms and key generation materials for the negotiation of an IKE SA.

User must provide at least one valid IkeSaProposal when they are creating a new IKE SA.

Summary

Nested classes

This class is used to incrementally construct a IkeSaProposal.

Inherited constants
Public methods
Boolean
equals(other: Any?)

MutableList<Int!>

Gets all proposed Pseudorandom Functions

static MutableSet<Int!>

Returns supported encryption algorithms for IKE SA proposal negotiation.

static MutableSet<Int!>

Returns supported integrity algorithms for IKE SA proposal negotiation.

static MutableSet<Int!>

Returns supported pseudorandom functions for IKE SA proposal negotiation.

Int

Inherited functions

Public methods

equals

Added in API level 31
fun equals(other: Any?): Boolean
Parameters
obj the reference object with which to compare.
Return
Boolean true if this object is the same as the obj argument; false otherwise.

getPseudorandomFunctions

Added in API level 31
fun getPseudorandomFunctions(): MutableList<Int!>

Gets all proposed Pseudorandom Functions

Return
MutableList<Int!> A list of the IANA-defined IDs for the proposed Pseudorandom Functions This value cannot be null.

getSupportedEncryptionAlgorithms

Added in API level 31
static fun getSupportedEncryptionAlgorithms(): MutableSet<Int!>

Returns supported encryption algorithms for IKE SA proposal negotiation.

Return
MutableSet<Int!> This value cannot be null.

getSupportedIntegrityAlgorithms

Added in API level 31
static fun getSupportedIntegrityAlgorithms(): MutableSet<Int!>

Returns supported integrity algorithms for IKE SA proposal negotiation.

Return
MutableSet<Int!> This value cannot be null.

getSupportedPseudorandomFunctions

Added in API level 31
static fun getSupportedPseudorandomFunctions(): MutableSet<Int!>

Returns supported pseudorandom functions for IKE SA proposal negotiation.

Return
MutableSet<Int!> This value cannot be null.

hashCode

Added in API level 31
fun hashCode(): Int
Return
Int a hash code value for this object.