Class: IKEMessage
ikev2.IKEMessage IKEMessage is the IKEv2 message IKEv2 implements a limited subset of IKEv2 Protocol, specifically the IKE_NOTIFY and IKE_NONCE payloads and the IKE_SA_INIT exchange.Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new IKEMessage():IKEMessage
Returns
IKEMessage
Defined in
ikev2.ts:52Properties
ExchangeType
•Optional
ExchangeType: number
Defined in
ikev2.ts:44Flags
•Optional
Flags: number
Defined in
ikev2.ts:48InitiatorSPI
•Optional
InitiatorSPI: number
Defined in
ikev2.ts:36Version
•Optional
Version: number
Defined in
ikev2.ts:40Methods
AppendPayload
▸ AppendPayload(payload
): void
AppendPayload appends a payload to the IKE message
payload can be any of the payloads like IKENotification, IKENonce, etc.
Parameters
Name | Type |
---|---|
payload | any |
Returns
void
Example
Defined in
ikev2.ts:65Encode
▸ Encode():Uint8Array
Encode encodes the final IKE message
Returns
Uint8Array
Example