UNPKG

@sphereon/ssi-sdk-ext.jwt-service

Version:

1 lines 343 kB
{"version":3,"sources":["../plugin.schema.json","../src/index.ts","../src/agent/JwtService.ts","../src/functions/JWE.ts","../src/types/IJwtService.ts","../src/functions/index.ts"],"sourcesContent":["{\n \"IJwtService\": {\n \"components\": {\n \"schemas\": {\n \"CreateJwsCompactArgs\": {\n \"$ref\": \"#/components/schemas/CreateJwsArgs\"\n },\n \"CreateJwsArgs\": {\n \"type\": \"object\",\n \"properties\": {\n \"mode\": {\n \"$ref\": \"#/components/schemas/JwsIdentifierMode\"\n },\n \"issuer\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"jwk\": {\n \"$ref\": \"#/components/schemas/JWK\"\n },\n \"jwkThumbprint\": {\n \"type\": \"string\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"method\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierMethod\"\n },\n \"opts\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierOpts\"\n },\n \"key\": {\n \"$ref\": \"#/components/schemas/IKey\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n },\n \"identifier\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierType\"\n },\n \"x5c\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"certificate\": {}\n },\n \"required\": [\n \"certificate\",\n \"identifier\",\n \"jwk\",\n \"jwkThumbprint\",\n \"key\",\n \"kmsKeyRef\",\n \"method\",\n \"opts\",\n \"x5c\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"jwk\": {\n \"$ref\": \"#/components/schemas/JWK\"\n },\n \"jwkThumbprint\": {\n \"type\": \"string\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"method\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierMethod\"\n },\n \"opts\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierOpts\"\n },\n \"key\": {\n \"$ref\": \"#/components/schemas/IKey\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n },\n \"identifier\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierType\"\n },\n \"did\": {\n \"type\": \"string\"\n },\n \"keys\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/components/schemas/IKey\"\n }\n },\n \"verificationMethodSection\": {\n \"$ref\": \"#/components/schemas/DIDDocumentSection\"\n },\n \"controllerKeyId\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"did\",\n \"identifier\",\n \"issuer\",\n \"jwk\",\n \"jwkThumbprint\",\n \"key\",\n \"keys\",\n \"kid\",\n \"kmsKeyRef\",\n \"method\",\n \"opts\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"jwk\": {\n \"$ref\": \"#/components/schemas/JWK\"\n },\n \"jwkThumbprint\": {\n \"type\": \"string\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"method\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierMethod\"\n },\n \"opts\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierOpts\"\n },\n \"key\": {\n \"$ref\": \"#/components/schemas/IKey\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n },\n \"identifier\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierType\"\n }\n },\n \"required\": [\n \"identifier\",\n \"jwk\",\n \"jwkThumbprint\",\n \"key\",\n \"kmsKeyRef\",\n \"method\",\n \"opts\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"jwk\": {\n \"$ref\": \"#/components/schemas/JWK\"\n },\n \"jwkThumbprint\": {\n \"type\": \"string\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"method\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierMethod\"\n },\n \"opts\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierOpts\"\n },\n \"key\": {\n \"$ref\": \"#/components/schemas/IKey\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n },\n \"identifier\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierType\"\n }\n },\n \"required\": [\n \"identifier\",\n \"jwk\",\n \"jwkThumbprint\",\n \"key\",\n \"kid\",\n \"kmsKeyRef\",\n \"method\",\n \"opts\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"jwk\": {\n \"$ref\": \"#/components/schemas/JWK\"\n },\n \"jwkThumbprint\": {\n \"type\": \"string\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"method\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierMethod\"\n },\n \"opts\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierOpts\"\n },\n \"key\": {\n \"$ref\": \"#/components/schemas/IKey\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n },\n \"identifier\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierType\"\n }\n },\n \"required\": [\n \"identifier\",\n \"jwk\",\n \"jwkThumbprint\",\n \"key\",\n \"kmsKeyRef\",\n \"method\",\n \"opts\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"jwk\": {\n \"$ref\": \"#/components/schemas/JWK\"\n },\n \"jwkThumbprint\": {\n \"type\": \"string\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"method\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierMethod\"\n },\n \"opts\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierOpts\"\n },\n \"key\": {\n \"$ref\": \"#/components/schemas/IKey\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n },\n \"identifier\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierType\"\n }\n },\n \"required\": [\n \"identifier\",\n \"jwk\",\n \"jwkThumbprint\",\n \"key\",\n \"kmsKeyRef\",\n \"method\",\n \"opts\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"jwk\": {\n \"$ref\": \"#/components/schemas/JWK\"\n },\n \"jwkThumbprint\": {\n \"type\": \"string\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"method\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierMethod\"\n },\n \"opts\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierOpts\"\n },\n \"key\": {\n \"$ref\": \"#/components/schemas/IKey\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n },\n \"identifier\": {\n \"$ref\": \"#/components/schemas/ManagedIdentifierType\"\n }\n },\n \"required\": [\n \"identifier\",\n \"jwk\",\n \"jwkThumbprint\",\n \"key\",\n \"kmsKeyRef\",\n \"method\",\n \"opts\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"method\": {\n \"type\": \"string\",\n \"const\": \"jwk\"\n },\n \"identifier\": {\n \"$ref\": \"#/components/schemas/JWK\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n }\n },\n \"required\": [\n \"identifier\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"method\": {\n \"type\": \"string\",\n \"const\": \"x5c\"\n },\n \"identifier\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n }\n },\n \"required\": [\n \"identifier\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"method\": {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n \"identifier\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/IIdentifier\"\n },\n {\n \"type\": \"string\"\n }\n ]\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n },\n \"keyType\": {\n \"$ref\": \"#/components/schemas/TKeyType\"\n },\n \"offlineWhenNoDIDRegistered\": {\n \"type\": \"boolean\"\n },\n \"noVerificationMethodFallback\": {\n \"type\": \"boolean\"\n },\n \"controllerKey\": {\n \"type\": \"boolean\"\n },\n \"vmRelationship\": {\n \"$ref\": \"#/components/schemas/DIDDocumentSection\"\n }\n },\n \"required\": [\n \"identifier\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"method\": {\n \"type\": \"string\",\n \"const\": \"kid\"\n },\n \"identifier\": {\n \"type\": \"string\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n }\n },\n \"required\": [\n \"identifier\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"method\": {\n \"type\": \"string\",\n \"const\": \"key\"\n },\n \"identifier\": {\n \"$ref\": \"#/components/schemas/IKey\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n }\n },\n \"required\": [\n \"identifier\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"method\": {\n \"type\": \"string\",\n \"const\": \"cose_key\"\n },\n \"identifier\": {\n \"$ref\": \"#/components/schemas/ICoseKeyJson\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n }\n },\n \"required\": [\n \"identifier\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"noIssPayloadUpdate\": {\n \"type\": \"boolean\"\n },\n \"noIdentifierInHeader\": {\n \"type\": \"boolean\"\n },\n \"lazyDisabled\": {\n \"type\": \"boolean\"\n },\n \"method\": {\n \"type\": \"string\",\n \"const\": \"oid4vci-issuer\"\n },\n \"identifier\": {\n \"type\": \"string\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n }\n },\n \"required\": [\n \"identifier\"\n ]\n }\n ]\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n },\n \"protectedHeader\": {\n \"$ref\": \"#/components/schemas/JwsHeader\"\n },\n \"payload\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/JwsPayload\"\n },\n {\n \"$ref\": \"#/components/schemas/Uint8Array\"\n },\n {\n \"type\": \"string\"\n }\n ]\n }\n },\n \"required\": [\n \"issuer\",\n \"protectedHeader\",\n \"payload\"\n ],\n \"additionalProperties\": false\n },\n \"JwsIdentifierMode\": {\n \"type\": \"string\",\n \"enum\": [\n \"x5c\",\n \"kid\",\n \"jwk\",\n \"did\",\n \"auto\"\n ]\n },\n \"JWK\": {\n \"type\": \"object\",\n \"properties\": {\n \"kty\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/JwkKeyType\"\n },\n {\n \"$ref\": \"#/components/schemas/JwkKeyTypeString\"\n }\n ]\n },\n \"crv\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/JoseCurve\"\n },\n {\n \"$ref\": \"#/components/schemas/JoseCurveString\"\n }\n ]\n },\n \"alg\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/JoseSignatureAlgorithm\"\n },\n {\n \"$ref\": \"#/components/schemas/JoseSignatureAlgorithmString\"\n }\n ]\n },\n \"x\": {\n \"type\": \"string\"\n },\n \"y\": {\n \"type\": \"string\"\n },\n \"e\": {\n \"type\": \"string\"\n },\n \"n\": {\n \"type\": \"string\"\n },\n \"d\": {\n \"type\": \"string\"\n },\n \"dp\": {\n \"type\": \"string\"\n },\n \"dq\": {\n \"type\": \"string\"\n },\n \"ext\": {\n \"type\": \"boolean\"\n },\n \"k\": {\n \"type\": \"string\"\n },\n \"key_ops\": {\n \"type\": \"array\",\n \"items\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/JoseKeyOperation\"\n },\n {\n \"$ref\": \"#/components/schemas/JoseKeyOperationString\"\n }\n ]\n }\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"oth\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"d\": {\n \"type\": \"string\"\n },\n \"r\": {\n \"type\": \"string\"\n },\n \"t\": {\n \"type\": \"string\"\n }\n },\n \"additionalProperties\": false\n }\n },\n \"p\": {\n \"type\": \"string\"\n },\n \"q\": {\n \"type\": \"string\"\n },\n \"qi\": {\n \"type\": \"string\"\n },\n \"use\": {\n \"type\": \"string\"\n },\n \"x5c\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"description\": \"JWK \\\"x5c\\\" (X.509 Certificate Chain) Parameter.\"\n },\n \"x5t\": {\n \"type\": \"string\",\n \"description\": \"JWK \\\"x5t\\\" (X.509 Certificate SHA-1 Thumbprint) Parameter.\"\n },\n \"x5t#S256\": {\n \"type\": \"string\",\n \"description\": \"\\\"x5t#S256\\\" (X.509 Certificate SHA-256 Thumbprint) Parameter.\"\n },\n \"x5u\": {\n \"type\": \"string\",\n \"description\": \"JWK \\\"x5u\\\" (X.509 URL) Parameter.\"\n },\n \"iv\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"kty\"\n ]\n },\n \"JwkKeyType\": {\n \"type\": \"string\",\n \"enum\": [\n \"EC\",\n \"RSA\",\n \"oct\",\n \"OKP\"\n ]\n },\n \"JwkKeyTypeString\": {\n \"type\": \"string\",\n \"enum\": [\n \"EC\",\n \"RSA\",\n \"oct\",\n \"OKP\"\n ]\n },\n \"JoseCurve\": {\n \"type\": \"string\",\n \"enum\": [\n \"P-256\",\n \"P-384\",\n \"P-521\",\n \"X25519\",\n \"X448\",\n \"EdDSA\",\n \"Ed25519\",\n \"Ed448\",\n \"secp256k1\"\n ]\n },\n \"JoseCurveString\": {\n \"type\": \"string\",\n \"enum\": [\n \"P-256\",\n \"P-384\",\n \"P-521\",\n \"X25519\",\n \"X448\",\n \"EdDSA\",\n \"Ed25519\",\n \"Ed448\",\n \"secp256k1\"\n ]\n },\n \"JoseSignatureAlgorithm\": {\n \"type\": \"string\",\n \"enum\": [\n \"RS256\",\n \"RS384\",\n \"RS512\",\n \"ES256\",\n \"ES256K\",\n \"ES384\",\n \"ES512\",\n \"EdDSA\",\n \"HS256\",\n \"HS384\",\n \"HS512\",\n \"PS256\",\n \"PS384\",\n \"PS512\",\n \"none\"\n ]\n },\n \"JoseSignatureAlgorithmString\": {\n \"type\": \"string\",\n \"enum\": [\n \"RS256\",\n \"RS384\",\n \"RS512\",\n \"ES256\",\n \"ES256K\",\n \"ES384\",\n \"ES512\",\n \"EdDSA\",\n \"HS256\",\n \"HS384\",\n \"HS512\",\n \"PS256\",\n \"PS384\",\n \"PS512\",\n \"none\"\n ]\n },\n \"JoseKeyOperation\": {\n \"type\": \"string\",\n \"enum\": [\n \"sign\",\n \"verify\",\n \"encrypt\",\n \"decrypt\",\n \"wrapKey\",\n \"unwrapKey\",\n \"deriveKey\",\n \"deriveBits\"\n ]\n },\n \"JoseKeyOperationString\": {\n \"type\": \"string\",\n \"enum\": [\n \"sign\",\n \"verify\",\n \"encrypt\",\n \"decrypt\",\n \"wrapKey\",\n \"unwrapKey\",\n \"deriveKey\",\n \"deriveBits\"\n ]\n },\n \"ManagedIdentifierMethod\": {\n \"type\": \"string\",\n \"enum\": [\n \"did\",\n \"jwk\",\n \"x5c\",\n \"kid\",\n \"key\",\n \"cose_key\",\n \"oid4vci-issuer\"\n ]\n },\n \"ManagedIdentifierOpts\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"method\": {\n \"type\": \"string\",\n \"const\": \"jwk\"\n },\n \"identifier\": {\n \"$ref\": \"#/components/schemas/JWK\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n }\n },\n \"required\": [\n \"identifier\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"method\": {\n \"type\": \"string\",\n \"const\": \"x5c\"\n },\n \"identifier\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n }\n },\n \"required\": [\n \"identifier\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"method\": {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n \"identifier\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/IIdentifier\"\n },\n {\n \"type\": \"string\"\n }\n ]\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n },\n \"keyType\": {\n \"$ref\": \"#/components/schemas/TKeyType\"\n },\n \"offlineWhenNoDIDRegistered\": {\n \"type\": \"boolean\"\n },\n \"noVerificationMethodFallback\": {\n \"type\": \"boolean\"\n },\n \"controllerKey\": {\n \"type\": \"boolean\"\n },\n \"vmRelationship\": {\n \"$ref\": \"#/components/schemas/DIDDocumentSection\"\n }\n },\n \"required\": [\n \"identifier\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"method\": {\n \"type\": \"string\",\n \"const\": \"kid\"\n },\n \"identifier\": {\n \"type\": \"string\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n }\n },\n \"required\": [\n \"identifier\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"method\": {\n \"type\": \"string\",\n \"const\": \"key\"\n },\n \"identifier\": {\n \"$ref\": \"#/components/schemas/IKey\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n }\n },\n \"required\": [\n \"identifier\"\n ]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"method\": {\n \"type\": \"string\",\n \"const\": \"cose_key\"\n },\n \"identifier\": {\n \"$ref\": \"#/components/schemas/ICoseKeyJson\"\n },\n \"kmsKeyRef\": {\n \"type\": \"string\"\n },\n \"issuer\": {\n \"type\": \"string\"\n },\n \"kid\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientIdScheme\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/ClientIdScheme\"\n },\n {\n \"type\": \"string\",\n \"const\": \"did\"\n },\n {\n \"type\": \"string\"\n }\n ]\n