|
|
|
@ -76,29 +76,32 @@ paths:
|
|
|
|
|
|
|
|
|
|
See the [Client-Server Key Algorithms](/client-server-api/#key-algorithms) section for more information on
|
|
|
|
|
the Key Object format.
|
|
|
|
|
# User
|
|
|
|
|
additionalProperties:
|
|
|
|
|
type: object
|
|
|
|
|
# Device
|
|
|
|
|
additionalProperties:
|
|
|
|
|
type:
|
|
|
|
|
- string
|
|
|
|
|
- type: object
|
|
|
|
|
title: KeyObject
|
|
|
|
|
properties:
|
|
|
|
|
key:
|
|
|
|
|
type: string
|
|
|
|
|
description: The key, encoded using unpadded base64.
|
|
|
|
|
signatures:
|
|
|
|
|
type: object
|
|
|
|
|
# Key
|
|
|
|
|
additionalProperties:
|
|
|
|
|
type: object
|
|
|
|
|
title: KeyObject
|
|
|
|
|
properties:
|
|
|
|
|
key:
|
|
|
|
|
type: string
|
|
|
|
|
description: The key, encoded using unpadded base64.
|
|
|
|
|
signatures:
|
|
|
|
|
type: object
|
|
|
|
|
title: Signatures
|
|
|
|
|
additionalProperties:
|
|
|
|
|
type: object
|
|
|
|
|
title: Signatures
|
|
|
|
|
additionalProperties:
|
|
|
|
|
type: object
|
|
|
|
|
additionalProperties:
|
|
|
|
|
type: string
|
|
|
|
|
description: |-
|
|
|
|
|
Signature of the key object.
|
|
|
|
|
type: string
|
|
|
|
|
description: |-
|
|
|
|
|
Signature of the key object.
|
|
|
|
|
|
|
|
|
|
The signature is calculated using the process described at [Signing JSON](/appendices/#signing-json).
|
|
|
|
|
required: ['key', 'signatures']
|
|
|
|
|
The signature is calculated using the process described at [Signing JSON](/appendices/#signing-json).
|
|
|
|
|
required: ['key', 'signatures']
|
|
|
|
|
example: {
|
|
|
|
|
"@alice:example.com": {
|
|
|
|
|
"JLAFKJWSCS": {
|
|
|
|
|