@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
37 lines • 1.39 kB
JavaScript
;
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Enum to define different protection formats
*/
var ProtectionFormat;
(function (ProtectionFormat) {
/**
* Format for a flat JSON signature
*/
ProtectionFormat["JwsFlatJson"] = "JwsFlatJson";
/**
* Format for a compact JSON signature
*/
ProtectionFormat["JwsCompactJson"] = "JwsCompactJson";
/**
* Format for a general JSON signature
*/
ProtectionFormat["JwsGeneralJson"] = "JwsGeneralJson";
/**
* Format for a flat JSON encryption
*/
ProtectionFormat["JweFlatJson"] = "JweFlatJson";
/**
* Format for a compact JSON encryption
*/
ProtectionFormat["JweCompactJson"] = "JweCompactJson";
/**
* Format for a general JSON encryption
*/
ProtectionFormat["JweGeneralJson"] = "JweGeneralJson";
})(ProtectionFormat = exports.ProtectionFormat || (exports.ProtectionFormat = {}));
//# sourceMappingURL=ProtectionFormat.js.map