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.
• new IKEMessage(): IKEMessage
ikev2.ts:52
• Optional
ExchangeType: number
ikev2.ts:44
• Optional
Flags: number
ikev2.ts:48
• Optional
InitiatorSPI: number
ikev2.ts:36
• Optional
Version: number
ikev2.ts:40
▸ AppendPayload(payload
): void
AppendPayload appends a payload to the IKE message payload can be any of the payloads like IKENotification, IKENonce, etc.
Name | Type |
---|---|
payload | any |
void
Example
ikev2.ts:65
▸ Encode(): Uint8Array
Encode encodes the final IKE message
Uint8Array
Example
ikev2.ts:82
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.
• new IKEMessage(): IKEMessage
ikev2.ts:52
• Optional
ExchangeType: number
ikev2.ts:44
• Optional
Flags: number
ikev2.ts:48
• Optional
InitiatorSPI: number
ikev2.ts:36
• Optional
Version: number
ikev2.ts:40
▸ AppendPayload(payload
): void
AppendPayload appends a payload to the IKE message payload can be any of the payloads like IKENotification, IKENonce, etc.
Name | Type |
---|---|
payload | any |
void
Example
ikev2.ts:65
▸ Encode(): Uint8Array
Encode encodes the final IKE message
Uint8Array
Example
ikev2.ts:82