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.
16 lines (15 loc) • 416 B
TypeScript
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { KeysetWriter } from './keyset_writer';
import { PbEncryptedKeyset, PbKeyset } from './proto';
/**
* KeysetWriter knows how to write a keyset or an encrypted keyset.
*
* @final
*/
export declare class BinaryKeysetWriter implements KeysetWriter {
encodeBinary(keyset: PbKeyset | PbEncryptedKeyset): Uint8Array;
}