blob: eb42d32c871a19578e6bba8a7f52db617ce76693 [file] [log] [blame]
Robert Shih8ee98882022-01-04 23:37:35 -08001/*
2 * Copyright (C) 2021 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.drm;
18
19@VintfStability
20parcelable ProvisionRequest {
21 /** The opaque certificate request blob. */
22 byte[] request;
23
24 /**
25 * The URL that the provisioning request may be sent to,
26 * if known by the HAL implementation. An app can choose to
27 * override this URL. If the HAL implementation does not provide
28 * a defaultUrl, the returned string must be empty.
29 */
30 String defaultUrl;
31}