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.java4952 @NonNull String algorithm, @NonNull KeyGenParameterSpec keySpec, in generateKeyPair() argument
4957 new ParcelableKeyGenParameterSpec(keySpec); in generateKeyPair()
4969 final String alias = keySpec.getKeystoreAlias(); in generateKeyPair()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java5726 EncodedKeySpec keySpec; in parsePublicKey() local
5729 keySpec = new X509EncodedKeySpec(encoded); in parsePublicKey()
5738 return keyFactory.generatePublic(keySpec); in parsePublicKey()
5748 return keyFactory.generatePublic(keySpec); in parsePublicKey()
5758 return keyFactory.generatePublic(keySpec); in parsePublicKey()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java5836 final KeyGenParameterSpec keySpec = parcelableKeySpec.getSpec(); in generateKeyPair() local
5837 final String alias = keySpec.getKeystoreAlias(); in generateKeyPair()
5843 if (keySpec.getUid() != KeyStore.UID_SELF) { in generateKeyPair()
5848 if (deviceIdAttestationRequired && (keySpec.getAttestationChallenge() == null)) { in generateKeyPair()
5863 new KeyGenParameterSpec.Builder(keySpec) in generateKeyPair()
5889 final byte[] attestationChallenge = keySpec.getAttestationChallenge(); in generateKeyPair()