UNPKG

@microsoft/useragent-sdk

Version:

SDK for building decentralized identity wallets and enterprise agents.

22 lines (18 loc) 894 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License in the project root for license information. *--------------------------------------------------------------------------------------------*/ import CryptoFactory from "../plugin/CryptoFactory"; import { TSMap } from "typescript-map"; import { IPayloadProtection } from "./IPayloadProtection"; /** * Interface defining options for the selected protocol. */ export default interface IPayloadProtectionOptions { // The crypto algorithm suites used for cryptography cryptoFactory: CryptoFactory, // The implementation of the selected protocol payloadProtection: IPayloadProtection, // A dictionary for protocol specific options options: TSMap<string, any>, }