@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
23 lines (19 loc) • 751 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import PublicKey from './PublicKey';
import JsonWebKey from './JsonWebKey';
/**
* Represents a Private Key in JWK format.
* @class
* @abstract
* @hideconstructor
*/
export default abstract class PrivateKey extends JsonWebKey {
/**
* Gets the corresponding public key
* @returns The corresponding {@link PublicKey}
*/
abstract getPublicKey (): PublicKey;
}