Home
last modified time | relevance | path

Searched refs:KeyGenParameterSpec (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/keystore/tests/src/android/security/keystore/
DKeyGenParameterSpecTest.java38 KeyGenParameterSpec spec = ParcelableKeyGenParameterSpecTest.configureDefaultSpec(); in testBuilderCopyingValues()
39 KeyGenParameterSpec copiedSpec = in testBuilderCopyingValues()
40 new KeyGenParameterSpec.Builder(spec).build(); in testBuilderCopyingValues()
47 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES).build(); in testBuilderCopyingEmptyValues()
48 KeyGenParameterSpec copiedSpec = new KeyGenParameterSpec.Builder(spec).build(); in testBuilderCopyingEmptyValues()
56 KeyGenParameterSpec spec = ParcelableKeyGenParameterSpecTest.configureDefaultSpec(); in testCanModifyValuesInCopiedBuilder()
57 KeyGenParameterSpec copiedSpec = in testCanModifyValuesInCopiedBuilder()
58 new KeyGenParameterSpec.Builder(spec) in testCanModifyValuesInCopiedBuilder()
/frameworks/base/keystore/tests/src/android/security/
DParcelableKeyGenParameterSpecTest.java24 import android.security.keystore.KeyGenParameterSpec;
61 public static KeyGenParameterSpec configureDefaultSpec() { in configureDefaultSpec()
62 return new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in configureDefaultSpec()
90 public static void validateSpecValues(KeyGenParameterSpec spec, in validateSpecValues()
144 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES).build()); in testParcelingWithNullValues()
147 KeyGenParameterSpec fromParcel = ParcelableKeyGenParameterSpec.CREATOR in testParcelingWithNullValues()
162 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in testParcelingRSAAlgoParameter()
167 KeyGenParameterSpec fromParcel = in testParcelingRSAAlgoParameter()
181 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in testParcelingECAlgoParameter()
185 KeyGenParameterSpec fromParcel = in testParcelingECAlgoParameter()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreKeyGeneratorSpi.java25 import android.security.keystore.KeyGenParameterSpec;
121 private KeyGenParameterSpec mSpec;
156 + KeyGenParameterSpec.class.getName() + " parameter"); in engineInit()
162 + KeyGenParameterSpec.class.getName() + " parameter"); in engineInit()
172 if ((params == null) || (!(params instanceof KeyGenParameterSpec))) { in engineInit()
174 + KeyGenParameterSpec.class.getName() + " parameter"); in engineInit()
176 KeyGenParameterSpec spec = (KeyGenParameterSpec) params; in engineInit()
211 + ". See " + KeyGenParameterSpec.class.getName() in engineInit()
284 KeyGenParameterSpec spec = mSpec; in engineGenerateKey()
DAndroidKeyStoreKeyPairGeneratorSpi.java41 import android.security.keystore.KeyGenParameterSpec;
175 private KeyGenParameterSpec mSpec;
222 KeyGenParameterSpec.class.getName() + " or " + KeyPairGeneratorSpec.class.getName() in initialize()
236 "Must supply params of type " + KeyGenParameterSpec.class.getName() in initialize()
240 KeyGenParameterSpec spec; in initialize()
243 if (params instanceof KeyGenParameterSpec) { in initialize()
244 spec = (KeyGenParameterSpec) params; in initialize()
265 + " use " + KeyGenParameterSpec.class.getName() + " or " in initialize()
275 + ". Supported: " + KeyGenParameterSpec.class.getName() in initialize()
314 + ". See " + KeyGenParameterSpec.class.getName() in initialize()
[all …]
DAndroidKeyStoreKeyFactorySpi.java20 import android.security.keystore.KeyGenParameterSpec;
123 + " " + KeyGenParameterSpec.class.getName()); in engineGeneratePrivate()
130 + " " + KeyGenParameterSpec.class.getName()); in engineGeneratePublic()
DAndroidKeyStoreSecretKeyFactorySpi.java24 import android.security.keystore.KeyGenParameterSpec;
279 + KeyGenParameterSpec.class.getName()); in engineGenerateSecret()
DAndroidKeyStoreSpi.java29 import android.security.keystore.KeyGenParameterSpec;
853 KeyGenParameterSpec spec = (KeyGenParameterSpec) entry.getAlgorithmParameterSpec(); in setWrappedKeyEntry()
/frameworks/base/services/core/java/com/android/server/locksettings/
DRebootEscrowKeyStoreManager.java19 import android.security.keystore.KeyGenParameterSpec;
110 KeyGenParameterSpec.Builder parameterSpecBuilder = new KeyGenParameterSpec.Builder( in generateKeyStoreEncryptionKeyIfNeeded()
DManagedProfilePasswordCache.java23 import android.security.keystore.KeyGenParameterSpec;
98 generator.init(new KeyGenParameterSpec.Builder( in storePassword()
/frameworks/base/keystore/java/android/security/keystore/
DParcelableKeyGenParameterSpec.java39 private final KeyGenParameterSpec mSpec;
42 KeyGenParameterSpec spec) { in ParcelableKeyGenParameterSpec()
178 mSpec = new KeyGenParameterSpec( in ParcelableKeyGenParameterSpec()
226 public KeyGenParameterSpec getSpec() { in getSpec()
DAttestationUtils.java148 KeyGenParameterSpec.Builder builder = in attestDeviceIds()
149 new KeyGenParameterSpec.Builder(keystoreAlias, KeyProperties.PURPOSE_SIGN) in attestDeviceIds()
DKeyGenParameterSpec.java281 public final class KeyGenParameterSpec implements AlgorithmParameterSpec, UserAuthArgs { class
332 public KeyGenParameterSpec( in KeyGenParameterSpec() method in KeyGenParameterSpec
955 public Builder(@NonNull KeyGenParameterSpec sourceSpec) { in Builder()
1731 public KeyGenParameterSpec build() { in build()
1732 return new KeyGenParameterSpec( in build()
/frameworks/base/services/core/java/com/android/server/security/
DAttestationVerificationSelfTrustedVerifierForTesting.java27 import android.security.keystore.KeyGenParameterSpec;
122 KeyGenParameterSpec parameterSpec = new KeyGenParameterSpec.Builder( in AttestationVerificationSelfTrustedVerifierForTesting()
/frameworks/base/tests/AttestationVerificationTest/src/android/security/attestationverification/
DSystemAttestationVerificationTest.kt22 import android.security.keystore.KeyGenParameterSpec in <lambda>()
194 val parameterSpec: KeyGenParameterSpec = KeyGenParameterSpec.Builder( in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGeneratorTest.java26 import android.security.keystore.KeyGenParameterSpec;
175 keyGenerator.init(new KeyGenParameterSpec.Builder( in generatePlatformKey()
DWrappedKeyTest.java24 import android.security.keystore.KeyGenParameterSpec;
203 keyGenerator.init(new KeyGenParameterSpec.Builder( in generateAndroidKeyStoreKey()
DPlatformKeyManagerTest.java35 import android.security.keystore.KeyGenParameterSpec;
582 keyGenerator.init(new KeyGenParameterSpec.Builder(TESTING_KEYSTORE_KEY_ALIAS, in generateAndroidKeyStoreKey()
DKeySyncTaskTest.java45 import android.security.keystore.KeyGenParameterSpec;
854 keyGenerator.init(new KeyGenParameterSpec.Builder( in generateAndroidKeyStoreKey()
DRecoverableKeyStoreManagerTest.java48 import android.security.keystore.KeyGenParameterSpec;
1320 keyGenerator.init(new KeyGenParameterSpec.Builder( in generateAndroidKeyStoreKey()
/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java23 import android.security.keystore.KeyGenParameterSpec;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DPinStorage.java52 import android.security.keystore.KeyGenParameterSpec;
1096 KeyGenParameterSpec.Builder keyGenParameterSpec = in createSecretKey()
1097 new KeyGenParameterSpec.Builder(alias, PURPOSE_ENCRYPT | PURPOSE_DECRYPT) in createSecretKey()
/frameworks/base/core/api/
Dtest-lint-baseline.txt174 MissingGetterMatchingBuilder: android.security.keystore.KeyGenParameterSpec.Builder#setUniqueIdIncl…
175 …y.keystore.KeyGenParameterSpec does not declare a `isUniqueIdIncluded()` method matching method an…
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java89 import android.security.keystore.KeyGenParameterSpec;
7335 @NonNull String algorithm, @NonNull KeyGenParameterSpec keySpec, in generateKeyPair()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java319 import android.security.keystore.KeyGenParameterSpec;
5883 KeyGenParameterSpec keySpec = parcelableKeySpec.getSpec();
5925 KeyGenParameterSpec.Builder specBuilder = new KeyGenParameterSpec.Builder(keySpec);
/frameworks/base/boot/
Dboot-image-profile.txt13361 HSPLandroid/security/keystore/KeyGenParameterSpec$Builder;-><init>(Ljava/lang/String;I)V
13362 HSPLandroid/security/keystore/KeyGenParameterSpec$Builder;->build()Landroid/security/keystore/KeyGe…
13363 …id/security/keystore/KeyGenParameterSpec$Builder;->setBlockModes([Ljava/lang/String;)Landroid/secu…
13364 …ecurity/keystore/KeyGenParameterSpec$Builder;->setEncryptionPaddings([Ljava/lang/String;)Landroid/…
13365 HSPLandroid/security/keystore/KeyGenParameterSpec$Builder;->setKeySize(I)Landroid/security/keystore…
13366 HSPLandroid/security/keystore/KeyGenParameterSpec;-><init>(Ljava/lang/String;IILjava/security/spec/…
13367 HSPLandroid/security/keystore/KeyGenParameterSpec;->getBlockModes()[Ljava/lang/String;
13368 HSPLandroid/security/keystore/KeyGenParameterSpec;->getEncryptionPaddings()[Ljava/lang/String;
13369 HSPLandroid/security/keystore/KeyGenParameterSpec;->getKeySize()I
13370 HSPLandroid/security/keystore/KeyGenParameterSpec;->getKeyValidityForConsumptionEnd()Ljava/util/Dat…
[all …]

12