Interface CertificateService
public interface CertificateService
Obtains the account's chat-signing key pair.
Not designed for host implementation; methods may be added in minor releases.
- Since:
- 0.12.0
-
Method Summary
-
Method Details
-
fetch
PlayerCertificate fetch()Requests the account's key pair. Call it again oncePlayerCertificate.shouldRefresh(java.time.Instant)says a held pair is due.Nothing is persisted: the pair lives in the returned record and nowhere else.
- Returns:
- the key pair and its signatures
- Throws:
AltsException- if the token was refused or the service failed- Since:
- 0.12.0
-