galley-0.83.0: Conversations
Safe HaskellSafe-Inferred
LanguageGHC2021

Galley.Cassandra.LegalHold

Synopsis

Documentation

Used by tests

validateServiceKey :: MonadIO m => ServiceKeyPEM -> m (Maybe (ServiceKey, Fingerprint Rsa)) Source #

Copied unchanged from Brig.Provider.API. Interpret a service certificate and extract key and fingerprint. (This only has to be in MonadIO because the FFI in OpenSSL works like that.)

FUTUREWORK: It would be nice to move (part of) this to ssl-util, but it has types from brig-types and types-common.