You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 11, 2022. It is now read-only.
Copy file name to clipboardexpand all lines: cloudant-sync-datastore-android-encryption/src/main/java/com/cloudant/sync/datastore/encryption/AndroidKeyProvider.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@
23
23
24
24
/**
25
25
* This class implements the interface {@link KeyProvider} and it can be used to create an
26
-
* encrypted datastore.
26
+
* encrypted DocumentStore.
27
27
*
28
28
* Given an user-provided password and an identifier, it generates a strong key and store it safely
29
29
* in the application's {@link android.content.SharedPreferences}, so the same key can be retrieved
@@ -32,7 +32,7 @@
32
32
* The password is used to protect the key before saving it to the {@link android.content
33
33
* .SharedPreferences}. The identifier is an
34
34
* easy way to have more than one encryption key in the same app, the only condition is to provide
Copy file name to clipboardexpand all lines: cloudant-sync-datastore-core/src/main/java/com/cloudant/sync/documentstore/encryption/CachingKeyProvider.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,10 @@
18
18
19
19
/**
20
20
* Given a user-provided {@link KeyProvider}, it provides an in-memory cache for retrieving an
21
-
* {@link EncryptionKey}. This improves performance when multiple encrypted datastores are used.
21
+
* {@link EncryptionKey}. This improves performance when multiple encrypted DocumentStores are used.
22
22
*
23
23
* This class implements the interface {@link KeyProvider} and it can be used to create an
24
-
* encrypted datastore.
24
+
* encrypted DocumentStore.
25
25
*
26
26
* @see KeyProvider
27
27
*/
@@ -36,7 +36,7 @@ public class CachingKeyProvider implements KeyProvider {
36
36
* Creates a {@link CachingKeyProvider} containing a {@link KeyProvider} whose {@link
37
37
* EncryptionKey} can be cached
38
38
*
39
-
* @param keyProvider The {@link KeyProvider} to use for encrypting a datastore
39
+
* @param keyProvider The {@link KeyProvider} to use for encrypting a DocumentStore
Copy file name to clipboardexpand all lines: cloudant-sync-datastore-core/src/main/java/com/cloudant/sync/documentstore/encryption/SimpleKeyProvider.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
/**
19
19
* SimpleKeyProvider simply takes raw key bytes in its
20
20
* constructor and uses these to provide that key to
0 commit comments