mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
IIdentityCredentialStore provides an interface to a secure store for user identity documents. This HAL is deliberately fairly general and abstract. To the extent possible, specification of the message formats and semantics of communication with credential verification devices and issuing authorities (IAs) is out of scope for this HAL. It provides the interface with secure storage but a credential-specific Android application will be required to implement the presentation and verification protocols and processes appropriate for the specific credential type. Bug: 111446262 Test: VtsHalIdentityCredentialTargetTest Test: android.hardware.identity-support-lib-test Test: CtsIdentityTestCases Change-Id: I64eb50114d645dd475012ad1b889d2177aaf1d37
104 lines
2.2 KiB
Plaintext
104 lines
2.2 KiB
Plaintext
// Copyright (C) 2019 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
//
|
|
|
|
cc_library {
|
|
name: "android.hardware.identity-support-lib",
|
|
vendor_available: true,
|
|
srcs: [
|
|
"src/IdentityCredentialSupport.cpp",
|
|
],
|
|
export_include_dirs: [
|
|
"include",
|
|
],
|
|
shared_libs: [
|
|
"android.hardware.identity@1.0",
|
|
"libcrypto",
|
|
"libbase",
|
|
"libhidlbase",
|
|
"libhardware",
|
|
],
|
|
static_libs: [
|
|
"libcppbor",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "android.hardware.identity-support-lib-test",
|
|
srcs: [
|
|
"tests/IdentityCredentialSupportTest.cpp",
|
|
],
|
|
shared_libs: [
|
|
"android.hardware.identity-support-lib",
|
|
"android.hardware.identity@1.0",
|
|
"libcrypto",
|
|
"libbase",
|
|
"libhidlbase",
|
|
"libhardware",
|
|
],
|
|
static_libs: [
|
|
"libcppbor",
|
|
"libgmock",
|
|
],
|
|
test_suites: ["general-tests"],
|
|
}
|
|
|
|
// --
|
|
|
|
cc_library {
|
|
name: "libcppbor",
|
|
vendor_available: true,
|
|
host_supported: true,
|
|
srcs: [
|
|
"src/cppbor.cpp",
|
|
"src/cppbor_parse.cpp",
|
|
],
|
|
export_include_dirs: [
|
|
"include/cppbor",
|
|
],
|
|
shared_libs: [
|
|
"libbase",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "cppbor_test",
|
|
srcs: [
|
|
"tests/cppbor_test.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libcppbor",
|
|
"libbase",
|
|
],
|
|
static_libs: [
|
|
"libgmock",
|
|
],
|
|
test_suites: ["general-tests"],
|
|
}
|
|
|
|
cc_test_host {
|
|
name: "cppbor_host_test",
|
|
srcs: [
|
|
"tests/cppbor_test.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libcppbor",
|
|
"libbase",
|
|
],
|
|
static_libs: [
|
|
"libgmock",
|
|
],
|
|
test_suites: ["general-tests"],
|
|
}
|