1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- /*
- * Copyright (C) 2018 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:
- *
- * 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.
- */
- syntax = "proto2";
- package keystore;
- option optimize_for = LITE_RUNTIME;
- message OperationConfig {
-
- optional string algorithm = 1;
-
- optional int32 key_size = 2;
-
-
- optional string origin = 3;
-
- optional string user_auth_type = 4;
-
-
-
- optional int32 user_auth_key_timeout = 5;
-
- optional string padding = 6;
-
- optional string digest = 7;
-
- optional string block_mode = 8;
-
-
- optional bool was_op_successful = 9;
-
- optional string purpose = 10;
-
- optional string ec_curve = 11;
-
- optional string key_blob_usage_reqs = 12;
- }
- message OperationConfigEvent {
- optional OperationConfig op_config = 1;
-
-
- optional uint32 count = 2;
- }
- message OperationConfigEvents {
- repeated OperationConfigEvent op_config_events = 1;
- }
|