Table of Contents

Class LorawanWorKeys

Namespace
Pamoja.Lorawan
Assembly
Pamoja.Lorawan.dll

The integrity and encryption keys of one end device's wake-on-radio frames.

public sealed record LorawanWorKeys : IEquatable<LorawanWorKeys>
Inheritance
LorawanWorKeys
Implements
Inherited Members

Constructors

LorawanWorKeys(byte[], byte[])

The integrity and encryption keys of one end device's wake-on-radio frames.

public LorawanWorKeys(byte[] Integrity, byte[] Encryption)

Parameters

Integrity byte[]

WorSIntKey, 16 bytes.

Encryption byte[]

WorSEncKey, 16 bytes.

Properties

Encryption

WorSEncKey, 16 bytes.

public byte[] Encryption { get; init; }

Property Value

byte[]

Integrity

WorSIntKey, 16 bytes.

public byte[] Integrity { get; init; }

Property Value

byte[]

Methods

Equals(LorawanWorKeys?)

Compares the key bytes.

public bool Equals(LorawanWorKeys? other)

Parameters

other LorawanWorKeys

The other keys.

Returns

bool

Whether both keys hold the same bytes.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.