anon-identity
Version:
Decentralized identity framework with DIDs, Verifiable Credentials, and privacy-preserving selective disclosure
25 lines • 902 B
TypeScript
import { SignatureSuite, KeyType, SigningOptions, VerificationOptions, SignatureSuiteOptions } from './signature-suite';
import { Proof } from '../../types/vc2';
/**
* Ed25519Signature2020 implementation
* https://w3c-ccg.github.io/lds-ed25519-2020/
*/
export declare class Ed25519Signature2020Suite extends SignatureSuite {
readonly type = "Ed25519Signature2020";
readonly requiredKeyType = KeyType.Ed25519;
readonly supportsSelectiveDisclosure = false;
constructor(options?: SignatureSuiteOptions);
/**
* Create an Ed25519 signature proof
*/
createProof(options: SigningOptions): Promise<Proof>;
/**
* Verify an Ed25519 signature proof
*/
verifyProof(options: VerificationOptions): Promise<boolean>;
/**
* Create the data to be signed/verified
*/
private createVerifyData;
}
//# sourceMappingURL=ed25519-signature-2020.d.ts.map