Class PublicKeys
- java.lang.Object
-
- io.github.ma1uta.matrix.event.nested.PublicKeys
-
public class PublicKeys extends Object
Public keys.
-
-
Field Summary
Fields Modifier and Type Field Description private StringkeyValidityUrlAn optional URL which can be fetched, with querystring public_key=public_key, to validate whether the key has been revoked.private StringpublicKeyRequired.
-
Constructor Summary
Constructors Constructor Description PublicKeys()
-
Method Summary
Modifier and Type Method Description StringgetKeyValidityUrl()StringgetPublicKey()voidsetKeyValidityUrl(String keyValidityUrl)voidsetPublicKey(String publicKey)
-
-
-
Field Detail
-
keyValidityUrl
private String keyValidityUrl
An optional URL which can be fetched, with querystring public_key=public_key, to validate whether the key has been revoked. The URL must return a JSON object containing a boolean property named 'valid'. If this URL is absent, the key must be considered valid indefinitely.
-
publicKey
private String publicKey
Required. A base-64 encoded ed25519 key with which token may be signed.
-
-