| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
package android.security.keystore2; |
| 18 |
|
| 19 |
import android.security.keystore.KeyProperties; |
| 20 |
|
| 21 |
import java.security.KeyStore; |
| 22 |
import java.security.KeyStore.ProtectionParameter; |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
public class AndroidKeyStoreLoadStoreParameter implements KeyStore.LoadStoreParameter { |
| 28 |
|
| 29 |
private final @KeyProperties.Namespace int mNamespace; |
| 30 |
|
| 31 |
public AndroidKeyStoreLoadStoreParameter(@KeyProperties.Namespace int namespace) { |
| 32 |
mNamespace = namespace; |
| 33 |
} |
| 34 |
|
| 35 |
@Override |
| 36 |
public ProtectionParameter getProtectionParameter() { |
| 37 |
return null; |
| 38 |
} |
| 39 |
|
| 40 |
@KeyProperties.Namespace int getNamespace() { |
| 41 |
return mNamespace; |
| 42 |
} |
| 43 |
} |