Searched refs:keySpec (Results 1 – 8 of 8) sorted by relevance
61 EncodedKeySpec keySpec; in createKey() local64 keySpec = new X509EncodedKeySpec(key); in createKey()71 return factory.generatePublic(keySpec); in createKey()
78 UnencodableSecretKeySpec keySpec = in create_withUnencodableSecretKey_throwsInvalidKeyException() local81 assertThrows(InvalidKeyException.class, () -> new FingerprintMixer(keySpec, randomSalt())); in create_withUnencodableSecretKey_throwsInvalidKeyException()
143 PKCS8EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(derKey); in createKey() local145 return (PrivateKey) keyFactory.generatePrivate(keySpec); in createKey()
225 protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException { in engineGenerateSecret() argument
178 in ParcelableKeyGenParameterSpec keySpec, in generateKeyPair() argument
4934 @NonNull String algorithm, @NonNull KeyGenParameterSpec keySpec, in generateKeyPair() argument4939 new ParcelableKeyGenParameterSpec(keySpec); in generateKeyPair()4951 final String alias = keySpec.getKeystoreAlias(); in generateKeyPair()
5669 EncodedKeySpec keySpec; in parsePublicKey() local5672 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()
5820 final KeyGenParameterSpec keySpec = parcelableKeySpec.getSpec(); in generateKeyPair() local5821 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()