Home
last modified time | relevance | path

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

12

/frameworks/base/keystore/tests/src/android/security/keystore/
DKeyGenParameterSpecTest.java41 KeyGenParameterSpec spec = ParcelableKeyGenParameterSpecTest.configureDefaultSpec(); in testBuilderCopyingValues()
42 KeyGenParameterSpec copiedSpec = in testBuilderCopyingValues()
43 new KeyGenParameterSpec.Builder(spec).build(); in testBuilderCopyingValues()
50 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES).build(); in testBuilderCopyingEmptyValues()
51 KeyGenParameterSpec copiedSpec = new KeyGenParameterSpec.Builder(spec).build(); in testBuilderCopyingEmptyValues()
59 KeyGenParameterSpec spec = ParcelableKeyGenParameterSpecTest.configureDefaultSpec(); in testCanModifyValuesInCopiedBuilder()
60 KeyGenParameterSpec copiedSpec = in testCanModifyValuesInCopiedBuilder()
61 new KeyGenParameterSpec.Builder(spec) in testCanModifyValuesInCopiedBuilder()
70 KeyGenParameterSpec spec = ParcelableKeyGenParameterSpecTest.configureDefaultSpec(); in testMgf1DigestsNotSpecifiedByDefault()
81 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in testMgf1DigestsCanBeSpecified()
[all …]
/frameworks/base/keystore/tests/src/android/security/
DParcelableKeyGenParameterSpecTest.java25 import android.security.keystore.KeyGenParameterSpec;
62 public static KeyGenParameterSpec configureDefaultSpec() { in configureDefaultSpec()
63 return new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in configureDefaultSpec()
91 public static void validateSpecValues(KeyGenParameterSpec spec, in validateSpecValues()
146 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES).build()); in testParcelingWithNullValues()
149 KeyGenParameterSpec fromParcel = ParcelableKeyGenParameterSpec.CREATOR in testParcelingWithNullValues()
164 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in testParcelingRSAAlgoParameter()
169 KeyGenParameterSpec fromParcel = in testParcelingRSAAlgoParameter()
183 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in testParcelingECAlgoParameter()
187 KeyGenParameterSpec fromParcel = in testParcelingECAlgoParameter()
[all …]
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreKeyGeneratorSpi.java26 import android.security.keystore.KeyGenParameterSpec;
122 private KeyGenParameterSpec mSpec;
157 + KeyGenParameterSpec.class.getName() + " parameter"); in engineInit()
163 + KeyGenParameterSpec.class.getName() + " parameter"); in engineInit()
173 if ((params == null) || (!(params instanceof KeyGenParameterSpec))) { in engineInit()
175 + KeyGenParameterSpec.class.getName() + " parameter"); in engineInit()
177 KeyGenParameterSpec spec = (KeyGenParameterSpec) params; in engineInit()
212 + ". See " + KeyGenParameterSpec.class.getName() in engineInit()
286 KeyGenParameterSpec spec = mSpec; in engineGenerateKey()
DAndroidKeyStoreKeyPairGeneratorSpi.java41 import android.security.keystore.KeyGenParameterSpec;
192 private KeyGenParameterSpec mSpec;
240 KeyGenParameterSpec.class.getName() + " or " + KeyPairGeneratorSpec.class.getName() in initialize()
254 "Must supply params of type " + KeyGenParameterSpec.class.getName() in initialize()
258 KeyGenParameterSpec spec; in initialize()
263 if (params instanceof KeyGenParameterSpec) { in initialize()
264 spec = (KeyGenParameterSpec) params; in initialize()
285 + " use " + KeyGenParameterSpec.class.getName() + " or " in initialize()
295 + ". Supported: " + KeyGenParameterSpec.class.getName() in initialize()
334 + ". See " + KeyGenParameterSpec.class.getName() in initialize()
[all …]
DAndroidKeyStoreKeyFactorySpi.java19 import android.security.keystore.KeyGenParameterSpec;
120 + " " + KeyGenParameterSpec.class.getName()); in engineGeneratePrivate()
127 + " " + KeyGenParameterSpec.class.getName()); in engineGeneratePublic()
DAndroidKeyStoreSecretKeyFactorySpi.java23 import android.security.keystore.KeyGenParameterSpec;
281 + KeyGenParameterSpec.class.getName()); in engineGenerateSecret()
DAndroidKeyStoreSpi.java34 import android.security.keystore.KeyGenParameterSpec;
956 KeyGenParameterSpec spec = (KeyGenParameterSpec) entry.getAlgorithmParameterSpec(); in setWrappedKeyEntry()
/frameworks/base/services/companion/java/com/android/server/companion/securechannel/
DKeyStoreUtils.java24 import android.security.keystore.KeyGenParameterSpec;
90 KeyGenParameterSpec parameterSpec = in generateAttestationKeyPair()
91 new KeyGenParameterSpec.Builder(alias, PURPOSE_SIGN | PURPOSE_VERIFY) in generateAttestationKeyPair()
/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()
DUnifiedProfilePasswordCache.java21 import android.security.keystore.KeyGenParameterSpec;
92 generator.init(new KeyGenParameterSpec.Builder( in storePassword()
/frameworks/base/keystore/java/android/security/keystore/
DParcelableKeyGenParameterSpec.java43 private final KeyGenParameterSpec mSpec;
46 KeyGenParameterSpec spec) { in ParcelableKeyGenParameterSpec()
190 mSpec = new KeyGenParameterSpec( in ParcelableKeyGenParameterSpec()
240 public KeyGenParameterSpec getSpec() { in getSpec()
DAttestationUtils.java148 KeyGenParameterSpec.Builder builder = in attestDeviceIds()
149 new KeyGenParameterSpec.Builder(keystoreAlias, KeyProperties.PURPOSE_SIGN) in attestDeviceIds()
DKeyGenParameterSpec.java287 public final class KeyGenParameterSpec implements AlgorithmParameterSpec, UserAuthArgs { class
341 public KeyGenParameterSpec( in KeyGenParameterSpec() method in KeyGenParameterSpec
1009 public Builder(@NonNull KeyGenParameterSpec sourceSpec) { in Builder()
1879 public KeyGenParameterSpec build() { in build()
1880 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.java36 import android.security.keystore.KeyGenParameterSpec;
596 keyGenerator.init(new KeyGenParameterSpec.Builder(TESTING_KEYSTORE_KEY_ALIAS, in generateAndroidKeyStoreKey()
DKeySyncTaskTest.java46 import android.security.keystore.KeyGenParameterSpec;
944 keyGenerator.init(new KeyGenParameterSpec.Builder( in generateAndroidKeyStoreKey()
DRecoverableKeyStoreManagerTest.java50 import android.security.keystore.KeyGenParameterSpec;
1529 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.java53 import android.security.keystore.KeyGenParameterSpec;
1102 KeyGenParameterSpec.Builder keyGenParameterSpec = in createSecretKey()
1103 new KeyGenParameterSpec.Builder(alias, PURPOSE_ENCRYPT | PURPOSE_DECRYPT) in createSecretKey()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java146 import android.security.keystore.KeyGenParameterSpec;
7952 @NonNull String algorithm, @NonNull KeyGenParameterSpec keySpec, in generateKeyPair()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt47292 …ity/keystore/AndroidKeyStoreKeyGeneratorSpi;->mSpec:Landroid/security/keystore/KeyGenParameterSpec;
47309 …pi;->getCertificateSignatureAlgorithm(IILandroid/security/keystore/KeyGenParameterSpec;)Ljava/lang…
47328 …keystore/AndroidKeyStoreKeyPairGeneratorSpi;->mSpec:Landroid/security/keystore/KeyGenParameterSpec;
47411 Landroid/security/keystore/KeyGenParameterSpec$Builder;-><init>(Landroid/security/keystore/KeyGenPa…
47412 Landroid/security/keystore/KeyGenParameterSpec$Builder;->mAttestationChallenge:[B
47413 Landroid/security/keystore/KeyGenParameterSpec$Builder;->mBlockModes:[Ljava/lang/String;
47414 Landroid/security/keystore/KeyGenParameterSpec$Builder;->mCertificateNotAfter:Ljava/util/Date;
47415 Landroid/security/keystore/KeyGenParameterSpec$Builder;->mCertificateNotBefore:Ljava/util/Date;
47416 Landroid/security/keystore/KeyGenParameterSpec$Builder;->mCertificateSerialNumber:Ljava/math/BigInt…
47417 Landroid/security/keystore/KeyGenParameterSpec$Builder;->mCertificateSubject:Ljavax/security/auth/x…
[all …]
/frameworks/base/boot/
Dboot-image-profile.txt13383 HSPLandroid/security/keystore/KeyGenParameterSpec$Builder;-><init>(Ljava/lang/String;I)V
13384 HSPLandroid/security/keystore/KeyGenParameterSpec$Builder;->build()Landroid/security/keystore/KeyGe…
13385 …id/security/keystore/KeyGenParameterSpec$Builder;->setBlockModes([Ljava/lang/String;)Landroid/secu…
13386 …ecurity/keystore/KeyGenParameterSpec$Builder;->setEncryptionPaddings([Ljava/lang/String;)Landroid/…
13387 HSPLandroid/security/keystore/KeyGenParameterSpec$Builder;->setKeySize(I)Landroid/security/keystore…
13388 HSPLandroid/security/keystore/KeyGenParameterSpec;->getBlockModes()[Ljava/lang/String;
13389 HSPLandroid/security/keystore/KeyGenParameterSpec;->getEncryptionPaddings()[Ljava/lang/String;
13390 HSPLandroid/security/keystore/KeyGenParameterSpec;->getKeySize()I
13391 HSPLandroid/security/keystore/KeyGenParameterSpec;->getKeyValidityForConsumptionEnd()Ljava/util/Dat…
13392 HSPLandroid/security/keystore/KeyGenParameterSpec;->getKeyValidityForOriginationEnd()Ljava/util/Dat…
[all …]

12