@ethereumjs/devp2p / ECIES
• new ECIES(privateKey
, id
, remoteId
)
Name | Type |
---|---|
privateKey |
Uint8Array |
id |
Uint8Array |
remoteId |
Uint8Array |
packages/devp2p/src/rlpx/ecies.ts:80
▸ _decryptMessage(data
, sharedMacData?
): Uint8Array
Name | Type | Default value |
---|---|---|
data |
Uint8Array |
undefined |
sharedMacData |
null | Uint8Array |
null |
Uint8Array
packages/devp2p/src/rlpx/ecies.ts:119
▸ _encryptMessage(data
, sharedMacData?
): undefined
| Uint8Array
Name | Type | Default value |
---|---|---|
data |
Uint8Array |
undefined |
sharedMacData |
null | Uint8Array |
null |
undefined
| Uint8Array
packages/devp2p/src/rlpx/ecies.ts:90
▸ _setupFrame(remoteData
, incoming
): void
Name | Type |
---|---|
remoteData |
Uint8Array |
incoming |
boolean |
void
packages/devp2p/src/rlpx/ecies.ts:154
▸ createAckEIP8(): undefined
| Uint8Array
undefined
| Uint8Array
packages/devp2p/src/rlpx/ecies.ts:284
▸ createAckOld(): undefined
| Uint8Array
undefined
| Uint8Array
packages/devp2p/src/rlpx/ecies.ts:301
▸ createAuthEIP8(): undefined
| Uint8Array
undefined
| Uint8Array
packages/devp2p/src/rlpx/ecies.ts:178
▸ createAuthNonEIP8(): undefined
| Uint8Array
undefined
| Uint8Array
packages/devp2p/src/rlpx/ecies.ts:201
▸ createBody(data
): undefined
| Uint8Array
Name | Type |
---|---|
data |
Uint8Array |
undefined
| Uint8Array
packages/devp2p/src/rlpx/ecies.ts:378
▸ createHeader(size
): undefined
| Uint8Array
Name | Type |
---|---|
size |
number |
undefined
| Uint8Array
packages/devp2p/src/rlpx/ecies.ts:347
▸ parseAckEIP8(data
): void
Name | Type |
---|---|
data |
Uint8Array |
void
packages/devp2p/src/rlpx/ecies.ts:341
▸ parseAckPlain(data
, sharedMacData?
): void
Name | Type | Default value |
---|---|---|
data |
Uint8Array |
undefined |
sharedMacData |
null | Uint8Array |
null |
void
packages/devp2p/src/rlpx/ecies.ts:311
▸ parseAuthEIP8(data
): void
Name | Type |
---|---|
data |
Uint8Array |
void
packages/devp2p/src/rlpx/ecies.ts:278
▸ parseAuthPlain(data
, sharedMacData?
): undefined
| Uint8Array
Name | Type | Default value |
---|---|---|
data |
Uint8Array |
undefined |
sharedMacData |
null | Uint8Array |
null |
undefined
| Uint8Array
packages/devp2p/src/rlpx/ecies.ts:218
▸ parseBody(data
): undefined
| Uint8Array
Name | Type |
---|---|
data |
Uint8Array |
undefined
| Uint8Array
packages/devp2p/src/rlpx/ecies.ts:389
▸ parseHeader(data
): undefined
| number
Name | Type |
---|---|
data |
Uint8Array |
undefined
| number