Added in API level 31

IkeKeyIdIdentification


class IkeKeyIdIdentification : IkeIdentification
kotlin.Any
   ↳ android.net.ipsec.ike.IkeIdentification
   ↳ android.net.ipsec.ike.IkeKeyIdIdentification

IkeKeyIdIdentification represents an IKE entity identification based on a Key ID.

Key ID is an octet stream that may be used to pass vendor-specific information necessary to do certain proprietary types of identification.

Summary

Public constructors

Construct an instance of IkeKeyIdIdentification with a Key ID.

Public methods
Boolean
equals(other: Any?)

Int

Properties
ByteArray

The KEY ID in octet stream.

Public constructors

IkeKeyIdIdentification

Added in API level 31
IkeKeyIdIdentification(keyId: ByteArray)

Construct an instance of IkeKeyIdIdentification with a Key ID.

Parameters
keyId ByteArray: the Key ID in bytes.
This value cannot be null.

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.

hashCode

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

Properties

keyId

Added in API level 31
val keyId: ByteArray

The KEY ID in octet stream.