@credo-ts/core
Version:
<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1
31 lines • 1.63 kB
text/typescript
import { AnonCredsW3cCredentialProof, AnonCredsW3cCredentialProofOptions } from "../../anoncreds-w3c-credential/AnonCredsW3cCredentialProof.mjs";
import { SingleOrArray } from "../../../../types.mjs";
import { ClaimFormat } from "../../models/ClaimFormat.mjs";
import "../../anoncreds-w3c-credential/index.mjs";
import { LinkedDataProof, LinkedDataProofOptions } from "./LinkedDataProof.mjs";
import { W3cPresentation, W3cPresentationOptions } from "../../models/presentation/W3cPresentation.mjs";
import "../../models/index.mjs";
//#region src/modules/vc/linked-data-proofs/models/W3cJsonLdVerifiablePresentation.d.ts
export interface W3cJsonLdVerifiablePresentationOptions extends W3cPresentationOptions {
proof: LinkedDataProofOptions | AnonCredsW3cCredentialProofOptions;
}
export declare class W3cJsonLdVerifiablePresentation extends W3cPresentation {
constructor(options: W3cJsonLdVerifiablePresentationOptions);
proof: SingleOrArray<LinkedDataProof | AnonCredsW3cCredentialProof>;
get proofTypes(): Array<string>;
get anonCredsW3cCredentialCryptosuites(): Array<string>;
/** @deprecated Use anonCredsW3cCredentialCryptosuites */
get dataIntegrityCryptosuites(): Array<string>;
toJson(): Record<string, any>;
/**
* The {@link ClaimFormat} of the presentation. For JSON-LD credentials this is always `ldp_vp`.
*/
get claimFormat(): ClaimFormat.LdpVp;
/**
* Get the encoded variant of the W3C Verifiable Presentation. For JSON-LD presentations this is
* a JSON object.
*/
get encoded(): Record<string, any>;
}
//#endregion
//# sourceMappingURL=W3cJsonLdVerifiablePresentation.d.mts.map