SQLiteOneTimeKeysStorage
public class SQLiteOneTimeKeysStorage : OneTimeKeysStorage
SQLiteOneTimeKeysStorage
-
Init
Throws
SQLiteErrorDeclaration
Swift
@objc public init(appGroup: String?, identity: String, crypto: VirgilCrypto, identityKeyPair: VirgilKeyPair) throws
Parameters
appGroup
appGroup
identity
identity
crypto
crypto
identityKeyPair
identityKeyPair
-
Declaration
Swift
public func storeKey(_ key: Data, withId id: Data) throws
-
Declaration
Swift
public func retrieveKey(withId id: Data) throws -> OneTimeKey
-
Declaration
Swift
public func deleteKey(withId id: Data) throws
-
Declaration
Swift
public func retrieveAllKeys() throws -> [OneTimeKeyInfo]
-
Declaration
Swift
public func markKeyOrphaned(startingFrom date: Date, keyId: Data) throws
-
Declaration
Swift
public func reset() throws