UNPKG

@microsoft/useragent-sdk

Version:

SDK for building decentralized identity wallets and enterprise agents.

40 lines (33 loc) 1.01 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ /** * Enum to define different protection formats */ export enum ProtectionFormat { /** * Format for a flat JSON signature */ JwsFlatJson = 'JwsFlatJson', /** * Format for a compact JSON signature */ JwsCompactJson = 'JwsCompactJson', /** * Format for a general JSON signature */ JwsGeneralJson = 'JwsGeneralJson', /** * Format for a flat JSON encryption */ JweFlatJson = 'JweFlatJson', /** * Format for a compact JSON encryption */ JweCompactJson = 'JweCompactJson', /** * Format for a general JSON encryption */ JweGeneralJson = 'JweGeneralJson' }