Searched refs:KeyFactory (Results 1 – 10 of 10) sorted by relevance
34 class KeyFactory {36 explicit KeyFactory(const KeymasterContext* context) : context_(context) {} in KeyFactory() function37 virtual ~KeyFactory() {} in ~KeyFactory()
63 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;119 std::unique_ptr<KeyFactory> rsa_factory_;120 std::unique_ptr<KeyFactory> ec_factory_;121 std::unique_ptr<KeyFactory> aes_factory_;122 std::unique_ptr<KeyFactory> hmac_factory_;
28 class AsymmetricKeyFactory : public KeyFactory {30 explicit AsymmetricKeyFactory(const KeymasterContext* context) : KeyFactory(context) {} in AsymmetricKeyFactory()
30 class KeyFactory; variable90 virtual KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const = 0;
26 class KeyFactory; variable88 const KeyFactory** factory, UniquePtr<Key>* key);
31 import java.security.KeyFactory;176 return KeyFactory.getInstance(algOid).generatePrivate(spec); in loadDERPrivateKey()194 KeyFactory factory = KeyFactory.getInstance("RSA"); in loadDERPublicKey()201 KeyFactory factory = KeyFactory.getInstance("RSA"); in loadPEMPublicKey()223 KeyFactory factory = KeyFactory.getInstance("EC"); in getSignatureAlgorithm()
28 class SymmetricKeyFactory : public KeyFactory {30 explicit SymmetricKeyFactory(const KeymasterContext* context) : KeyFactory(context) {} in SymmetricKeyFactory()
192 KeyFactory* factory = 0; in GenerateKey()223 static KeyFactory* GetKeyFactory(const KeymasterContext& context, in GetKeyFactory()231 KeyFactory* factory = context.GetKeyFactory(*algorithm); in GetKeyFactory()245 const KeyFactory* key_factory; in BeginOperation()372 KeyFactory* key_factory = in ExportKey()398 const KeyFactory* key_factory; in AttestKey()432 KeyFactory* factory = 0; in ImportKey()468 const KeyFactory** factory, UniquePtr<Key>* key) { in LoadKey()
44 KeyFactory* GetKeyFactory(keymaster_algorithm_t /* algorithm */) const override { in GetKeyFactory()
362 KeyFactory* SoftKeymasterContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory()388 KeyFactory* key_factory = GetKeyFactory(algorithm); in GetOperationFactory()