Added in API level 31

ChildSaProposal


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

ChildSaProposal represents a proposed configuration to negotiate a Child SA.

ChildSaProposal will contain cryptograhic algorithms and key generation materials for the negotiation of a Child SA.

User must provide at least one valid ChildSaProposal when they are creating a new Child SA.

Summary

Nested classes

This class is used to incrementally construct a ChildSaProposal.

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

static MutableSet<Int!>

Returns supported encryption algorithms for Child SA proposal negotiation.

static MutableSet<Int!>

Returns supported integrity algorithms for Child 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.

getSupportedEncryptionAlgorithms

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

Returns supported encryption algorithms for Child SA proposal negotiation.

Some algorithms may not be supported on old devices.

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

getSupportedIntegrityAlgorithms

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

Returns supported integrity algorithms for Child SA proposal negotiation.

Some algorithms may not be supported on old devices.

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.