blob: bd4044cf34d4254d939c871137c9f8b7a8aabae1 [file] [log] [blame]
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {PbEncryptedKeyset, PbKeyset} from './proto';
/**
* KeysetWriter knows how to write a keyset or an encrypted keyset to some
* storage system.
*
*/
export interface KeysetWriter {
write(keyset: PbKeyset|PbEncryptedKeyset): Uint8Array;
}