Added in API level 31

IkeAuthPskConfig


class IkeAuthPskConfig : IkeSessionParams.IkeAuthConfig
kotlin.Any
   ↳ android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig
   ↳ android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig

This class represents the configuration to support IKEv2 pre-shared-key-based authentication of local or remote side.

Summary

Public methods
open Boolean
equals(other: Any?)

open ByteArray

Retrieves the pre-shared key

open Int

Public methods

equals

Added in API level 31
open 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.

getPsk

Added in API level 31
open fun getPsk(): ByteArray

Retrieves the pre-shared key

Return
ByteArray This value cannot be null.

hashCode

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