mirror of
https://github.com/signalapp/libsignal.git
synced 2026-04-26 01:35:22 +02:00
16 lines
372 B
TypeScript
16 lines
372 B
TypeScript
//
|
|
// Copyright 2020-2021 Signal Messenger, LLC.
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
//
|
|
|
|
import ByteArray from '../internal/ByteArray.js';
|
|
|
|
export default class GroupMasterKey extends ByteArray {
|
|
private readonly __type?: never;
|
|
static SIZE = 32;
|
|
|
|
constructor(contents: Uint8Array) {
|
|
super(contents, GroupMasterKey.checkLength(GroupMasterKey.SIZE));
|
|
}
|
|
}
|