Search
Preparing search index...
The search index is not available
SkeldJS
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
dtls
AesGcmRecordProtection
Class AesGcmRecordProtection
Hierarchy
RecordProtection
AesGcmRecordProtection
Index
Properties
client
Cipher
client
Random
client
WriteIV
client
Write
Key
master
Secret
server
Cipher
server
Random
server
WriteIV
server
Write
Key
Constructors
constructor
Methods
decrypt
Ciphertext
From
Client
decrypt
Ciphertext
From
Server
encrypt
Client
Plaintext
encrypt
Server
Plaintext
get
Decrypted
Size
get
Encrypted
Size
Properties
client
Cipher
client
Cipher
:
Aes128Gcm
Readonly
client
Random
client
Random
:
Buffer
client
WriteIV
client
WriteIV
:
Buffer
client
Write
Key
client
Write
Key
:
Buffer
Readonly
master
Secret
master
Secret
:
Buffer
server
Cipher
server
Cipher
:
Aes128Gcm
Readonly
server
Random
server
Random
:
Buffer
server
WriteIV
server
WriteIV
:
Buffer
server
Write
Key
server
Write
Key
:
Buffer
Constructors
constructor
new
Aes
Gcm
Record
Protection
(
masterSecret
:
Buffer
, serverRandom
:
Buffer
, clientRandom
:
Buffer
)
:
AesGcmRecordProtection
Parameters
masterSecret:
Buffer
serverRandom:
Buffer
clientRandom:
Buffer
Returns
AesGcmRecordProtection
Methods
decrypt
Ciphertext
From
Client
decrypt
Ciphertext
From
Client
(
input
:
Buffer
, record
:
RecordHeader
)
:
Buffer
Parameters
input:
Buffer
record:
RecordHeader
Returns
Buffer
decrypt
Ciphertext
From
Server
decrypt
Ciphertext
From
Server
(
input
:
Buffer
, record
:
RecordHeader
)
:
Buffer
Parameters
input:
Buffer
record:
RecordHeader
Returns
Buffer
encrypt
Client
Plaintext
encrypt
Client
Plaintext
(
input
:
Buffer
, record
:
RecordHeader
)
:
Buffer
Parameters
input:
Buffer
record:
RecordHeader
Returns
Buffer
encrypt
Server
Plaintext
encrypt
Server
Plaintext
(
input
:
Buffer
, record
:
RecordHeader
)
:
Buffer
Parameters
input:
Buffer
record:
RecordHeader
Returns
Buffer
get
Decrypted
Size
get
Decrypted
Size
(
dataSize
:
number
)
:
number
Parameters
dataSize:
number
Returns
number
get
Encrypted
Size
get
Encrypted
Size
(
dataSize
:
number
)
:
number
Parameters
dataSize:
number
Returns
number
Getting
Started
Creating a
Client
Guides
Events
Writing
Custom
Protocol
Messages
Creating
Custom INOs
End
Game
Intents
API
Modules
client
constant
core
data
dtls
eos
events
lan
matchmaking
pathfinding
protocol
reactor
state
text
translations
util
client
constant
core
data
dtls
Aes128
Gcm
Aes
Gcm
Record
Protection
client
Cipher
client
Random
client
WriteIV
client
Write
Key
constructor
decrypt
Ciphertext
From
Client
decrypt
Ciphertext
From
Server
encrypt
Client
Plaintext
encrypt
Server
Plaintext
get
Decrypted
Size
get
Encrypted
Size
master
Secret
server
Cipher
server
Random
server
WriteIV
server
Write
Key
Certificate
Change
Cipher
Spec
Cipher
Suite
Client
Hello
Compression
Method
Content
Type
Current
Epoch
Dtls
Socket
ECCurve
Type
Elliptic
Curves
Extension
Extension
Extension
Type
Fragment
Range
Handshake
Handshake
State
Handshake
Type
Hash
Algorithm
Hello
Verify
Request
Named
Curve
Next
Epoch
Null
Record
Protection
Protocol
Version
Record
Header
Record
Protection
Server
Hello
Signature
Algorithm
X25519
Ecdhe
Rsa
Sha256
expand
Secret
uint24
uint48
x25519
Func
eos
events
lan
matchmaking
pathfinding
protocol
reactor
state
text
translations
util
Generated using
TypeDoc