@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
16 lines (15 loc) • 503 B
TypeScript
import { SubtleCrypto } from 'webcrypto-core';
import { ISubtleCrypto } from './ISubtleCryptoExtension';
/**
* Subtle crypto for browser
**/
export default class SubtleCryptoBrowser implements ISubtleCrypto {
/**
* Returns the @class SubtleCrypto implementation for the browser environment
*/
getSubtleCrypto(): SubtleCrypto;
/**
* Returns the @class SubtleCrypto implementation for the current environment
*/
static getSubtleCrypto(): SubtleCrypto;
}