blob: 240998e3ea6a3d94d3af407e1e8964c5cfb14f3b [file] [log] [blame]
Janis Danisevskis43c89712020-08-03 23:42:42 +00001// Copyright 2020, The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! This crate implements the Android Keystore 2.0 service.
Janis Danisevskis6f1bb562020-12-28 15:52:41 -080016#![recursion_limit = "256"]
Janis Danisevskis7d77a762020-07-20 13:03:31 -070017
Janis Danisevskis7a1cf382020-11-20 11:22:14 -080018pub mod apc;
Hasini Gunasinghe9ec096c2020-11-17 00:45:44 +000019pub mod auth_token_handler;
Janis Danisevskis9f10a6a2021-01-18 16:45:21 +000020pub mod authorization;
Hasini Gunasinghef04d07a2020-11-25 22:41:35 +000021pub mod background_task_handler;
Joel Galenson26f4d012020-07-17 14:57:21 -070022pub mod database;
Hasini Gunasinghe3410f792020-09-14 17:55:21 +000023pub mod enforcements;
Janis Danisevskis7d77a762020-07-20 13:03:31 -070024pub mod error;
Janis Danisevskisa75e2082020-10-07 16:44:26 -070025pub mod globals;
Hasini Gunasinghe12486362020-07-24 18:40:20 +000026/// Internal Representation of Key Parameter and convenience functions.
27pub mod key_parameter;
Janis Danisevskisa51ccbc2020-11-25 21:04:24 -080028pub mod legacy_blob;
Janis Danisevskis1af91262020-08-10 14:58:08 -070029pub mod operation;
Janis Danisevskis78bd48c2020-07-21 12:27:13 -070030pub mod permission;
Janis Danisevskis1af91262020-08-10 14:58:08 -070031pub mod security_level;
32pub mod service;
Janis Danisevskisa75e2082020-10-07 16:44:26 -070033pub mod utils;
Janis Danisevskisbf15d732020-12-08 10:35:26 -080034
Janis Danisevskis93927dd2020-12-23 12:23:08 -080035mod async_task;
Janis Danisevskisbf15d732020-12-08 10:35:26 -080036mod db_utils;
Janis Danisevskis93927dd2020-12-23 12:23:08 -080037mod gc;
Janis Danisevskisb42fc182020-12-15 08:41:27 -080038mod super_key;
Janis Danisevskisbf15d732020-12-08 10:35:26 -080039
40#[cfg(test)]
41mod test {
42 pub mod utils;
43}