Home
last modified time | relevance | path

Searched refs:KeymasterArguments (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DAttestationUtils.java28 import android.security.keymaster.KeymasterArguments;
103 @NonNull private static KeymasterArguments prepareAttestationArgumentsForDeviceId( in prepareAttestationArgumentsForDeviceId()
118 @NonNull public static KeymasterArguments prepareAttestationArguments(Context context, in prepareAttestationArguments()
129 @NonNull public static KeymasterArguments prepareAttestationArgumentsIfMisprovisioned( in prepareAttestationArgumentsIfMisprovisioned()
149 @NonNull private static KeymasterArguments prepareAttestationArguments(Context context, in prepareAttestationArguments()
156 final KeymasterArguments attestArgs = new KeymasterArguments(); in prepareAttestationArguments()
249 final KeymasterArguments attestArgs = prepareAttestationArgumentsForDeviceId( in attestDeviceIds()
DKeymasterUtils.java24 import android.security.keymaster.KeymasterArguments;
106 public static void addUserAuthArgs(KeymasterArguments args, UserAuthArgs spec) { in addUserAuthArgs()
169 KeymasterArguments.toUint64(sids.get(i))); in addUserAuthArgs()
187 KeymasterArguments.toUint64(sid)); in addUserAuthArgs()
203 public static void addMinMacLengthAuthorizationIfNecessary(KeymasterArguments args, in addMinMacLengthAuthorizationIfNecessary()
DAndroidKeyStoreAuthenticatedAESCipherSpi.java24 import android.security.keymaster.KeymasterArguments;
214 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
289 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
307 @NonNull KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult()
415 KeymasterArguments keymasterArgs = new KeymasterArguments(); in update()
445 new KeymasterArguments() // additional params returned by finish in finish()
DAndroidKeyStoreKeyPairGeneratorSpi.java26 import android.security.keymaster.KeymasterArguments;
347 KeymasterUtils.addUserAuthArgs(new KeymasterArguments(), mSpec); in initialize()
408 if (publicExponent.compareTo(KeymasterArguments.UINT64_MAX_VALUE) > 0) { in initAlgorithmSpecificParameters()
411 + ". Maximum supported value: " + KeymasterArguments.UINT64_MAX_VALUE); in initAlgorithmSpecificParameters()
495 KeymasterArguments args = new KeymasterArguments(); in createCertificateChain()
504 private void generateKeystoreKeyPair(final String privateKeyAlias, KeymasterArguments args, in generateKeystoreKeyPair()
534 private KeymasterArguments constructKeyGenerationArguments() { in constructKeyGenerationArguments()
535 KeymasterArguments args = new KeymasterArguments(); in constructKeyGenerationArguments()
604 KeyPair keyPair, KeymasterArguments args) in getAttestationChain()
620 private void addAlgorithmSpecificParameters(KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParameters()
DAndroidKeyStoreRSACipherSpi.java23 import android.security.keymaster.KeymasterArguments;
295 KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
302 @NonNull KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult()
460 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
478 @NonNull KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult()
DAndroidKeyStoreHmacSpi.java22 import android.security.keymaster.KeymasterArguments;
161 KeymasterArguments keymasterArgs = new KeymasterArguments(); in ensureKeystoreOperationInitialized()
DAndroidKeyStoreSignatureSpiBase.java24 import android.security.keymaster.KeymasterArguments;
199 KeymasterArguments keymasterInputArgs = new KeymasterArguments(); in ensureKeystoreOperationInitialized()
430 @NonNull KeymasterArguments keymasterArgs); in addAlgorithmSpecificParametersToBegin()
DAndroidKeyStoreRSASignatureSpi.java20 import android.security.keymaster.KeymasterArguments;
159 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
DAndroidKeyStore3DESCipherSpi.java19 import android.security.keymaster.KeymasterArguments;
251 protected void addAlgorithmSpecificParametersToBegin(KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
269 KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult()
DAndroidKeyStoreUnauthenticatedAESCipherSpi.java21 import android.security.keymaster.KeymasterArguments;
241 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
259 @NonNull KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult()
DAndroidKeyStoreKeyGeneratorSpi.java22 import android.security.keymaster.KeymasterArguments;
254 KeymasterUtils.addUserAuthArgs(new KeymasterArguments(), spec); in engineInit()
283 KeymasterArguments args = new KeymasterArguments(); in engineGenerateKey()
DAndroidKeyStoreECDSASignatureSpi.java24 import android.security.keymaster.KeymasterArguments;
186 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
DAndroidKeyStoreCipherSpiBase.java25 import android.security.keymaster.KeymasterArguments;
236 KeymasterArguments keymasterInputArgs = new KeymasterArguments(); in ensureKeystoreOperationInitialized()
905 @NonNull KeymasterArguments keymasterArgs); in addAlgorithmSpecificParametersToBegin()
919 @NonNull KeymasterArguments keymasterArgs); in loadAlgorithmSpecificParametersFromBeginResult()
DAndroidKeyStoreSpi.java24 import android.security.keymaster.KeymasterArguments;
457 KeymasterArguments importArgs; in setPrivateKeyEntry()
485 importArgs = new KeymasterArguments(); in setPrivateKeyEntry()
648 KeymasterArguments args = new KeymasterArguments(); in setSecretKeyEntry()
772 KeymasterArguments args = new KeymasterArguments(); in setWrappedKeyEntry()
/frameworks/base/core/java/android/security/keymaster/
DKeymasterArguments.java34 public class KeymasterArguments implements Parcelable { class
45 …public static final @android.annotation.NonNull Parcelable.Creator<KeymasterArguments> CREATOR = n…
46 Parcelable.Creator<KeymasterArguments>() {
48 public KeymasterArguments createFromParcel(Parcel in) {
49 return new KeymasterArguments(in);
53 public KeymasterArguments[] newArray(int size) {
54 return new KeymasterArguments[size];
59 public KeymasterArguments() { in KeymasterArguments() method in KeymasterArguments
63 private KeymasterArguments(Parcel in) { in KeymasterArguments() method in KeymasterArguments
DKeyCharacteristics.java32 public KeymasterArguments swEnforced;
33 public KeymasterArguments hwEnforced;
76 swEnforced = KeymasterArguments.CREATOR.createFromParcel(in); in readFromParcel()
77 hwEnforced = KeymasterArguments.CREATOR.createFromParcel(in); in readFromParcel()
DOperationResult.java35 public final KeymasterArguments outParams;
53 KeymasterArguments outParams) { in OperationResult()
72 outParams = KeymasterArguments.CREATOR.createFromParcel(in); in OperationResult()
/frameworks/base/keystore/java/android/security/
DKeyStore.java37 import android.security.keymaster.KeymasterArguments;
562 private int generateKeyInternal(String alias, KeymasterArguments args, byte[] entropy, int uid, in generateKeyInternal()
594 public int generateKey(String alias, KeymasterArguments args, byte[] entropy, int uid, in generateKey()
598 args = args != null ? args : new KeymasterArguments(); in generateKey()
614 public int generateKey(String alias, KeymasterArguments args, byte[] entropy, int flags, in generateKey()
654 private int importKeyInternal(String alias, KeymasterArguments args, int format, byte[] keyData, in importKeyInternal()
677 public int importKey(String alias, KeymasterArguments args, int format, byte[] keyData, in importKey()
697 public int importKey(String alias, KeymasterArguments args, int format, byte[] keyData, in importKey()
715 private KeymasterArguments makeLegacyArguments(String algorithm) { in makeLegacyArguments()
716 KeymasterArguments args = new KeymasterArguments(); in makeLegacyArguments()
[all …]
/frameworks/base/config/
Dpreloaded-classes3087 android.security.keymaster.KeymasterArguments$1
3088 android.security.keymaster.KeymasterArguments