@@ -2386,11 +2386,49 @@ components:
23862386 $ref : " #/components/schemas/RequestOptionsRequestVerificationMethod"
23872387 additionalProperties : {}
23882388 example :
2389+ clientSecretMode : true
23892390 network : testnet
23902391 RequestOptionsRequestVerificationMethod :
23912392 type : array
23922393 items :
23932394 $ref : " #/components/schemas/VerificationMethodTemplate"
2395+ RequestSecret :
2396+ description : This input field contains an object with DID controller keys and
2397+ other secrets needed for performing the DID operation. See
2398+ https://identity.foundation/did-registration/#secret.
2399+ type : object
2400+ properties :
2401+ verificationMethod :
2402+ $ref : " #/components/schemas/RequestSecretVerificationMethod"
2403+ signingResponse :
2404+ type :
2405+ - object
2406+ - null
2407+ additionalProperties :
2408+ $ref : " #/components/schemas/SigningResponse"
2409+ decryptionResponse :
2410+ type :
2411+ - object
2412+ - null
2413+ additionalProperties :
2414+ $ref : " #/components/schemas/DecryptionResponse"
2415+ additionalProperties : {}
2416+ example :
2417+ seed : 72WGp7NgFR1Oqdi8zlt7jQQ434XR0cNQ
2418+ verificationMethod :
2419+ - id : did:indy:sovrin:WRfXPg8dantKVubE3HX8pw#key-1
2420+ type : JsonWebKey2020
2421+ privateKeyJwk :
2422+ kty : OKP
2423+ crv : Ed25519
2424+ d : NzJXR3A3TmdGUjFPcWRpOHpsdDdqUVE0MzRYUjBjTlE
2425+ x : jpIKKU2b77lNXKTNW2NGvw1GUMjU6v_l_tLJAH5uYz0
2426+ RequestSecretVerificationMethod :
2427+ type : array
2428+ items :
2429+ oneOf :
2430+ - $ref : " #/components/schemas/VerificationMethodPublicData"
2431+ - $ref : " #/components/schemas/VerificationMethodPrivateData"
23942432 CreateRequest :
23952433 description : Input fields for a DID create operation.
23962434 allOf :
@@ -2716,6 +2754,36 @@ components:
27162754 content :
27172755 $ref : " #/components/schemas/String"
27182756 additionalProperties : {}
2757+ DidStateSecret :
2758+ description : This output field contains an object with DID controller keys and
2759+ other secrets. See
2760+ https://identity.foundation/did-registration/#didstatesecret.
2761+ type : object
2762+ properties :
2763+ verificationMethod :
2764+ $ref : " #/components/schemas/DidStateRequestSecretVerificationMethod"
2765+ additionalProperties : {}
2766+ example :
2767+ verificationMethod :
2768+ - id : did:indy:sovrin:WRfXPg8dantKVubE3HX8pw#key-1
2769+ type : JsonWebKey2020
2770+ privateKeyJwk :
2771+ kty : OKP
2772+ crv : Ed25519
2773+ d : NzJXR3A3TmdGUjFPcWRpOHpsdDdqUVE0MzRYUjBjTlE
2774+ x : jpIKKU2b77lNXKTNW2NGvw1GUMjU6v_l_tLJAH5uYz0
2775+ DidStateRequestSecretVerificationMethod :
2776+ type : array
2777+ items :
2778+ oneOf :
2779+ - $ref : " #/components/schemas/VerificationMethodPublicData"
2780+ - $ref : " #/components/schemas/VerificationMethodPrivateData"
2781+ - $ref : " #/components/schemas/DidStateSecretVerificationMethodVerificationMethodT\
2782+ emplate"
2783+ DidStateSecretVerificationMethodVerificationMethodTemplate :
2784+ type : array
2785+ items :
2786+ $ref : " #/components/schemas/VerificationMethodTemplate"
27192787 DidStateFinished :
27202788 allOf :
27212789 - $ref : " #/components/schemas/DidState"
@@ -2801,67 +2869,6 @@ components:
28012869 $ref : " #/components/schemas/String"
28022870 waittime :
28032871 $ref : " #/components/schemas/String"
2804- Secret :
2805- description : Secrets in requests and states.
2806- type : object
2807- x-parent : true
2808- properties :
2809- verificationMethod :
2810- $ref : " #/components/schemas/SecretVerificationMethod"
2811- additionalProperties : {}
2812- example :
2813- verificationMethod :
2814- - id : did:indy:sovrin:WRfXPg8dantKVubE3HX8pw#key-1
2815- type : JsonWebKey2020
2816- privateKeyJwk :
2817- kty : OKP
2818- crv : Ed25519
2819- d : NzJXR3A3TmdGUjFPcWRpOHpsdDdqUVE0MzRYUjBjTlE
2820- x : jpIKKU2b77lNXKTNW2NGvw1GUMjU6v_l_tLJAH5uYz0
2821- SecretVerificationMethod :
2822- type : array
2823- items :
2824- oneOf :
2825- - $ref : " #/components/schemas/VerificationMethodPublicDataPublicKeyJwk"
2826- - $ref : " #/components/schemas/VerificationMethodPublicDataPublicKeyMultibase"
2827- - $ref : " #/components/schemas/VerificationMethodPrivateDataPrivateKeyJwk"
2828- - $ref : " #/components/schemas/VerificationMethodPrivateDataPrivateKeyMultibase"
2829- - $ref : " #/components/schemas/SecretVerificationMethodVerificationMethodTemplate"
2830- SecretVerificationMethodVerificationMethodTemplate :
2831- type : array
2832- items :
2833- $ref : " #/components/schemas/VerificationMethodTemplate"
2834- RequestSecret :
2835- description : This input field contains an object with DID controller keys and
2836- other secrets needed for performing the DID operation. See
2837- https://identity.foundation/did-registration/#secret.
2838- allOf :
2839- - $ref : " #/components/schemas/Secret"
2840- - type : object
2841- properties :
2842- signingResponse :
2843- type :
2844- - object
2845- - null
2846- additionalProperties :
2847- $ref : " #/components/schemas/SigningResponse"
2848- decryptionResponse :
2849- type :
2850- - object
2851- - null
2852- additionalProperties :
2853- $ref : " #/components/schemas/DecryptionResponse"
2854- example :
2855- seed : 72WGp7NgFR1Oqdi8zlt7jQQ434XR0cNQ
2856- DidStateSecret :
2857- description : This output field contains an object with DID controller keys and
2858- other secrets. See
2859- https://identity.foundation/did-registration/#didstatesecret.
2860- allOf :
2861- - $ref : " #/components/schemas/Secret"
2862- - type : object
2863- example :
2864- seed : 72WGp7NgFR1Oqdi8zlt7jQQ434XR0cNQ
28652872 SigningRequest :
28662873 description : A signing request, see
28672874 https://identity.foundation/did-registration/#signing-request-set.
@@ -2972,50 +2979,28 @@ components:
29722979 type : array
29732980 items :
29742981 type : string
2975- VerificationMethodPublicDataPublicKeyJwk :
2982+ VerificationMethodPublicData :
29762983 description : A verification method public data object, see
29772984 https://identity.foundation/did-registration/#verification-method-public-data
29782985 allOf :
29792986 - $ref : " #/components/schemas/VerificationMethodData"
29802987 - type : object
2981- required :
2982- - publicKeyJwk
29832988 properties :
29842989 publicKeyJwk :
29852990 type : object
29862991 additionalProperties : {}
2987- VerificationMethodPublicDataPublicKeyMultibase :
2988- description : A verification method public data object, see
2989- https://identity.foundation/did-registration/#verification-method-public-data
2990- allOf :
2991- - $ref : " #/components/schemas/VerificationMethodData"
2992- - type : object
2993- required :
2994- - publicKeyMultibase
2995- properties :
29962992 publicKeyMultibase :
29972993 type : string
2998- VerificationMethodPrivateDataPrivateKeyJwk :
2994+ VerificationMethodPrivateData :
29992995 description : A verification method private data object, see
30002996 https://identity.foundation/did-registration/#verification-method-private-data
30012997 allOf :
30022998 - $ref : " #/components/schemas/VerificationMethodData"
30032999 - type : object
3004- required :
3005- - privateKeyJwk
30063000 properties :
30073001 privateKeyJwk :
30083002 type : object
30093003 additionalProperties : {}
3010- VerificationMethodPrivateDataPrivateKeyMultibase :
3011- description : A verification method private data object, see
3012- https://identity.foundation/did-registration/#verification-method-private-data
3013- allOf :
3014- - $ref : " #/components/schemas/VerificationMethodData"
3015- - type : object
3016- required :
3017- - privateKeyMultibase
3018- properties :
30193004 privateKeyMultibase :
30203005 type : string
30213006 VerificationMethodTemplate :
0 commit comments