Home
last modified time | relevance | path

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

/frameworks/base/keystore/tests/src/android/security/keystore/
DKeyGenParameterSpecTest.java23 import android.security.keystore.KeyGenParameterSpec;
38 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;
58 public static KeyGenParameterSpec configureDefaultSpec() { in configureDefaultSpec()
59 return new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in configureDefaultSpec()
83 public static void validateSpecValues(KeyGenParameterSpec spec, int uid, String alias) { in validateSpecValues()
132 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES).build()); in testParcelingWithNullValues()
135 KeyGenParameterSpec fromParcel = ParcelableKeyGenParameterSpec.CREATOR in testParcelingWithNullValues()
150 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in testParcelingRSAAlgoParameter()
155 KeyGenParameterSpec fromParcel = in testParcelingRSAAlgoParameter()
169 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in testParcelingECAlgoParameter()
173 KeyGenParameterSpec fromParcel = in testParcelingECAlgoParameter()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreKeyGeneratorSpi.java25 import android.security.keystore.KeyGenParameterSpec;
112 private KeyGenParameterSpec mSpec;
147 + KeyGenParameterSpec.class.getName() + " parameter"); in engineInit()
153 + KeyGenParameterSpec.class.getName() + " parameter"); in engineInit()
163 if ((params == null) || (!(params instanceof KeyGenParameterSpec))) { in engineInit()
165 + KeyGenParameterSpec.class.getName() + " parameter"); in engineInit()
167 KeyGenParameterSpec spec = (KeyGenParameterSpec) params; in engineInit()
202 + ". See " + KeyGenParameterSpec.class.getName() in engineInit()
270 KeyGenParameterSpec spec = mSpec; in engineGenerateKey()
DParcelableKeyGenParameterSpec.java39 private final KeyGenParameterSpec mSpec;
42 KeyGenParameterSpec spec) { in ParcelableKeyGenParameterSpec()
119 KeyGenParameterSpec.Builder builder = new KeyGenParameterSpec.Builder( in ParcelableKeyGenParameterSpec()
184 public KeyGenParameterSpec getSpec() { in getSpec()
DAndroidKeyStoreKeyPairGeneratorSpi.java155 private KeyGenParameterSpec mSpec;
181 KeyGenParameterSpec.class.getName() + " or " + KeyPairGeneratorSpec.class.getName() in initialize()
195 "Must supply params of type " + KeyGenParameterSpec.class.getName() in initialize()
199 KeyGenParameterSpec spec; in initialize()
202 if (params instanceof KeyGenParameterSpec) { in initialize()
203 spec = (KeyGenParameterSpec) params; in initialize()
208 KeyGenParameterSpec.Builder specBuilder; in initialize()
223 specBuilder = new KeyGenParameterSpec.Builder( in initialize()
238 specBuilder = new KeyGenParameterSpec.Builder( in initialize()
292 + ". Supported: " + KeyGenParameterSpec.class.getName() in initialize()
[all …]
DKeyGenParameterSpec.java237 public final class KeyGenParameterSpec implements AlgorithmParameterSpec, UserAuthArgs { class
275 public KeyGenParameterSpec( in KeyGenParameterSpec() method in KeyGenParameterSpec
766 public Builder(@NonNull KeyGenParameterSpec sourceSpec) { in Builder()
1327 public KeyGenParameterSpec build() { in build()
1328 return new KeyGenParameterSpec( in build()
DAndroidKeyStoreKeyFactorySpi.java130 + " " + KeyGenParameterSpec.class.getName()); in engineGeneratePrivate()
137 + " " + KeyGenParameterSpec.class.getName()); in engineGeneratePublic()
DAndroidKeyStoreSecretKeyFactorySpi.java228 + KeyGenParameterSpec.class.getName()); in engineGenerateSecret()
DAndroidKeyStoreSpi.java793 KeyGenParameterSpec spec = (KeyGenParameterSpec) entry.getAlgorithmParameterSpec(); in setWrappedKeyEntry()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGeneratorTest.java26 import android.security.keystore.KeyGenParameterSpec;
139 keyGenerator.init(new KeyGenParameterSpec.Builder( in generatePlatformKey()
DWrappedKeyTest.java25 import android.security.keystore.KeyGenParameterSpec;
157 keyGenerator.init(new KeyGenParameterSpec.Builder( in generateAndroidKeyStoreKey()
DKeySyncTaskTest.java46 import android.security.keystore.KeyGenParameterSpec;
828 keyGenerator.init(new KeyGenParameterSpec.Builder( in generateAndroidKeyStoreKey()
DRecoverableKeyStoreManagerTest.java49 import android.security.keystore.KeyGenParameterSpec;
1219 keyGenerator.init(new KeyGenParameterSpec.Builder( in generateAndroidKeyStoreKey()
/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java23 import android.security.keystore.KeyGenParameterSpec;
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java73 import android.security.keystore.KeyGenParameterSpec;
4194 @NonNull String algorithm, @NonNull KeyGenParameterSpec keySpec, in generateKeyPair()
/frameworks/base/api/
Dtest-current.txt770 public static final class KeyGenParameterSpec.Builder {
771 … method public android.security.keystore.KeyGenParameterSpec.Builder setUniqueIdIncluded(boolean);
Dcurrent.txt6442 …droid.content.ComponentName, java.lang.String, android.security.keystore.KeyGenParameterSpec, int);
38589 public final class KeyGenParameterSpec implements java.security.spec.AlgorithmParameterSpec {
38618 public static final class KeyGenParameterSpec.Builder {
38619 ctor public KeyGenParameterSpec.Builder(java.lang.String, int);
38620 method public android.security.keystore.KeyGenParameterSpec build();
38621 …method public android.security.keystore.KeyGenParameterSpec.Builder setAlgorithmParameterSpec(java…
38622 …method public android.security.keystore.KeyGenParameterSpec.Builder setAttestationChallenge(byte[]…
38623 …method public android.security.keystore.KeyGenParameterSpec.Builder setBlockModes(java.lang.String…
38624 …method public android.security.keystore.KeyGenParameterSpec.Builder setCertificateNotAfter(java.ut…
38625 …method public android.security.keystore.KeyGenParameterSpec.Builder setCertificateNotBefore(java.u…
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java188 import android.security.keystore.KeyGenParameterSpec;
5422 final KeyGenParameterSpec keySpec = parcelableKeySpec.getSpec(); in generateKeyPair()
5448 final KeyGenParameterSpec noAttestationSpec = in generateKeyPair()
5449 new KeyGenParameterSpec.Builder(keySpec) in generateKeyPair()
/frameworks/base/config/
Dhiddenapi-public-dex.txt1447 …content/ComponentName;Ljava/lang/String;Landroid/security/keystore/KeyGenParameterSpec;I)Landroid/…
39191 Landroid/security/keystore/KeyGenParameterSpec$Builder;
39192 Landroid/security/keystore/KeyGenParameterSpec$Builder;-><init>(Ljava/lang/String;I)V
39193 Landroid/security/keystore/KeyGenParameterSpec$Builder;->build()Landroid/security/keystore/KeyGenPa…
39194 …re/KeyGenParameterSpec$Builder;->setAlgorithmParameterSpec(Ljava/security/spec/AlgorithmParameterS…
39195 …ndroid/security/keystore/KeyGenParameterSpec$Builder;->setAttestationChallenge([B)Landroid/securit…
39196 …id/security/keystore/KeyGenParameterSpec$Builder;->setBlockModes([[Ljava/lang/String;)Landroid/sec…
39197 …security/keystore/KeyGenParameterSpec$Builder;->setCertificateNotAfter(Ljava/util/Date;)Landroid/s…
39198 …security/keystore/KeyGenParameterSpec$Builder;->setCertificateNotBefore(Ljava/util/Date;)Landroid/…
39199 …ity/keystore/KeyGenParameterSpec$Builder;->setCertificateSerialNumber(Ljava/math/BigInteger;)Landr…
[all …]
Dboot-image-profile.txt29287 …pi;->getCertificateSignatureAlgorithm(IILandroid/security/keystore/KeyGenParameterSpec;)Ljava/lang…
29321 HSPLandroid/security/keystore/KeyGenParameterSpec$Builder;-><init>(Ljava/lang/String;I)V
29322 HSPLandroid/security/keystore/KeyGenParameterSpec$Builder;->build()Landroid/security/keystore/KeyGe…
29323 …re/KeyGenParameterSpec$Builder;->setAlgorithmParameterSpec(Ljava/security/spec/AlgorithmParameterS…
29324 …ndroid/security/keystore/KeyGenParameterSpec$Builder;->setAttestationChallenge([B)Landroid/securit…
29325 …roid/security/keystore/KeyGenParameterSpec$Builder;->setDigests([Ljava/lang/String;)Landroid/secur…
29326 …Landroid/security/keystore/KeyGenParameterSpec$Builder;->setUniqueIdIncluded(Z)Landroid/security/k…
29327 HSPLandroid/security/keystore/KeyGenParameterSpec;-><init>(Ljava/lang/String;IILjava/security/spec/…
29328 HSPLandroid/security/keystore/KeyGenParameterSpec;->getDigests()[Ljava/lang/String;
29329 HSPLandroid/security/keystore/KeyGenParameterSpec;->isUnlockedDeviceRequired()Z
[all …]
Dhiddenapi-light-greylist.txt5108 Landroid/security/keystore/KeyGenParameterSpec;->getUid()I
5109 Landroid/security/keystore/KeyGenParameterSpec;->isUniqueIdIncluded()Z