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.

28 lines (27 loc) 736 B
/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * Static methods and constants for registering with the Registry all instances * of Aead key types supported in a particular release of Tink. * * To register all Aead key types from the current Tink release one can do: * * AeadConfig.register(); * * For more information on creation and usage of Aead instances see AeadFactory. * * @final */ export declare class AeadConfig { static PRIMITIVE_NAME: string; static AES_CTR_HMAC_AEAD_TYPE_URL: string; static AES_GCM_TYPE_URL: string; /** * Registers key managers for all Aead key types from the current Tink * release. */ static register(): void; }