blob: 93c7e89c6c9ced7730019a7b89f961e7e01c50f5 [file] [log] [blame]
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {BinaryKeysetReader} from '../internal/binary_keyset_reader';
import {KeysetHandle, readNoSecret} from '../internal/keyset_handle';
export function deserializeNoSecretKeyset(
serializedKeyset: Uint8Array): KeysetHandle {
return readNoSecret(BinaryKeysetReader.withUint8Array(serializedKeyset));
}