Added in API level 31

IkeKeyIdIdentification

public final class IkeKeyIdIdentification
extends IkeIdentification

java.lang.Object
   ↳ 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

Fields

public final byte[] keyId

The KEY ID in octet stream.

Public constructors

IkeKeyIdIdentification(byte[] keyId)

Construct an instance of IkeKeyIdIdentification with a Key ID.

Inherited methods

Fields

keyId

Added in API level 31
public final byte[] keyId

The KEY ID in octet stream.

Public constructors

IkeKeyIdIdentification

Added in API level 31
public IkeKeyIdIdentification (byte[] keyId)

Construct an instance of IkeKeyIdIdentification with a Key ID.

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