Home
last modified time | relevance | path

Searched refs:CertificateChain (Results 1 – 25 of 39) sorted by relevance

12

/system/keymaster/contexts/
Dsoft_attestation_cert.cpp299 CertificateChain getAttestationChain(keymaster_algorithm_t algorithm, keymaster_error_t* error) { in getAttestationChain()
302 CertificateChain retval; in getAttestationChain()
306 retval = CertificateChain::clone(kRsaAttestChain); in getAttestationChain()
310 retval = CertificateChain::clone(kEcAttestChain); in getAttestationChain()
Dkeymaster2_passthrough_context.cpp129 CertificateChain Keymaster2PassthroughContext::GenerateAttestation( in GenerateAttestation()
139 CertificateChain retval = CertificateChain::clone(cchain); in GenerateAttestation()
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h256 struct CertificateChain : public keymaster_cert_chain_t { struct
257 CertificateChain() : keymaster_cert_chain_t{} {} in CertificateChain() function
263 explicit CertificateChain(size_t length) : keymaster_cert_chain_t{} { in CertificateChain() argument
272 CertificateChain(CertificateChain&& other) : keymaster_cert_chain_t{} { *this = move(other); } in CertificateChain() argument
274 ~CertificateChain() { Clear(); } in ~CertificateChain() argument
276 CertificateChain& operator=(CertificateChain&& other) {
286 static CertificateChain clone(const keymaster_cert_chain_t& other) { in clone() argument
287 CertificateChain retval; in clone()
Dkey_factory.h45 CertificateChain* cert_chain) const = 0;
55 CertificateChain* cert_chain) const = 0;
Dkeymaster_context.h159 virtual CertificateChain GenerateAttestation(const Key& key,
174 virtual CertificateChain GenerateSelfSignedCertificate(const Key& key,
Dattestation_context.h98 virtual CertificateChain GetAttestationChain(keymaster_algorithm_t algorithm,
/system/keymaster/include/keymaster/km_openssl/
Dattestation_utils.h81 CertificateChain generate_attestation(const AsymmetricKey& key,
120 CertificateChain generate_attestation(const EVP_PKEY* evp_key, //
Drsa_key_factory.h38 CertificateChain* cert_chain) const override;
47 CertificateChain* cert_chain) const override;
Dec_key_factory.h41 CertificateChain* cert_chain) const override;
50 CertificateChain* cert_chain) const override;
Dsymmetric_key.h41 CertificateChain* cert_chain) const override;
50 CertificateChain* cert_chain) const override;
Dcertificate_utils.h72 CertificateChain generate_self_signed_cert(const AsymmetricKey& key, const AuthorizationSet& params,
/system/keymaster/km_openssl/
Dattestation_utils.cpp35 CertificateChain make_cert_chain(X509* certificate, CertificateChain chain, in make_cert_chain()
198 const CertificateChain& cert_chain, keymaster_error_t* error) { in get_issuer_subject()
267 CertificateChain generate_attestation(const AsymmetricKey& key, in generate_attestation()
282 CertificateChain generate_attestation(const EVP_PKEY* evp_key, // in generate_attestation()
306 CertificateChain cert_chain = in generate_attestation()
307 attest_key ? CertificateChain() : context.GetAttestationChain(algorithm, error); in generate_attestation()
Dsymmetric_key.cpp39 CertificateChain* /* cert_chain */) const { in GenerateKey()
72 CertificateChain* /* cert_chain */) const { in ImportKey()
/system/keymaster/include/keymaster/legacy_support/
Dec_keymaster1_key.h50 CertificateChain* cert_chain) const override;
60 CertificateChain* cert_chain) const override;
Drsa_keymaster1_key.h50 CertificateChain* cert_chain) const override;
60 CertificateChain* cert_chain) const override;
Dkeymaster1_legacy_support.h72 CertificateChain* cert_chain) const { in GenerateKey()
91 AuthorizationSet* sw_enforced, CertificateChain* cert_chain) const { in ImportKey()
153 CertificateChain* cert_chain) const;
Dkeymaster_passthrough_key.h48 CertificateChain* /* cert_chain */) const override { in GenerateKey() argument
59 CertificateChain* /* cert_chain */) const override { in ImportKey() argument
/system/keymaster/include/keymaster/contexts/
Dsoft_attestation_cert.h28 CertificateChain getAttestationChain(keymaster_algorithm_t algorithm, keymaster_error_t* error);
Dkeymaster2_passthrough_context.h105 CertificateChain GenerateAttestation(const Key& key, //
110 CertificateChain GenerateSelfSignedCertificate(const Key& /* key */, in GenerateSelfSignedCertificate()
Dkeymaster1_passthrough_context.h111 CertificateChain GenerateAttestation(const Key& key, //
116 CertificateChain GenerateSelfSignedCertificate(const Key& /* key */, in GenerateSelfSignedCertificate()
Dsoft_attestation_context.h40 CertificateChain GetAttestationChain(keymaster_algorithm_t algorithm, in GetAttestationChain()
Dsoft_keymaster_context.h81 CertificateChain GenerateAttestation(const Key& key, const AuthorizationSet& attest_params,
85 CertificateChain GenerateSelfSignedCertificate(const Key& key,
Dpure_soft_keymaster_context.h74 CertificateChain GenerateAttestation(const Key& key, const AuthorizationSet& attest_params,
78 CertificateChain GenerateSelfSignedCertificate(const Key& key,
/system/keymaster/legacy_support/
Drsa_keymaster1_key.cpp89 CertificateChain* /* cert_chain */) const { in GenerateKey()
104 CertificateChain* /* cert_chain */) const { in ImportKey()
Dec_keymaster1_key.cpp71 CertificateChain* /* cert_chain */) const { in GenerateKey()
95 CertificateChain* /* cert_chain */) const { in ImportKey()

12