mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 02:49:16 +01:00
docs: 📝 Feature more information on SPKI key encoding
This commit is contained in:
parent
fe451d018c
commit
32aa7cf164
3 changed files with 26 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ Check the entity's documentation page to see if it supports this (it will be not
|
|||
```
|
||||
|
||||
- `algorithm`: Algorithm used for the public key. Can only be `ed25519` for now.
|
||||
- `key`: Instance public key, in SPKI-encoded base64 (from raw bytes, not a PEM format).
|
||||
- `key`: Instance public key, in [SPKI-encoded base64](/signatures#exporting-the-public-key).
|
||||
</Property>
|
||||
<Property name="moderators" type="URI" required={false}>
|
||||
URI to [Collection](/structures/collection) of instance moderators.
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ Instance **must** be the host of the instance the user is on (hostname with opti
|
|||
The user's public key. Must follow the [Versia Public Key](/signatures) format. `actor` may be a URI to another user's profile, in which case this key may allow the other user act on behalf of this user (see [delegation](/federation/delegation)).
|
||||
|
||||
- `algorithm`: Must be `ed25519` for now.
|
||||
- `key`: The public key in SPKI-encoded base64 (from raw bytes, not a PEM format). Must be the key associated with the `actor` URI.
|
||||
- `key`: The public key in [SPKI-encoded base64](/signatures#exporting-the-public-key). Must be the key associated with the `actor` URI.
|
||||
- `actor`: URI to a user's profile, most often the user's own profile.
|
||||
|
||||
```typescript
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue