@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
16 lines (15 loc) • 645 B
TypeScript
import IKeyStore from '../keyStore/IKeyStore';
import CryptoFactory from './CryptoFactory';
import { SubtleCrypto } from 'webcrypto-core';
/**
* Utility class to handle all CryptoFactory dependency injection for the environment node.
* In the same way a developer can add new CryptoFactory classes that support a different device.
*/
export default class CryptoFactoryNode extends CryptoFactory {
/**
* Constructs a new CryptoRegistry
* @param keyStore used to store private jeys
* @param crypto The suite to use for dependency injection
*/
constructor(keyStore: IKeyStore, crypto: SubtleCrypto);
}