ikev2
- ikev2
IKEMessage.AppendPayload(payload).Encode()⇒Uint8Array
(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 ofikev2
IKEMessage.AppendPayload(payload).Encode()⇒Uint8Array
ikeMessage.AppendPayload(payload)
AppendPayload appends a payload to the IKE message Kind: instance method ofIKEMessage
| Param | Type | Description |
|---|---|---|
| payload | object | The payload to append to the IKE message. |
ikeMessage.Encode() ⇒ Uint8Array
Encode encodes the final IKE message
Kind: instance method of IKEMessageReturns:
Uint8Array - - The encoded IKE message.Throws:
error- The error encountered during encoding.