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.
12 lines (11 loc) • 374 B
TypeScript
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { PbEciesAeadHkdfPrivateKey, PbEciesAeadHkdfPublicKey } from '../internal/proto';
/**
* WARNING: This method assumes that the given key proto is valid.
*
*/
export declare function getJsonWebKeyFromProto(key: PbEciesAeadHkdfPrivateKey | PbEciesAeadHkdfPublicKey): JsonWebKey;