mirror of
https://github.com/logos-messaging/js-rln.git
synced 2026-01-03 14:13:08 +00:00
43 lines
872 B
JSON
43 lines
872 B
JSON
|
|
{
|
||
|
|
"$ref": "#/definitions/Credential",
|
||
|
|
"definitions": {
|
||
|
|
"Credential": {
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"crypto": {
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"cipher": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"cipherparams": {
|
||
|
|
"type": "object"
|
||
|
|
},
|
||
|
|
"ciphertext": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"kdf": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"kdfparams": {
|
||
|
|
"type": "object"
|
||
|
|
},
|
||
|
|
"mac": {
|
||
|
|
"type": "string"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"required": [
|
||
|
|
"cipher",
|
||
|
|
"cipherparams",
|
||
|
|
"ciphertext",
|
||
|
|
"kdf",
|
||
|
|
"kdfparams",
|
||
|
|
"mac"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"required": ["crypto"]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|