UNPKG

tink-crypto

Version:

A multi-language, cross-platform library that provides cryptographic APIs that are secure, easy to use correctly, and hard(er) to misuse.

24 lines (23 loc) 570 B
/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { KeysetHandle } from './keyset_handle'; /** * Static methods for reading or writing cleartext keysets. * * @final */ export declare class CleartextKeysetHandle { /** * Serializes a KeysetHandle to binary. * */ static serializeToBinary(keysetHandle: KeysetHandle): Uint8Array; /** * Creates a KeysetHandle from a binary representation of a keyset. * */ static deserializeFromBinary(keysetBinary: Uint8Array): KeysetHandle; }