PersistentStorageEncryptionKeyProvider
public protocol PersistentStorageEncryptionKeyProvider
Protocol that wraps key generator required for the configurration of persistance storage of Tile Store
Important
This is a Public Preview API. It may be changed or removed at any time.-
Retrieves an encryption key that can be used to interact with persistent storage. If no such key was generated before, then a new key is generated and stored for future use and then returned to the caller.
Declaration
Swift
func getPersistentStorageEncryptionKey(keyAlias: String) -> String
Parameters
keyAlias
The name of the service for which the key is needed. Here we use a common name “tilestore-storage-key” for ‘NavigationTileStore’
Return Value
persistent storage encryption key.