KeychainPassphraseStorage
internal class KeychainPassphraseStorage(delegate: PassphraseStorage, serviceName: String) : PassphraseStorage
PassphraseStorage on the Keychain whose setPassphraseIfAbsent only ever adds an item: the Keychain rejects a second item for the same key, so a passphrase another process or thread stored in between is never replaced.
Parameters
serviceName
the service delegate stores its items under, see ApplePersistenceConfig.serviceName.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Stores passphrase under key unless a passphrase is stored there already, and returns the stored one.