Package-level declarations
Types
Link copied to clipboard
Server-side configuration implementation.
Link copied to clipboard
class ServerEnvironment(configuration: Configuration, storage: Storage, httpClient: HttpClient, secureAreaProvider: SecureAreaProvider<SecureArea>, secureAreaRepository: SecureAreaRepository, val notifications: RpcNotificationsLocalPoll, val cipher: SimpleCipher) : BackendEnvironment
BackendEnvironment implementation for the server.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun BackendEnvironment.Companion.getServerIdentity(name: String, fallback: suspend () -> AsymmetricKey.X509CertifiedExplicit? = { null }): AsymmetricKey
Server identity is a pair of private key and certificate chain for the corresponding public key.
Link copied to clipboard
suspend fun BackendEnvironment.Companion.readServerIdentity(name: String, fallback: suspend () -> AsymmetricKey.X509CertifiedExplicit? = { null }): AsymmetricKey