UNPKG

verifiablecredentials-crypto-sdk-typescript-keys

Version:
45 lines (37 loc) 1.06 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ /** * Class for W3C Crypto API constants */ export default class W3cCryptoApiConstants { /** * Define W3C JWK constants */ public static Jwk = 'jwk'; /** * Define W3C algorithm constants */ public static RsaOaep = 'RSA-OAEP-256'; /** * Define W3C algorithm constants */ public static RsaSsaPkcs1V15 = 'RSASSA-PKCS1-v1_5'; /** * Define W3C algorithm constants */ public static Sha256 = 'SHA-256'; /** * Define W3C algorithm constants */ public static Sha512 = 'SHA-512'; /** * Define W3C algorithm constants */ public static AesGcm = 'AES-GCM'; /** * Define W3C algorithm constants */ public static Hmac = 'HMAC'; }