/// <param name="password">Password for storage.</param> public PrivateKeyStorage(IPrivateKeyExporter keyExporter, string password) { //implementation for __WINDOWS__ || __ANDROID__ || Linux privateKeyExporter = keyExporter; keyStorage = new KeyStorage(password); }
/// <summary> /// Initializes a new instance of the <see cref="PrivateKeyStorage" /> class. /// </summary> /// <param name="keyExporter">The instance of <see cref="IPrivateKeyExporter"/> that is /// used for private key export/import.</param> #if (__IOS__ || __MACOS__) public PrivateKeyStorage(IPrivateKeyExporter keyExporter) { privateKeyExporter = keyExporter; keyStorage = new KeyStorage(); }