Skip to main content

ikev2

(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. Kind: inner class of ikev2

ikeMessage.AppendPayload(payload)

AppendPayload appends a payload to the IKE message Kind: instance method of IKEMessage Example

ikeMessage.Encode() ⇒ Uint8Array

Encode encodes the final IKE message Kind: instance method of IKEMessage
Returns: Uint8Array - - The encoded IKE message.
Throws:
  • error - The error encountered during encoding.
Example