| 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.annotation.NonNull; |
| 20 |
import android.security.KeyStoreSecurityLevel; |
| 21 |
import android.system.keystore2.KeyDescriptor; |
| 22 |
import android.system.keystore2.KeyMetadata; |
| 23 |
|
| 24 |
import javax.crypto.SecretKey; |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
public class AndroidKeyStoreSecretKey extends AndroidKeyStoreKey implements SecretKey { |
| 32 |
|
| 33 |
public AndroidKeyStoreSecretKey(@NonNull KeyDescriptor descriptor, |
| 34 |
@NonNull KeyMetadata metadata, @NonNull String algorithm, |
| 35 |
@NonNull KeyStoreSecurityLevel securityLevel) { |
| 36 |
super(descriptor, metadata.key.nspace, metadata.authorizations, algorithm, securityLevel); |
| 37 |
} |
| 38 |
} |