public static AndroidSQLCipherSQLite open ( File path , KeyProvider provider ) { //Call SQLCipher-based method for opening database, or creating if database not found SQLiteDatabase db = SQLiteDatabase . openOrCreateDatabase ( path , KeyUtils . sqlCipherKeyForKeyProvider ( provider ) , null ) ; return new AndroidSQLCipherSQLite ( db ) ; }
Constructor for creating SQLCipher - based SQLite database .