Home
last modified time | relevance | path

Searched refs:keySpec (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/signedconfig/
DSignatureVerifier.java61 EncodedKeySpec keySpec; in createKey() local
64 keySpec = new X509EncodedKeySpec(key); in createKey()
71 return factory.generatePublic(keySpec); in createKey()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/cdc/
DFingerprintMixerTest.java78 UnencodableSecretKeySpec keySpec = in create_withUnencodableSecretKey_throwsInvalidKeyException() local
81 assertThrows(InvalidKeyException.class, () -> new FingerprintMixer(keySpec, randomSalt())); in create_withUnencodableSecretKey_throwsInvalidKeyException()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java143 PKCS8EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(derKey); in createKey() local
145 return (PrivateKey) keyFactory.generatePrivate(keySpec); in createKey()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSecretKeyFactorySpi.java225 protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException { in engineGenerateSecret() argument
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl178 in ParcelableKeyGenParameterSpec keySpec, in generateKeyPair() argument
DDevicePolicyManager.java4934 @NonNull String algorithm, @NonNull KeyGenParameterSpec keySpec, in generateKeyPair() argument
4939 new ParcelableKeyGenParameterSpec(keySpec); in generateKeyPair()
4951 final String alias = keySpec.getKeystoreAlias(); in generateKeyPair()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java5669 EncodedKeySpec keySpec; in parsePublicKey() local
5672 keySpec = new X509EncodedKeySpec(encoded); in parsePublicKey()
5681 return keyFactory.generatePublic(keySpec); in parsePublicKey()
5691 return keyFactory.generatePublic(keySpec); in parsePublicKey()
5701 return keyFactory.generatePublic(keySpec); in parsePublicKey()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java5820 final KeyGenParameterSpec keySpec = parcelableKeySpec.getSpec(); in generateKeyPair() local
5821 final String alias = keySpec.getKeystoreAlias(); in generateKeyPair()
5827 if (keySpec.getUid() != KeyStore.UID_SELF) { in generateKeyPair()
5832 if (deviceIdAttestationRequired && (keySpec.getAttestationChallenge() == null)) { in generateKeyPair()
5847 new KeyGenParameterSpec.Builder(keySpec) in generateKeyPair()
5873 final byte[] attestationChallenge = keySpec.getAttestationChallenge(); in generateKeyPair()