UNPKG

@sphereon/gx-compliance-client

Version:

<!--suppress HtmlDeprecatedAttribute --> <h1 align="center"> <br> <a href="https://www.sphereon.com"><img src="https://sphereon.com/content/themes/sphereon/assets/img/logo.svg" alt="Sphereon" width="400"></a> <br>Gaia-X Compliance client (Typescript

21 lines 1.41 kB
import { CredentialPayload, DIDDocument, IAgentContext, IKey, PresentationPayload, TKeyType, VerifiableCredential } from '@veramo/core'; import { RequiredAgentMethods } from '@sphereon/ssi-sdk-vc-handler-ld-local'; import { SphereonLdSignature } from '@sphereon/ssi-sdk-vc-handler-ld-local/dist/ld-suites'; /** * WARNING: * * This suite is made specifically to be interoperable with Gaia-X. Do not use this suite for other purposes, as the current Gaia-X implementation contains multiple errors and does not conform to JsonWebSignature2020. * If you do need regular JsonWebSignature2020 support, please configure the SphereonWebSignature2020 class when setting up the agent */ export declare class GXJsonWebSignature2020 extends SphereonLdSignature { getSupportedVerificationType(): 'JsonWebKey2020'; getSupportedVeramoKeyType(): TKeyType; getSuiteForSigning(key: IKey, issuerDid: string, verificationMethodId: string, context: IAgentContext<RequiredAgentMethods>): Promise<any>; getSuiteForVerification(): any; preSigningCredModification(credential: CredentialPayload): void; preSigningPresModification(presentation: PresentationPayload): void; preDidResolutionModification(didUrl: string, didDoc: DIDDocument): void; getContext(): string; preVerificationCredModification(credential: VerifiableCredential): void; } //# sourceMappingURL=GXJsonWebSignature2020.d.ts.map