Modules
Ikev2
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 of ikev2
IKEMessage
.AppendPayload(payload)
.Encode()
⇒Uint8Array
ikeMessage.AppendPayload(payload)
AppendPayload appends a payload to the IKE message
Kind: instance method of IKEMessage
Param | Type | Description |
---|---|---|
payload | object | The payload to append to the IKE message. |
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
Was this page helpful?