azot 0.4.4 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-AZ3F3PAE.js +21 -0
- package/dist/cli.cjs +5 -5
- package/dist/cli.js +4 -4
- package/dist/lib.cjs +4 -4
- package/dist/lib.d.cts +1916 -1648
- package/dist/lib.d.ts +1916 -1648
- package/dist/lib.js +1 -1
- package/package.json +2 -1
- package/dist/chunk-X2VD7MDZ.js +0 -21
package/dist/lib.d.ts
CHANGED
|
@@ -3,2062 +3,2306 @@ import Long from 'long';
|
|
|
3
3
|
|
|
4
4
|
/** PlatformVerificationStatus enum. */
|
|
5
5
|
declare enum PlatformVerificationStatus {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
PLATFORM_UNVERIFIED = 0,
|
|
7
|
+
PLATFORM_TAMPERED = 1,
|
|
8
|
+
PLATFORM_SOFTWARE_VERIFIED = 2,
|
|
9
|
+
PLATFORM_HARDWARE_VERIFIED = 3,
|
|
10
|
+
PLATFORM_NO_VERIFICATION = 4,
|
|
11
|
+
PLATFORM_SECURE_STORAGE_SOFTWARE_VERIFIED = 5,
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
/** Represents a License. */
|
|
15
15
|
declare class License implements ILicense {
|
|
16
|
+
/**
|
|
17
|
+
* Constructs a new License.
|
|
18
|
+
* @param [p] Properties to set
|
|
19
|
+
*/
|
|
20
|
+
constructor(p?: ILicense);
|
|
21
|
+
|
|
22
|
+
/** License id. */
|
|
23
|
+
public id?: ILicenseIdentification | null;
|
|
24
|
+
|
|
25
|
+
/** License policy. */
|
|
26
|
+
public policy?: License.IPolicy | null;
|
|
27
|
+
|
|
28
|
+
/** License key. */
|
|
29
|
+
public key: License.IKeyContainer[];
|
|
30
|
+
|
|
31
|
+
/** License licenseStartTime. */
|
|
32
|
+
public licenseStartTime: number | Long;
|
|
33
|
+
|
|
34
|
+
/** License remoteAttestationVerified. */
|
|
35
|
+
public remoteAttestationVerified: boolean;
|
|
36
|
+
|
|
37
|
+
/** License providerClientToken. */
|
|
38
|
+
public providerClientToken: Uint8Array;
|
|
39
|
+
|
|
40
|
+
/** License protectionScheme. */
|
|
41
|
+
public protectionScheme: number;
|
|
42
|
+
|
|
43
|
+
/** License srmRequirement. */
|
|
44
|
+
public srmRequirement: Uint8Array;
|
|
45
|
+
|
|
46
|
+
/** License srmUpdate. */
|
|
47
|
+
public srmUpdate: Uint8Array;
|
|
48
|
+
|
|
49
|
+
/** License platformVerificationStatus. */
|
|
50
|
+
public platformVerificationStatus: PlatformVerificationStatus;
|
|
51
|
+
|
|
52
|
+
/** License groupIds. */
|
|
53
|
+
public groupIds: Uint8Array[];
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Creates a new License instance using the specified properties.
|
|
57
|
+
* @param [properties] Properties to set
|
|
58
|
+
* @returns License instance
|
|
59
|
+
*/
|
|
60
|
+
public static create(properties?: ILicense): License;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Encodes the specified License message. Does not implicitly {@link License.verify|verify} messages.
|
|
64
|
+
* @param m License message or plain object to encode
|
|
65
|
+
* @param [w] Writer to encode to
|
|
66
|
+
* @returns Writer
|
|
67
|
+
*/
|
|
68
|
+
public static encode(m: ILicense, w?: $protobuf.Writer): $protobuf.Writer;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Encodes the specified License message, length delimited. Does not implicitly {@link License.verify|verify} messages.
|
|
72
|
+
* @param message License message or plain object to encode
|
|
73
|
+
* @param [writer] Writer to encode to
|
|
74
|
+
* @returns Writer
|
|
75
|
+
*/
|
|
76
|
+
public static encodeDelimited(
|
|
77
|
+
message: ILicense,
|
|
78
|
+
writer?: $protobuf.Writer,
|
|
79
|
+
): $protobuf.Writer;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Decodes a License message from the specified reader or buffer.
|
|
83
|
+
* @param r Reader or buffer to decode from
|
|
84
|
+
* @param [l] Message length if known beforehand
|
|
85
|
+
* @returns License
|
|
86
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
87
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
88
|
+
*/
|
|
89
|
+
public static decode(r: $protobuf.Reader | Uint8Array, l?: number): License;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Decodes a License message from the specified reader or buffer, length delimited.
|
|
93
|
+
* @param reader Reader or buffer to decode from
|
|
94
|
+
* @returns License
|
|
95
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
96
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
97
|
+
*/
|
|
98
|
+
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): License;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Creates a License message from a plain object. Also converts values to their respective internal types.
|
|
102
|
+
* @param d Plain object
|
|
103
|
+
* @returns License
|
|
104
|
+
*/
|
|
105
|
+
public static fromObject(d: { [k: string]: any }): License;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Creates a plain object from a License message. Also converts values to other types if specified.
|
|
109
|
+
* @param m License
|
|
110
|
+
* @param [o] Conversion options
|
|
111
|
+
* @returns Plain object
|
|
112
|
+
*/
|
|
113
|
+
public static toObject(
|
|
114
|
+
m: License,
|
|
115
|
+
o?: $protobuf.IConversionOptions,
|
|
116
|
+
): { [k: string]: any };
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Converts this License to JSON.
|
|
120
|
+
* @returns JSON object
|
|
121
|
+
*/
|
|
122
|
+
public toJSON(): { [k: string]: any };
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Gets the default type url for License
|
|
126
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
127
|
+
* @returns The default type url
|
|
128
|
+
*/
|
|
129
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
declare namespace License {
|
|
133
|
+
/** Properties of a Policy. */
|
|
134
|
+
interface IPolicy {
|
|
135
|
+
/** Policy canPlay */
|
|
136
|
+
canPlay?: boolean | null;
|
|
137
|
+
|
|
138
|
+
/** Policy canPersist */
|
|
139
|
+
canPersist?: boolean | null;
|
|
140
|
+
|
|
141
|
+
/** Policy canRenew */
|
|
142
|
+
canRenew?: boolean | null;
|
|
143
|
+
|
|
144
|
+
/** Policy rentalDurationSeconds */
|
|
145
|
+
rentalDurationSeconds?: number | Long | null;
|
|
146
|
+
|
|
147
|
+
/** Policy playbackDurationSeconds */
|
|
148
|
+
playbackDurationSeconds?: number | Long | null;
|
|
149
|
+
|
|
150
|
+
/** Policy licenseDurationSeconds */
|
|
151
|
+
licenseDurationSeconds?: number | Long | null;
|
|
152
|
+
|
|
153
|
+
/** Policy renewalRecoveryDurationSeconds */
|
|
154
|
+
renewalRecoveryDurationSeconds?: number | Long | null;
|
|
155
|
+
|
|
156
|
+
/** Policy renewalServerUrl */
|
|
157
|
+
renewalServerUrl?: string | null;
|
|
158
|
+
|
|
159
|
+
/** Policy renewalDelaySeconds */
|
|
160
|
+
renewalDelaySeconds?: number | Long | null;
|
|
161
|
+
|
|
162
|
+
/** Policy renewalRetryIntervalSeconds */
|
|
163
|
+
renewalRetryIntervalSeconds?: number | Long | null;
|
|
164
|
+
|
|
165
|
+
/** Policy renewWithUsage */
|
|
166
|
+
renewWithUsage?: boolean | null;
|
|
16
167
|
|
|
168
|
+
/** Policy alwaysIncludeClientId */
|
|
169
|
+
alwaysIncludeClientId?: boolean | null;
|
|
170
|
+
|
|
171
|
+
/** Policy playStartGracePeriodSeconds */
|
|
172
|
+
playStartGracePeriodSeconds?: number | Long | null;
|
|
173
|
+
|
|
174
|
+
/** Policy softEnforcePlaybackDuration */
|
|
175
|
+
softEnforcePlaybackDuration?: boolean | null;
|
|
176
|
+
|
|
177
|
+
/** Policy softEnforceRentalDuration */
|
|
178
|
+
softEnforceRentalDuration?: boolean | null;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/** Represents a Policy. */
|
|
182
|
+
class Policy implements IPolicy {
|
|
17
183
|
/**
|
|
18
|
-
* Constructs a new
|
|
184
|
+
* Constructs a new Policy.
|
|
19
185
|
* @param [p] Properties to set
|
|
20
186
|
*/
|
|
21
|
-
constructor(p?:
|
|
187
|
+
constructor(p?: License.IPolicy);
|
|
188
|
+
|
|
189
|
+
/** Policy canPlay. */
|
|
190
|
+
public canPlay: boolean;
|
|
191
|
+
|
|
192
|
+
/** Policy canPersist. */
|
|
193
|
+
public canPersist: boolean;
|
|
22
194
|
|
|
23
|
-
/**
|
|
24
|
-
public
|
|
195
|
+
/** Policy canRenew. */
|
|
196
|
+
public canRenew: boolean;
|
|
25
197
|
|
|
26
|
-
/**
|
|
27
|
-
public
|
|
198
|
+
/** Policy rentalDurationSeconds. */
|
|
199
|
+
public rentalDurationSeconds: number | Long;
|
|
28
200
|
|
|
29
|
-
/**
|
|
30
|
-
public
|
|
201
|
+
/** Policy playbackDurationSeconds. */
|
|
202
|
+
public playbackDurationSeconds: number | Long;
|
|
31
203
|
|
|
32
|
-
/**
|
|
33
|
-
public
|
|
204
|
+
/** Policy licenseDurationSeconds. */
|
|
205
|
+
public licenseDurationSeconds: number | Long;
|
|
34
206
|
|
|
35
|
-
/**
|
|
36
|
-
public
|
|
207
|
+
/** Policy renewalRecoveryDurationSeconds. */
|
|
208
|
+
public renewalRecoveryDurationSeconds: number | Long;
|
|
37
209
|
|
|
38
|
-
/**
|
|
39
|
-
public
|
|
210
|
+
/** Policy renewalServerUrl. */
|
|
211
|
+
public renewalServerUrl: string;
|
|
40
212
|
|
|
41
|
-
/**
|
|
42
|
-
public
|
|
213
|
+
/** Policy renewalDelaySeconds. */
|
|
214
|
+
public renewalDelaySeconds: number | Long;
|
|
43
215
|
|
|
44
|
-
/**
|
|
45
|
-
public
|
|
216
|
+
/** Policy renewalRetryIntervalSeconds. */
|
|
217
|
+
public renewalRetryIntervalSeconds: number | Long;
|
|
46
218
|
|
|
47
|
-
/**
|
|
48
|
-
public
|
|
219
|
+
/** Policy renewWithUsage. */
|
|
220
|
+
public renewWithUsage: boolean;
|
|
49
221
|
|
|
50
|
-
/**
|
|
51
|
-
public
|
|
222
|
+
/** Policy alwaysIncludeClientId. */
|
|
223
|
+
public alwaysIncludeClientId: boolean;
|
|
52
224
|
|
|
53
|
-
/**
|
|
54
|
-
public
|
|
225
|
+
/** Policy playStartGracePeriodSeconds. */
|
|
226
|
+
public playStartGracePeriodSeconds: number | Long;
|
|
227
|
+
|
|
228
|
+
/** Policy softEnforcePlaybackDuration. */
|
|
229
|
+
public softEnforcePlaybackDuration: boolean;
|
|
230
|
+
|
|
231
|
+
/** Policy softEnforceRentalDuration. */
|
|
232
|
+
public softEnforceRentalDuration: boolean;
|
|
55
233
|
|
|
56
234
|
/**
|
|
57
|
-
* Creates a new
|
|
235
|
+
* Creates a new Policy instance using the specified properties.
|
|
58
236
|
* @param [properties] Properties to set
|
|
59
|
-
* @returns
|
|
237
|
+
* @returns Policy instance
|
|
60
238
|
*/
|
|
61
|
-
public static create(properties?:
|
|
239
|
+
public static create(properties?: License.IPolicy): License.Policy;
|
|
62
240
|
|
|
63
241
|
/**
|
|
64
|
-
* Encodes the specified
|
|
65
|
-
* @param m
|
|
242
|
+
* Encodes the specified Policy message. Does not implicitly {@link License.Policy.verify|verify} messages.
|
|
243
|
+
* @param m Policy message or plain object to encode
|
|
66
244
|
* @param [w] Writer to encode to
|
|
67
245
|
* @returns Writer
|
|
68
246
|
*/
|
|
69
|
-
public static encode(
|
|
247
|
+
public static encode(
|
|
248
|
+
m: License.IPolicy,
|
|
249
|
+
w?: $protobuf.Writer,
|
|
250
|
+
): $protobuf.Writer;
|
|
70
251
|
|
|
71
252
|
/**
|
|
72
|
-
* Encodes the specified
|
|
73
|
-
* @param message
|
|
253
|
+
* Encodes the specified Policy message, length delimited. Does not implicitly {@link License.Policy.verify|verify} messages.
|
|
254
|
+
* @param message Policy message or plain object to encode
|
|
74
255
|
* @param [writer] Writer to encode to
|
|
75
256
|
* @returns Writer
|
|
76
257
|
*/
|
|
77
|
-
public static encodeDelimited(
|
|
258
|
+
public static encodeDelimited(
|
|
259
|
+
message: License.IPolicy,
|
|
260
|
+
writer?: $protobuf.Writer,
|
|
261
|
+
): $protobuf.Writer;
|
|
78
262
|
|
|
79
263
|
/**
|
|
80
|
-
* Decodes a
|
|
264
|
+
* Decodes a Policy message from the specified reader or buffer.
|
|
81
265
|
* @param r Reader or buffer to decode from
|
|
82
266
|
* @param [l] Message length if known beforehand
|
|
83
|
-
* @returns
|
|
267
|
+
* @returns Policy
|
|
84
268
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
85
269
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
86
270
|
*/
|
|
87
|
-
public static decode(
|
|
271
|
+
public static decode(
|
|
272
|
+
r: $protobuf.Reader | Uint8Array,
|
|
273
|
+
l?: number,
|
|
274
|
+
): License.Policy;
|
|
88
275
|
|
|
89
276
|
/**
|
|
90
|
-
* Decodes a
|
|
277
|
+
* Decodes a Policy message from the specified reader or buffer, length delimited.
|
|
91
278
|
* @param reader Reader or buffer to decode from
|
|
92
|
-
* @returns
|
|
279
|
+
* @returns Policy
|
|
93
280
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
94
281
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
95
282
|
*/
|
|
96
|
-
public static decodeDelimited(
|
|
283
|
+
public static decodeDelimited(
|
|
284
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
285
|
+
): License.Policy;
|
|
97
286
|
|
|
98
287
|
/**
|
|
99
|
-
* Creates a
|
|
288
|
+
* Creates a Policy message from a plain object. Also converts values to their respective internal types.
|
|
100
289
|
* @param d Plain object
|
|
101
|
-
* @returns
|
|
290
|
+
* @returns Policy
|
|
102
291
|
*/
|
|
103
|
-
public static fromObject(d: { [k: string]: any }): License;
|
|
292
|
+
public static fromObject(d: { [k: string]: any }): License.Policy;
|
|
104
293
|
|
|
105
294
|
/**
|
|
106
|
-
* Creates a plain object from a
|
|
107
|
-
* @param m
|
|
295
|
+
* Creates a plain object from a Policy message. Also converts values to other types if specified.
|
|
296
|
+
* @param m Policy
|
|
108
297
|
* @param [o] Conversion options
|
|
109
298
|
* @returns Plain object
|
|
110
299
|
*/
|
|
111
|
-
public static toObject(
|
|
300
|
+
public static toObject(
|
|
301
|
+
m: License.Policy,
|
|
302
|
+
o?: $protobuf.IConversionOptions,
|
|
303
|
+
): { [k: string]: any };
|
|
112
304
|
|
|
113
305
|
/**
|
|
114
|
-
* Converts this
|
|
306
|
+
* Converts this Policy to JSON.
|
|
115
307
|
* @returns JSON object
|
|
116
308
|
*/
|
|
117
309
|
public toJSON(): { [k: string]: any };
|
|
118
310
|
|
|
119
311
|
/**
|
|
120
|
-
* Gets the default type url for
|
|
312
|
+
* Gets the default type url for Policy
|
|
121
313
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
122
314
|
* @returns The default type url
|
|
123
315
|
*/
|
|
124
316
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
declare namespace License {
|
|
128
|
-
|
|
129
|
-
/** Properties of a Policy. */
|
|
130
|
-
interface IPolicy {
|
|
317
|
+
}
|
|
131
318
|
|
|
132
|
-
|
|
133
|
-
|
|
319
|
+
/** Properties of a KeyContainer. */
|
|
320
|
+
interface IKeyContainer {
|
|
321
|
+
/** KeyContainer id */
|
|
322
|
+
id?: Uint8Array | null;
|
|
134
323
|
|
|
135
|
-
|
|
136
|
-
|
|
324
|
+
/** KeyContainer iv */
|
|
325
|
+
iv?: Uint8Array | null;
|
|
137
326
|
|
|
138
|
-
|
|
139
|
-
|
|
327
|
+
/** KeyContainer key */
|
|
328
|
+
key?: Uint8Array | null;
|
|
140
329
|
|
|
141
|
-
|
|
142
|
-
|
|
330
|
+
/** KeyContainer type */
|
|
331
|
+
type?: License.KeyContainer.KeyType | null;
|
|
143
332
|
|
|
144
|
-
|
|
145
|
-
|
|
333
|
+
/** KeyContainer level */
|
|
334
|
+
level?: License.KeyContainer.SecurityLevel | null;
|
|
146
335
|
|
|
147
|
-
|
|
148
|
-
|
|
336
|
+
/** KeyContainer requiredProtection */
|
|
337
|
+
requiredProtection?: License.KeyContainer.IOutputProtection | null;
|
|
149
338
|
|
|
150
|
-
|
|
151
|
-
|
|
339
|
+
/** KeyContainer requestedProtection */
|
|
340
|
+
requestedProtection?: License.KeyContainer.IOutputProtection | null;
|
|
152
341
|
|
|
153
|
-
|
|
154
|
-
|
|
342
|
+
/** KeyContainer keyControl */
|
|
343
|
+
keyControl?: License.KeyContainer.IKeyControl | null;
|
|
155
344
|
|
|
156
|
-
|
|
157
|
-
|
|
345
|
+
/** KeyContainer operatorSessionKeyPermissions */
|
|
346
|
+
operatorSessionKeyPermissions?: License.KeyContainer.IOperatorSessionKeyPermissions | null;
|
|
158
347
|
|
|
159
|
-
|
|
160
|
-
|
|
348
|
+
/** KeyContainer videoResolutionConstraints */
|
|
349
|
+
videoResolutionConstraints?:
|
|
350
|
+
| License.KeyContainer.IVideoResolutionConstraint[]
|
|
351
|
+
| null;
|
|
161
352
|
|
|
162
|
-
|
|
163
|
-
|
|
353
|
+
/** KeyContainer antiRollbackUsageTable */
|
|
354
|
+
antiRollbackUsageTable?: boolean | null;
|
|
164
355
|
|
|
165
|
-
|
|
166
|
-
|
|
356
|
+
/** KeyContainer trackLabel */
|
|
357
|
+
trackLabel?: string | null;
|
|
358
|
+
}
|
|
167
359
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
softEnforceRentalDuration?: (boolean|null);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/** Represents a Policy. */
|
|
179
|
-
class Policy implements IPolicy {
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Constructs a new Policy.
|
|
183
|
-
* @param [p] Properties to set
|
|
184
|
-
*/
|
|
185
|
-
constructor(p?: License.IPolicy);
|
|
186
|
-
|
|
187
|
-
/** Policy canPlay. */
|
|
188
|
-
public canPlay: boolean;
|
|
189
|
-
|
|
190
|
-
/** Policy canPersist. */
|
|
191
|
-
public canPersist: boolean;
|
|
192
|
-
|
|
193
|
-
/** Policy canRenew. */
|
|
194
|
-
public canRenew: boolean;
|
|
195
|
-
|
|
196
|
-
/** Policy rentalDurationSeconds. */
|
|
197
|
-
public rentalDurationSeconds: (number|Long);
|
|
198
|
-
|
|
199
|
-
/** Policy playbackDurationSeconds. */
|
|
200
|
-
public playbackDurationSeconds: (number|Long);
|
|
201
|
-
|
|
202
|
-
/** Policy licenseDurationSeconds. */
|
|
203
|
-
public licenseDurationSeconds: (number|Long);
|
|
204
|
-
|
|
205
|
-
/** Policy renewalRecoveryDurationSeconds. */
|
|
206
|
-
public renewalRecoveryDurationSeconds: (number|Long);
|
|
207
|
-
|
|
208
|
-
/** Policy renewalServerUrl. */
|
|
209
|
-
public renewalServerUrl: string;
|
|
210
|
-
|
|
211
|
-
/** Policy renewalDelaySeconds. */
|
|
212
|
-
public renewalDelaySeconds: (number|Long);
|
|
213
|
-
|
|
214
|
-
/** Policy renewalRetryIntervalSeconds. */
|
|
215
|
-
public renewalRetryIntervalSeconds: (number|Long);
|
|
216
|
-
|
|
217
|
-
/** Policy renewWithUsage. */
|
|
218
|
-
public renewWithUsage: boolean;
|
|
219
|
-
|
|
220
|
-
/** Policy alwaysIncludeClientId. */
|
|
221
|
-
public alwaysIncludeClientId: boolean;
|
|
222
|
-
|
|
223
|
-
/** Policy playStartGracePeriodSeconds. */
|
|
224
|
-
public playStartGracePeriodSeconds: (number|Long);
|
|
225
|
-
|
|
226
|
-
/** Policy softEnforcePlaybackDuration. */
|
|
227
|
-
public softEnforcePlaybackDuration: boolean;
|
|
228
|
-
|
|
229
|
-
/** Policy softEnforceRentalDuration. */
|
|
230
|
-
public softEnforceRentalDuration: boolean;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Creates a new Policy instance using the specified properties.
|
|
234
|
-
* @param [properties] Properties to set
|
|
235
|
-
* @returns Policy instance
|
|
236
|
-
*/
|
|
237
|
-
public static create(properties?: License.IPolicy): License.Policy;
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* Encodes the specified Policy message. Does not implicitly {@link License.Policy.verify|verify} messages.
|
|
241
|
-
* @param m Policy message or plain object to encode
|
|
242
|
-
* @param [w] Writer to encode to
|
|
243
|
-
* @returns Writer
|
|
244
|
-
*/
|
|
245
|
-
public static encode(m: License.IPolicy, w?: $protobuf.Writer): $protobuf.Writer;
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Encodes the specified Policy message, length delimited. Does not implicitly {@link License.Policy.verify|verify} messages.
|
|
249
|
-
* @param message Policy message or plain object to encode
|
|
250
|
-
* @param [writer] Writer to encode to
|
|
251
|
-
* @returns Writer
|
|
252
|
-
*/
|
|
253
|
-
public static encodeDelimited(message: License.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Decodes a Policy message from the specified reader or buffer.
|
|
257
|
-
* @param r Reader or buffer to decode from
|
|
258
|
-
* @param [l] Message length if known beforehand
|
|
259
|
-
* @returns Policy
|
|
260
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
261
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
262
|
-
*/
|
|
263
|
-
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): License.Policy;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* Decodes a Policy message from the specified reader or buffer, length delimited.
|
|
267
|
-
* @param reader Reader or buffer to decode from
|
|
268
|
-
* @returns Policy
|
|
269
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
270
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
271
|
-
*/
|
|
272
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): License.Policy;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Creates a Policy message from a plain object. Also converts values to their respective internal types.
|
|
276
|
-
* @param d Plain object
|
|
277
|
-
* @returns Policy
|
|
278
|
-
*/
|
|
279
|
-
public static fromObject(d: { [k: string]: any }): License.Policy;
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* Creates a plain object from a Policy message. Also converts values to other types if specified.
|
|
283
|
-
* @param m Policy
|
|
284
|
-
* @param [o] Conversion options
|
|
285
|
-
* @returns Plain object
|
|
286
|
-
*/
|
|
287
|
-
public static toObject(m: License.Policy, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* Converts this Policy to JSON.
|
|
291
|
-
* @returns JSON object
|
|
292
|
-
*/
|
|
293
|
-
public toJSON(): { [k: string]: any };
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* Gets the default type url for Policy
|
|
297
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
298
|
-
* @returns The default type url
|
|
299
|
-
*/
|
|
300
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
/** Properties of a KeyContainer. */
|
|
304
|
-
interface IKeyContainer {
|
|
305
|
-
|
|
306
|
-
/** KeyContainer id */
|
|
307
|
-
id?: (Uint8Array|null);
|
|
308
|
-
|
|
309
|
-
/** KeyContainer iv */
|
|
310
|
-
iv?: (Uint8Array|null);
|
|
311
|
-
|
|
312
|
-
/** KeyContainer key */
|
|
313
|
-
key?: (Uint8Array|null);
|
|
314
|
-
|
|
315
|
-
/** KeyContainer type */
|
|
316
|
-
type?: (License.KeyContainer.KeyType|null);
|
|
317
|
-
|
|
318
|
-
/** KeyContainer level */
|
|
319
|
-
level?: (License.KeyContainer.SecurityLevel|null);
|
|
320
|
-
|
|
321
|
-
/** KeyContainer requiredProtection */
|
|
322
|
-
requiredProtection?: (License.KeyContainer.IOutputProtection|null);
|
|
323
|
-
|
|
324
|
-
/** KeyContainer requestedProtection */
|
|
325
|
-
requestedProtection?: (License.KeyContainer.IOutputProtection|null);
|
|
326
|
-
|
|
327
|
-
/** KeyContainer keyControl */
|
|
328
|
-
keyControl?: (License.KeyContainer.IKeyControl|null);
|
|
329
|
-
|
|
330
|
-
/** KeyContainer operatorSessionKeyPermissions */
|
|
331
|
-
operatorSessionKeyPermissions?: (License.KeyContainer.IOperatorSessionKeyPermissions|null);
|
|
332
|
-
|
|
333
|
-
/** KeyContainer videoResolutionConstraints */
|
|
334
|
-
videoResolutionConstraints?: (License.KeyContainer.IVideoResolutionConstraint[]|null);
|
|
335
|
-
|
|
336
|
-
/** KeyContainer antiRollbackUsageTable */
|
|
337
|
-
antiRollbackUsageTable?: (boolean|null);
|
|
338
|
-
|
|
339
|
-
/** KeyContainer trackLabel */
|
|
340
|
-
trackLabel?: (string|null);
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/** Represents a KeyContainer. */
|
|
344
|
-
class KeyContainer implements IKeyContainer {
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Constructs a new KeyContainer.
|
|
348
|
-
* @param [p] Properties to set
|
|
349
|
-
*/
|
|
350
|
-
constructor(p?: License.IKeyContainer);
|
|
351
|
-
|
|
352
|
-
/** KeyContainer id. */
|
|
353
|
-
public id: Uint8Array;
|
|
354
|
-
|
|
355
|
-
/** KeyContainer iv. */
|
|
356
|
-
public iv: Uint8Array;
|
|
357
|
-
|
|
358
|
-
/** KeyContainer key. */
|
|
359
|
-
public key: Uint8Array;
|
|
360
|
-
|
|
361
|
-
/** KeyContainer type. */
|
|
362
|
-
public type: License.KeyContainer.KeyType;
|
|
363
|
-
|
|
364
|
-
/** KeyContainer level. */
|
|
365
|
-
public level: License.KeyContainer.SecurityLevel;
|
|
366
|
-
|
|
367
|
-
/** KeyContainer requiredProtection. */
|
|
368
|
-
public requiredProtection?: (License.KeyContainer.IOutputProtection|null);
|
|
369
|
-
|
|
370
|
-
/** KeyContainer requestedProtection. */
|
|
371
|
-
public requestedProtection?: (License.KeyContainer.IOutputProtection|null);
|
|
372
|
-
|
|
373
|
-
/** KeyContainer keyControl. */
|
|
374
|
-
public keyControl?: (License.KeyContainer.IKeyControl|null);
|
|
375
|
-
|
|
376
|
-
/** KeyContainer operatorSessionKeyPermissions. */
|
|
377
|
-
public operatorSessionKeyPermissions?: (License.KeyContainer.IOperatorSessionKeyPermissions|null);
|
|
378
|
-
|
|
379
|
-
/** KeyContainer videoResolutionConstraints. */
|
|
380
|
-
public videoResolutionConstraints: License.KeyContainer.IVideoResolutionConstraint[];
|
|
381
|
-
|
|
382
|
-
/** KeyContainer antiRollbackUsageTable. */
|
|
383
|
-
public antiRollbackUsageTable: boolean;
|
|
384
|
-
|
|
385
|
-
/** KeyContainer trackLabel. */
|
|
386
|
-
public trackLabel: string;
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* Creates a new KeyContainer instance using the specified properties.
|
|
390
|
-
* @param [properties] Properties to set
|
|
391
|
-
* @returns KeyContainer instance
|
|
392
|
-
*/
|
|
393
|
-
public static create(properties?: License.IKeyContainer): License.KeyContainer;
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* Encodes the specified KeyContainer message. Does not implicitly {@link License.KeyContainer.verify|verify} messages.
|
|
397
|
-
* @param m KeyContainer message or plain object to encode
|
|
398
|
-
* @param [w] Writer to encode to
|
|
399
|
-
* @returns Writer
|
|
400
|
-
*/
|
|
401
|
-
public static encode(m: License.IKeyContainer, w?: $protobuf.Writer): $protobuf.Writer;
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* Encodes the specified KeyContainer message, length delimited. Does not implicitly {@link License.KeyContainer.verify|verify} messages.
|
|
405
|
-
* @param message KeyContainer message or plain object to encode
|
|
406
|
-
* @param [writer] Writer to encode to
|
|
407
|
-
* @returns Writer
|
|
408
|
-
*/
|
|
409
|
-
public static encodeDelimited(message: License.IKeyContainer, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* Decodes a KeyContainer message from the specified reader or buffer.
|
|
413
|
-
* @param r Reader or buffer to decode from
|
|
414
|
-
* @param [l] Message length if known beforehand
|
|
415
|
-
* @returns KeyContainer
|
|
416
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
417
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
418
|
-
*/
|
|
419
|
-
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): License.KeyContainer;
|
|
420
|
-
|
|
421
|
-
/**
|
|
422
|
-
* Decodes a KeyContainer message from the specified reader or buffer, length delimited.
|
|
423
|
-
* @param reader Reader or buffer to decode from
|
|
424
|
-
* @returns KeyContainer
|
|
425
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
426
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
427
|
-
*/
|
|
428
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): License.KeyContainer;
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* Creates a KeyContainer message from a plain object. Also converts values to their respective internal types.
|
|
432
|
-
* @param d Plain object
|
|
433
|
-
* @returns KeyContainer
|
|
434
|
-
*/
|
|
435
|
-
public static fromObject(d: { [k: string]: any }): License.KeyContainer;
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* Creates a plain object from a KeyContainer message. Also converts values to other types if specified.
|
|
439
|
-
* @param m KeyContainer
|
|
440
|
-
* @param [o] Conversion options
|
|
441
|
-
* @returns Plain object
|
|
442
|
-
*/
|
|
443
|
-
public static toObject(m: License.KeyContainer, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* Converts this KeyContainer to JSON.
|
|
447
|
-
* @returns JSON object
|
|
448
|
-
*/
|
|
449
|
-
public toJSON(): { [k: string]: any };
|
|
450
|
-
|
|
451
|
-
/**
|
|
452
|
-
* Gets the default type url for KeyContainer
|
|
453
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
454
|
-
* @returns The default type url
|
|
455
|
-
*/
|
|
456
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
457
|
-
}
|
|
360
|
+
/** Represents a KeyContainer. */
|
|
361
|
+
class KeyContainer implements IKeyContainer {
|
|
362
|
+
/**
|
|
363
|
+
* Constructs a new KeyContainer.
|
|
364
|
+
* @param [p] Properties to set
|
|
365
|
+
*/
|
|
366
|
+
constructor(p?: License.IKeyContainer);
|
|
458
367
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
/** KeyType enum. */
|
|
462
|
-
enum KeyType {
|
|
463
|
-
SIGNING = 1,
|
|
464
|
-
CONTENT = 2,
|
|
465
|
-
KEY_CONTROL = 3,
|
|
466
|
-
OPERATOR_SESSION = 4,
|
|
467
|
-
ENTITLEMENT = 5,
|
|
468
|
-
OEM_CONTENT = 6
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
/** SecurityLevel enum. */
|
|
472
|
-
enum SecurityLevel {
|
|
473
|
-
SW_SECURE_CRYPTO = 1,
|
|
474
|
-
SW_SECURE_DECODE = 2,
|
|
475
|
-
HW_SECURE_CRYPTO = 3,
|
|
476
|
-
HW_SECURE_DECODE = 4,
|
|
477
|
-
HW_SECURE_ALL = 5
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
/** Properties of a KeyControl. */
|
|
481
|
-
interface IKeyControl {
|
|
482
|
-
|
|
483
|
-
/** KeyControl keyControlBlock */
|
|
484
|
-
keyControlBlock?: (Uint8Array|null);
|
|
485
|
-
|
|
486
|
-
/** KeyControl iv */
|
|
487
|
-
iv?: (Uint8Array|null);
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
/** Represents a KeyControl. */
|
|
491
|
-
class KeyControl implements IKeyControl {
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* Constructs a new KeyControl.
|
|
495
|
-
* @param [p] Properties to set
|
|
496
|
-
*/
|
|
497
|
-
constructor(p?: License.KeyContainer.IKeyControl);
|
|
498
|
-
|
|
499
|
-
/** KeyControl keyControlBlock. */
|
|
500
|
-
public keyControlBlock: Uint8Array;
|
|
501
|
-
|
|
502
|
-
/** KeyControl iv. */
|
|
503
|
-
public iv: Uint8Array;
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* Creates a new KeyControl instance using the specified properties.
|
|
507
|
-
* @param [properties] Properties to set
|
|
508
|
-
* @returns KeyControl instance
|
|
509
|
-
*/
|
|
510
|
-
public static create(properties?: License.KeyContainer.IKeyControl): License.KeyContainer.KeyControl;
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* Encodes the specified KeyControl message. Does not implicitly {@link License.KeyContainer.KeyControl.verify|verify} messages.
|
|
514
|
-
* @param m KeyControl message or plain object to encode
|
|
515
|
-
* @param [w] Writer to encode to
|
|
516
|
-
* @returns Writer
|
|
517
|
-
*/
|
|
518
|
-
public static encode(m: License.KeyContainer.IKeyControl, w?: $protobuf.Writer): $protobuf.Writer;
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
* Encodes the specified KeyControl message, length delimited. Does not implicitly {@link License.KeyContainer.KeyControl.verify|verify} messages.
|
|
522
|
-
* @param message KeyControl message or plain object to encode
|
|
523
|
-
* @param [writer] Writer to encode to
|
|
524
|
-
* @returns Writer
|
|
525
|
-
*/
|
|
526
|
-
public static encodeDelimited(message: License.KeyContainer.IKeyControl, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
527
|
-
|
|
528
|
-
/**
|
|
529
|
-
* Decodes a KeyControl message from the specified reader or buffer.
|
|
530
|
-
* @param r Reader or buffer to decode from
|
|
531
|
-
* @param [l] Message length if known beforehand
|
|
532
|
-
* @returns KeyControl
|
|
533
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
534
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
535
|
-
*/
|
|
536
|
-
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): License.KeyContainer.KeyControl;
|
|
537
|
-
|
|
538
|
-
/**
|
|
539
|
-
* Decodes a KeyControl message from the specified reader or buffer, length delimited.
|
|
540
|
-
* @param reader Reader or buffer to decode from
|
|
541
|
-
* @returns KeyControl
|
|
542
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
543
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
544
|
-
*/
|
|
545
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): License.KeyContainer.KeyControl;
|
|
546
|
-
|
|
547
|
-
/**
|
|
548
|
-
* Creates a KeyControl message from a plain object. Also converts values to their respective internal types.
|
|
549
|
-
* @param d Plain object
|
|
550
|
-
* @returns KeyControl
|
|
551
|
-
*/
|
|
552
|
-
public static fromObject(d: { [k: string]: any }): License.KeyContainer.KeyControl;
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* Creates a plain object from a KeyControl message. Also converts values to other types if specified.
|
|
556
|
-
* @param m KeyControl
|
|
557
|
-
* @param [o] Conversion options
|
|
558
|
-
* @returns Plain object
|
|
559
|
-
*/
|
|
560
|
-
public static toObject(m: License.KeyContainer.KeyControl, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
561
|
-
|
|
562
|
-
/**
|
|
563
|
-
* Converts this KeyControl to JSON.
|
|
564
|
-
* @returns JSON object
|
|
565
|
-
*/
|
|
566
|
-
public toJSON(): { [k: string]: any };
|
|
567
|
-
|
|
568
|
-
/**
|
|
569
|
-
* Gets the default type url for KeyControl
|
|
570
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
571
|
-
* @returns The default type url
|
|
572
|
-
*/
|
|
573
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
/** Properties of an OutputProtection. */
|
|
577
|
-
interface IOutputProtection {
|
|
578
|
-
|
|
579
|
-
/** OutputProtection hdcp */
|
|
580
|
-
hdcp?: (License.KeyContainer.OutputProtection.HDCP|null);
|
|
581
|
-
|
|
582
|
-
/** OutputProtection cgmsFlags */
|
|
583
|
-
cgmsFlags?: (License.KeyContainer.OutputProtection.CGMS|null);
|
|
584
|
-
|
|
585
|
-
/** OutputProtection hdcpSrmRule */
|
|
586
|
-
hdcpSrmRule?: (License.KeyContainer.OutputProtection.HdcpSrmRule|null);
|
|
587
|
-
|
|
588
|
-
/** OutputProtection disableAnalogOutput */
|
|
589
|
-
disableAnalogOutput?: (boolean|null);
|
|
590
|
-
|
|
591
|
-
/** OutputProtection disableDigitalOutput */
|
|
592
|
-
disableDigitalOutput?: (boolean|null);
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
/** Represents an OutputProtection. */
|
|
596
|
-
class OutputProtection implements IOutputProtection {
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
* Constructs a new OutputProtection.
|
|
600
|
-
* @param [p] Properties to set
|
|
601
|
-
*/
|
|
602
|
-
constructor(p?: License.KeyContainer.IOutputProtection);
|
|
603
|
-
|
|
604
|
-
/** OutputProtection hdcp. */
|
|
605
|
-
public hdcp: License.KeyContainer.OutputProtection.HDCP;
|
|
606
|
-
|
|
607
|
-
/** OutputProtection cgmsFlags. */
|
|
608
|
-
public cgmsFlags: License.KeyContainer.OutputProtection.CGMS;
|
|
609
|
-
|
|
610
|
-
/** OutputProtection hdcpSrmRule. */
|
|
611
|
-
public hdcpSrmRule: License.KeyContainer.OutputProtection.HdcpSrmRule;
|
|
612
|
-
|
|
613
|
-
/** OutputProtection disableAnalogOutput. */
|
|
614
|
-
public disableAnalogOutput: boolean;
|
|
615
|
-
|
|
616
|
-
/** OutputProtection disableDigitalOutput. */
|
|
617
|
-
public disableDigitalOutput: boolean;
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
* Creates a new OutputProtection instance using the specified properties.
|
|
621
|
-
* @param [properties] Properties to set
|
|
622
|
-
* @returns OutputProtection instance
|
|
623
|
-
*/
|
|
624
|
-
public static create(properties?: License.KeyContainer.IOutputProtection): License.KeyContainer.OutputProtection;
|
|
625
|
-
|
|
626
|
-
/**
|
|
627
|
-
* Encodes the specified OutputProtection message. Does not implicitly {@link License.KeyContainer.OutputProtection.verify|verify} messages.
|
|
628
|
-
* @param m OutputProtection message or plain object to encode
|
|
629
|
-
* @param [w] Writer to encode to
|
|
630
|
-
* @returns Writer
|
|
631
|
-
*/
|
|
632
|
-
public static encode(m: License.KeyContainer.IOutputProtection, w?: $protobuf.Writer): $protobuf.Writer;
|
|
633
|
-
|
|
634
|
-
/**
|
|
635
|
-
* Encodes the specified OutputProtection message, length delimited. Does not implicitly {@link License.KeyContainer.OutputProtection.verify|verify} messages.
|
|
636
|
-
* @param message OutputProtection message or plain object to encode
|
|
637
|
-
* @param [writer] Writer to encode to
|
|
638
|
-
* @returns Writer
|
|
639
|
-
*/
|
|
640
|
-
public static encodeDelimited(message: License.KeyContainer.IOutputProtection, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* Decodes an OutputProtection message from the specified reader or buffer.
|
|
644
|
-
* @param r Reader or buffer to decode from
|
|
645
|
-
* @param [l] Message length if known beforehand
|
|
646
|
-
* @returns OutputProtection
|
|
647
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
648
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
649
|
-
*/
|
|
650
|
-
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): License.KeyContainer.OutputProtection;
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* Decodes an OutputProtection message from the specified reader or buffer, length delimited.
|
|
654
|
-
* @param reader Reader or buffer to decode from
|
|
655
|
-
* @returns OutputProtection
|
|
656
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
657
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
658
|
-
*/
|
|
659
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): License.KeyContainer.OutputProtection;
|
|
660
|
-
|
|
661
|
-
/**
|
|
662
|
-
* Creates an OutputProtection message from a plain object. Also converts values to their respective internal types.
|
|
663
|
-
* @param d Plain object
|
|
664
|
-
* @returns OutputProtection
|
|
665
|
-
*/
|
|
666
|
-
public static fromObject(d: { [k: string]: any }): License.KeyContainer.OutputProtection;
|
|
667
|
-
|
|
668
|
-
/**
|
|
669
|
-
* Creates a plain object from an OutputProtection message. Also converts values to other types if specified.
|
|
670
|
-
* @param m OutputProtection
|
|
671
|
-
* @param [o] Conversion options
|
|
672
|
-
* @returns Plain object
|
|
673
|
-
*/
|
|
674
|
-
public static toObject(m: License.KeyContainer.OutputProtection, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
675
|
-
|
|
676
|
-
/**
|
|
677
|
-
* Converts this OutputProtection to JSON.
|
|
678
|
-
* @returns JSON object
|
|
679
|
-
*/
|
|
680
|
-
public toJSON(): { [k: string]: any };
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
* Gets the default type url for OutputProtection
|
|
684
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
685
|
-
* @returns The default type url
|
|
686
|
-
*/
|
|
687
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
namespace OutputProtection {
|
|
691
|
-
|
|
692
|
-
/** HDCP enum. */
|
|
693
|
-
enum HDCP {
|
|
694
|
-
HDCP_NONE = 0,
|
|
695
|
-
HDCP_V1 = 1,
|
|
696
|
-
HDCP_V2 = 2,
|
|
697
|
-
HDCP_V2_1 = 3,
|
|
698
|
-
HDCP_V2_2 = 4,
|
|
699
|
-
HDCP_V2_3 = 5,
|
|
700
|
-
HDCP_NO_DIGITAL_OUTPUT = 255
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
/** CGMS enum. */
|
|
704
|
-
enum CGMS {
|
|
705
|
-
CGMS_NONE = 42,
|
|
706
|
-
COPY_FREE = 0,
|
|
707
|
-
COPY_ONCE = 2,
|
|
708
|
-
COPY_NEVER = 3
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
/** HdcpSrmRule enum. */
|
|
712
|
-
enum HdcpSrmRule {
|
|
713
|
-
HDCP_SRM_RULE_NONE = 0,
|
|
714
|
-
CURRENT_SRM = 1
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
/** Properties of a VideoResolutionConstraint. */
|
|
719
|
-
interface IVideoResolutionConstraint {
|
|
720
|
-
|
|
721
|
-
/** VideoResolutionConstraint minResolutionPixels */
|
|
722
|
-
minResolutionPixels?: (number|null);
|
|
723
|
-
|
|
724
|
-
/** VideoResolutionConstraint maxResolutionPixels */
|
|
725
|
-
maxResolutionPixels?: (number|null);
|
|
726
|
-
|
|
727
|
-
/** VideoResolutionConstraint requiredProtection */
|
|
728
|
-
requiredProtection?: (License.KeyContainer.IOutputProtection|null);
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
/** Represents a VideoResolutionConstraint. */
|
|
732
|
-
class VideoResolutionConstraint implements IVideoResolutionConstraint {
|
|
733
|
-
|
|
734
|
-
/**
|
|
735
|
-
* Constructs a new VideoResolutionConstraint.
|
|
736
|
-
* @param [p] Properties to set
|
|
737
|
-
*/
|
|
738
|
-
constructor(p?: License.KeyContainer.IVideoResolutionConstraint);
|
|
739
|
-
|
|
740
|
-
/** VideoResolutionConstraint minResolutionPixels. */
|
|
741
|
-
public minResolutionPixels: number;
|
|
742
|
-
|
|
743
|
-
/** VideoResolutionConstraint maxResolutionPixels. */
|
|
744
|
-
public maxResolutionPixels: number;
|
|
745
|
-
|
|
746
|
-
/** VideoResolutionConstraint requiredProtection. */
|
|
747
|
-
public requiredProtection?: (License.KeyContainer.IOutputProtection|null);
|
|
748
|
-
|
|
749
|
-
/**
|
|
750
|
-
* Creates a new VideoResolutionConstraint instance using the specified properties.
|
|
751
|
-
* @param [properties] Properties to set
|
|
752
|
-
* @returns VideoResolutionConstraint instance
|
|
753
|
-
*/
|
|
754
|
-
public static create(properties?: License.KeyContainer.IVideoResolutionConstraint): License.KeyContainer.VideoResolutionConstraint;
|
|
755
|
-
|
|
756
|
-
/**
|
|
757
|
-
* Encodes the specified VideoResolutionConstraint message. Does not implicitly {@link License.KeyContainer.VideoResolutionConstraint.verify|verify} messages.
|
|
758
|
-
* @param m VideoResolutionConstraint message or plain object to encode
|
|
759
|
-
* @param [w] Writer to encode to
|
|
760
|
-
* @returns Writer
|
|
761
|
-
*/
|
|
762
|
-
public static encode(m: License.KeyContainer.IVideoResolutionConstraint, w?: $protobuf.Writer): $protobuf.Writer;
|
|
763
|
-
|
|
764
|
-
/**
|
|
765
|
-
* Encodes the specified VideoResolutionConstraint message, length delimited. Does not implicitly {@link License.KeyContainer.VideoResolutionConstraint.verify|verify} messages.
|
|
766
|
-
* @param message VideoResolutionConstraint message or plain object to encode
|
|
767
|
-
* @param [writer] Writer to encode to
|
|
768
|
-
* @returns Writer
|
|
769
|
-
*/
|
|
770
|
-
public static encodeDelimited(message: License.KeyContainer.IVideoResolutionConstraint, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
771
|
-
|
|
772
|
-
/**
|
|
773
|
-
* Decodes a VideoResolutionConstraint message from the specified reader or buffer.
|
|
774
|
-
* @param r Reader or buffer to decode from
|
|
775
|
-
* @param [l] Message length if known beforehand
|
|
776
|
-
* @returns VideoResolutionConstraint
|
|
777
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
778
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
779
|
-
*/
|
|
780
|
-
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): License.KeyContainer.VideoResolutionConstraint;
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* Decodes a VideoResolutionConstraint message from the specified reader or buffer, length delimited.
|
|
784
|
-
* @param reader Reader or buffer to decode from
|
|
785
|
-
* @returns VideoResolutionConstraint
|
|
786
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
787
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
788
|
-
*/
|
|
789
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): License.KeyContainer.VideoResolutionConstraint;
|
|
790
|
-
|
|
791
|
-
/**
|
|
792
|
-
* Creates a VideoResolutionConstraint message from a plain object. Also converts values to their respective internal types.
|
|
793
|
-
* @param d Plain object
|
|
794
|
-
* @returns VideoResolutionConstraint
|
|
795
|
-
*/
|
|
796
|
-
public static fromObject(d: { [k: string]: any }): License.KeyContainer.VideoResolutionConstraint;
|
|
797
|
-
|
|
798
|
-
/**
|
|
799
|
-
* Creates a plain object from a VideoResolutionConstraint message. Also converts values to other types if specified.
|
|
800
|
-
* @param m VideoResolutionConstraint
|
|
801
|
-
* @param [o] Conversion options
|
|
802
|
-
* @returns Plain object
|
|
803
|
-
*/
|
|
804
|
-
public static toObject(m: License.KeyContainer.VideoResolutionConstraint, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
805
|
-
|
|
806
|
-
/**
|
|
807
|
-
* Converts this VideoResolutionConstraint to JSON.
|
|
808
|
-
* @returns JSON object
|
|
809
|
-
*/
|
|
810
|
-
public toJSON(): { [k: string]: any };
|
|
811
|
-
|
|
812
|
-
/**
|
|
813
|
-
* Gets the default type url for VideoResolutionConstraint
|
|
814
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
815
|
-
* @returns The default type url
|
|
816
|
-
*/
|
|
817
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
/** Properties of an OperatorSessionKeyPermissions. */
|
|
821
|
-
interface IOperatorSessionKeyPermissions {
|
|
822
|
-
|
|
823
|
-
/** OperatorSessionKeyPermissions allowEncrypt */
|
|
824
|
-
allowEncrypt?: (boolean|null);
|
|
825
|
-
|
|
826
|
-
/** OperatorSessionKeyPermissions allowDecrypt */
|
|
827
|
-
allowDecrypt?: (boolean|null);
|
|
828
|
-
|
|
829
|
-
/** OperatorSessionKeyPermissions allowSign */
|
|
830
|
-
allowSign?: (boolean|null);
|
|
831
|
-
|
|
832
|
-
/** OperatorSessionKeyPermissions allowSignatureVerify */
|
|
833
|
-
allowSignatureVerify?: (boolean|null);
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
/** Represents an OperatorSessionKeyPermissions. */
|
|
837
|
-
class OperatorSessionKeyPermissions implements IOperatorSessionKeyPermissions {
|
|
838
|
-
|
|
839
|
-
/**
|
|
840
|
-
* Constructs a new OperatorSessionKeyPermissions.
|
|
841
|
-
* @param [p] Properties to set
|
|
842
|
-
*/
|
|
843
|
-
constructor(p?: License.KeyContainer.IOperatorSessionKeyPermissions);
|
|
844
|
-
|
|
845
|
-
/** OperatorSessionKeyPermissions allowEncrypt. */
|
|
846
|
-
public allowEncrypt: boolean;
|
|
847
|
-
|
|
848
|
-
/** OperatorSessionKeyPermissions allowDecrypt. */
|
|
849
|
-
public allowDecrypt: boolean;
|
|
850
|
-
|
|
851
|
-
/** OperatorSessionKeyPermissions allowSign. */
|
|
852
|
-
public allowSign: boolean;
|
|
853
|
-
|
|
854
|
-
/** OperatorSessionKeyPermissions allowSignatureVerify. */
|
|
855
|
-
public allowSignatureVerify: boolean;
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
* Creates a new OperatorSessionKeyPermissions instance using the specified properties.
|
|
859
|
-
* @param [properties] Properties to set
|
|
860
|
-
* @returns OperatorSessionKeyPermissions instance
|
|
861
|
-
*/
|
|
862
|
-
public static create(properties?: License.KeyContainer.IOperatorSessionKeyPermissions): License.KeyContainer.OperatorSessionKeyPermissions;
|
|
863
|
-
|
|
864
|
-
/**
|
|
865
|
-
* Encodes the specified OperatorSessionKeyPermissions message. Does not implicitly {@link License.KeyContainer.OperatorSessionKeyPermissions.verify|verify} messages.
|
|
866
|
-
* @param m OperatorSessionKeyPermissions message or plain object to encode
|
|
867
|
-
* @param [w] Writer to encode to
|
|
868
|
-
* @returns Writer
|
|
869
|
-
*/
|
|
870
|
-
public static encode(m: License.KeyContainer.IOperatorSessionKeyPermissions, w?: $protobuf.Writer): $protobuf.Writer;
|
|
871
|
-
|
|
872
|
-
/**
|
|
873
|
-
* Encodes the specified OperatorSessionKeyPermissions message, length delimited. Does not implicitly {@link License.KeyContainer.OperatorSessionKeyPermissions.verify|verify} messages.
|
|
874
|
-
* @param message OperatorSessionKeyPermissions message or plain object to encode
|
|
875
|
-
* @param [writer] Writer to encode to
|
|
876
|
-
* @returns Writer
|
|
877
|
-
*/
|
|
878
|
-
public static encodeDelimited(message: License.KeyContainer.IOperatorSessionKeyPermissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
879
|
-
|
|
880
|
-
/**
|
|
881
|
-
* Decodes an OperatorSessionKeyPermissions message from the specified reader or buffer.
|
|
882
|
-
* @param r Reader or buffer to decode from
|
|
883
|
-
* @param [l] Message length if known beforehand
|
|
884
|
-
* @returns OperatorSessionKeyPermissions
|
|
885
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
886
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
887
|
-
*/
|
|
888
|
-
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): License.KeyContainer.OperatorSessionKeyPermissions;
|
|
889
|
-
|
|
890
|
-
/**
|
|
891
|
-
* Decodes an OperatorSessionKeyPermissions message from the specified reader or buffer, length delimited.
|
|
892
|
-
* @param reader Reader or buffer to decode from
|
|
893
|
-
* @returns OperatorSessionKeyPermissions
|
|
894
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
895
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
896
|
-
*/
|
|
897
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): License.KeyContainer.OperatorSessionKeyPermissions;
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* Creates an OperatorSessionKeyPermissions message from a plain object. Also converts values to their respective internal types.
|
|
901
|
-
* @param d Plain object
|
|
902
|
-
* @returns OperatorSessionKeyPermissions
|
|
903
|
-
*/
|
|
904
|
-
public static fromObject(d: { [k: string]: any }): License.KeyContainer.OperatorSessionKeyPermissions;
|
|
905
|
-
|
|
906
|
-
/**
|
|
907
|
-
* Creates a plain object from an OperatorSessionKeyPermissions message. Also converts values to other types if specified.
|
|
908
|
-
* @param m OperatorSessionKeyPermissions
|
|
909
|
-
* @param [o] Conversion options
|
|
910
|
-
* @returns Plain object
|
|
911
|
-
*/
|
|
912
|
-
public static toObject(m: License.KeyContainer.OperatorSessionKeyPermissions, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
913
|
-
|
|
914
|
-
/**
|
|
915
|
-
* Converts this OperatorSessionKeyPermissions to JSON.
|
|
916
|
-
* @returns JSON object
|
|
917
|
-
*/
|
|
918
|
-
public toJSON(): { [k: string]: any };
|
|
919
|
-
|
|
920
|
-
/**
|
|
921
|
-
* Gets the default type url for OperatorSessionKeyPermissions
|
|
922
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
923
|
-
* @returns The default type url
|
|
924
|
-
*/
|
|
925
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
}
|
|
368
|
+
/** KeyContainer id. */
|
|
369
|
+
public id: Uint8Array;
|
|
929
370
|
|
|
930
|
-
/**
|
|
931
|
-
|
|
932
|
-
HASH_ALGORITHM_UNSPECIFIED = 0,
|
|
933
|
-
HASH_ALGORITHM_SHA_1 = 1,
|
|
934
|
-
HASH_ALGORITHM_SHA_256 = 2,
|
|
935
|
-
HASH_ALGORITHM_SHA_384 = 3
|
|
936
|
-
}
|
|
371
|
+
/** KeyContainer iv. */
|
|
372
|
+
public iv: Uint8Array;
|
|
937
373
|
|
|
938
|
-
/**
|
|
939
|
-
|
|
374
|
+
/** KeyContainer key. */
|
|
375
|
+
public key: Uint8Array;
|
|
940
376
|
|
|
941
|
-
/**
|
|
942
|
-
|
|
943
|
-
* @param [p] Properties to set
|
|
944
|
-
*/
|
|
945
|
-
constructor(p?: IClientIdentification);
|
|
377
|
+
/** KeyContainer type. */
|
|
378
|
+
public type: License.KeyContainer.KeyType;
|
|
946
379
|
|
|
947
|
-
/**
|
|
948
|
-
public
|
|
380
|
+
/** KeyContainer level. */
|
|
381
|
+
public level: License.KeyContainer.SecurityLevel;
|
|
949
382
|
|
|
950
|
-
/**
|
|
951
|
-
public
|
|
383
|
+
/** KeyContainer requiredProtection. */
|
|
384
|
+
public requiredProtection?: License.KeyContainer.IOutputProtection | null;
|
|
952
385
|
|
|
953
|
-
/**
|
|
954
|
-
public
|
|
386
|
+
/** KeyContainer requestedProtection. */
|
|
387
|
+
public requestedProtection?: License.KeyContainer.IOutputProtection | null;
|
|
955
388
|
|
|
956
|
-
/**
|
|
957
|
-
public
|
|
389
|
+
/** KeyContainer keyControl. */
|
|
390
|
+
public keyControl?: License.KeyContainer.IKeyControl | null;
|
|
958
391
|
|
|
959
|
-
/**
|
|
960
|
-
public
|
|
392
|
+
/** KeyContainer operatorSessionKeyPermissions. */
|
|
393
|
+
public operatorSessionKeyPermissions?: License.KeyContainer.IOperatorSessionKeyPermissions | null;
|
|
961
394
|
|
|
962
|
-
/**
|
|
963
|
-
public
|
|
395
|
+
/** KeyContainer videoResolutionConstraints. */
|
|
396
|
+
public videoResolutionConstraints: License.KeyContainer.IVideoResolutionConstraint[];
|
|
964
397
|
|
|
965
|
-
/**
|
|
966
|
-
public
|
|
398
|
+
/** KeyContainer antiRollbackUsageTable. */
|
|
399
|
+
public antiRollbackUsageTable: boolean;
|
|
967
400
|
|
|
968
|
-
/**
|
|
969
|
-
public
|
|
401
|
+
/** KeyContainer trackLabel. */
|
|
402
|
+
public trackLabel: string;
|
|
970
403
|
|
|
971
404
|
/**
|
|
972
|
-
* Creates a new
|
|
405
|
+
* Creates a new KeyContainer instance using the specified properties.
|
|
973
406
|
* @param [properties] Properties to set
|
|
974
|
-
* @returns
|
|
407
|
+
* @returns KeyContainer instance
|
|
975
408
|
*/
|
|
976
|
-
public static create(
|
|
409
|
+
public static create(
|
|
410
|
+
properties?: License.IKeyContainer,
|
|
411
|
+
): License.KeyContainer;
|
|
977
412
|
|
|
978
413
|
/**
|
|
979
|
-
* Encodes the specified
|
|
980
|
-
* @param m
|
|
414
|
+
* Encodes the specified KeyContainer message. Does not implicitly {@link License.KeyContainer.verify|verify} messages.
|
|
415
|
+
* @param m KeyContainer message or plain object to encode
|
|
981
416
|
* @param [w] Writer to encode to
|
|
982
417
|
* @returns Writer
|
|
983
418
|
*/
|
|
984
|
-
public static encode(
|
|
419
|
+
public static encode(
|
|
420
|
+
m: License.IKeyContainer,
|
|
421
|
+
w?: $protobuf.Writer,
|
|
422
|
+
): $protobuf.Writer;
|
|
985
423
|
|
|
986
424
|
/**
|
|
987
|
-
* Encodes the specified
|
|
988
|
-
* @param message
|
|
425
|
+
* Encodes the specified KeyContainer message, length delimited. Does not implicitly {@link License.KeyContainer.verify|verify} messages.
|
|
426
|
+
* @param message KeyContainer message or plain object to encode
|
|
989
427
|
* @param [writer] Writer to encode to
|
|
990
428
|
* @returns Writer
|
|
991
429
|
*/
|
|
992
|
-
public static encodeDelimited(
|
|
430
|
+
public static encodeDelimited(
|
|
431
|
+
message: License.IKeyContainer,
|
|
432
|
+
writer?: $protobuf.Writer,
|
|
433
|
+
): $protobuf.Writer;
|
|
993
434
|
|
|
994
435
|
/**
|
|
995
|
-
* Decodes a
|
|
436
|
+
* Decodes a KeyContainer message from the specified reader or buffer.
|
|
996
437
|
* @param r Reader or buffer to decode from
|
|
997
438
|
* @param [l] Message length if known beforehand
|
|
998
|
-
* @returns
|
|
439
|
+
* @returns KeyContainer
|
|
999
440
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1000
441
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1001
442
|
*/
|
|
1002
|
-
public static decode(
|
|
443
|
+
public static decode(
|
|
444
|
+
r: $protobuf.Reader | Uint8Array,
|
|
445
|
+
l?: number,
|
|
446
|
+
): License.KeyContainer;
|
|
1003
447
|
|
|
1004
448
|
/**
|
|
1005
|
-
* Decodes a
|
|
449
|
+
* Decodes a KeyContainer message from the specified reader or buffer, length delimited.
|
|
1006
450
|
* @param reader Reader or buffer to decode from
|
|
1007
|
-
* @returns
|
|
451
|
+
* @returns KeyContainer
|
|
1008
452
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1009
453
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1010
454
|
*/
|
|
1011
|
-
public static decodeDelimited(
|
|
455
|
+
public static decodeDelimited(
|
|
456
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
457
|
+
): License.KeyContainer;
|
|
1012
458
|
|
|
1013
459
|
/**
|
|
1014
|
-
* Creates a
|
|
460
|
+
* Creates a KeyContainer message from a plain object. Also converts values to their respective internal types.
|
|
1015
461
|
* @param d Plain object
|
|
1016
|
-
* @returns
|
|
462
|
+
* @returns KeyContainer
|
|
1017
463
|
*/
|
|
1018
|
-
public static fromObject(d: { [k: string]: any }):
|
|
464
|
+
public static fromObject(d: { [k: string]: any }): License.KeyContainer;
|
|
1019
465
|
|
|
1020
466
|
/**
|
|
1021
|
-
* Creates a plain object from a
|
|
1022
|
-
* @param m
|
|
467
|
+
* Creates a plain object from a KeyContainer message. Also converts values to other types if specified.
|
|
468
|
+
* @param m KeyContainer
|
|
1023
469
|
* @param [o] Conversion options
|
|
1024
470
|
* @returns Plain object
|
|
1025
471
|
*/
|
|
1026
|
-
public static toObject(
|
|
472
|
+
public static toObject(
|
|
473
|
+
m: License.KeyContainer,
|
|
474
|
+
o?: $protobuf.IConversionOptions,
|
|
475
|
+
): { [k: string]: any };
|
|
1027
476
|
|
|
1028
477
|
/**
|
|
1029
|
-
* Converts this
|
|
478
|
+
* Converts this KeyContainer to JSON.
|
|
1030
479
|
* @returns JSON object
|
|
1031
480
|
*/
|
|
1032
481
|
public toJSON(): { [k: string]: any };
|
|
1033
482
|
|
|
1034
483
|
/**
|
|
1035
|
-
* Gets the default type url for
|
|
484
|
+
* Gets the default type url for KeyContainer
|
|
1036
485
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1037
486
|
* @returns The default type url
|
|
1038
487
|
*/
|
|
1039
488
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
namespace KeyContainer {
|
|
492
|
+
/** KeyType enum. */
|
|
493
|
+
enum KeyType {
|
|
494
|
+
SIGNING = 1,
|
|
495
|
+
CONTENT = 2,
|
|
496
|
+
KEY_CONTROL = 3,
|
|
497
|
+
OPERATOR_SESSION = 4,
|
|
498
|
+
ENTITLEMENT = 5,
|
|
499
|
+
OEM_CONTENT = 6,
|
|
1050
500
|
}
|
|
1051
501
|
|
|
1052
|
-
/**
|
|
1053
|
-
|
|
502
|
+
/** SecurityLevel enum. */
|
|
503
|
+
enum SecurityLevel {
|
|
504
|
+
SW_SECURE_CRYPTO = 1,
|
|
505
|
+
SW_SECURE_DECODE = 2,
|
|
506
|
+
HW_SECURE_CRYPTO = 3,
|
|
507
|
+
HW_SECURE_DECODE = 4,
|
|
508
|
+
HW_SECURE_ALL = 5,
|
|
509
|
+
}
|
|
1054
510
|
|
|
1055
|
-
|
|
1056
|
-
|
|
511
|
+
/** Properties of a KeyControl. */
|
|
512
|
+
interface IKeyControl {
|
|
513
|
+
/** KeyControl keyControlBlock */
|
|
514
|
+
keyControlBlock?: Uint8Array | null;
|
|
1057
515
|
|
|
1058
|
-
|
|
1059
|
-
|
|
516
|
+
/** KeyControl iv */
|
|
517
|
+
iv?: Uint8Array | null;
|
|
1060
518
|
}
|
|
1061
519
|
|
|
1062
|
-
/** Represents a
|
|
1063
|
-
class
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
520
|
+
/** Represents a KeyControl. */
|
|
521
|
+
class KeyControl implements IKeyControl {
|
|
522
|
+
/**
|
|
523
|
+
* Constructs a new KeyControl.
|
|
524
|
+
* @param [p] Properties to set
|
|
525
|
+
*/
|
|
526
|
+
constructor(p?: License.KeyContainer.IKeyControl);
|
|
527
|
+
|
|
528
|
+
/** KeyControl keyControlBlock. */
|
|
529
|
+
public keyControlBlock: Uint8Array;
|
|
530
|
+
|
|
531
|
+
/** KeyControl iv. */
|
|
532
|
+
public iv: Uint8Array;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* Creates a new KeyControl instance using the specified properties.
|
|
536
|
+
* @param [properties] Properties to set
|
|
537
|
+
* @returns KeyControl instance
|
|
538
|
+
*/
|
|
539
|
+
public static create(
|
|
540
|
+
properties?: License.KeyContainer.IKeyControl,
|
|
541
|
+
): License.KeyContainer.KeyControl;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Encodes the specified KeyControl message. Does not implicitly {@link License.KeyContainer.KeyControl.verify|verify} messages.
|
|
545
|
+
* @param m KeyControl message or plain object to encode
|
|
546
|
+
* @param [w] Writer to encode to
|
|
547
|
+
* @returns Writer
|
|
548
|
+
*/
|
|
549
|
+
public static encode(
|
|
550
|
+
m: License.KeyContainer.IKeyControl,
|
|
551
|
+
w?: $protobuf.Writer,
|
|
552
|
+
): $protobuf.Writer;
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* Encodes the specified KeyControl message, length delimited. Does not implicitly {@link License.KeyContainer.KeyControl.verify|verify} messages.
|
|
556
|
+
* @param message KeyControl message or plain object to encode
|
|
557
|
+
* @param [writer] Writer to encode to
|
|
558
|
+
* @returns Writer
|
|
559
|
+
*/
|
|
560
|
+
public static encodeDelimited(
|
|
561
|
+
message: License.KeyContainer.IKeyControl,
|
|
562
|
+
writer?: $protobuf.Writer,
|
|
563
|
+
): $protobuf.Writer;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Decodes a KeyControl message from the specified reader or buffer.
|
|
567
|
+
* @param r Reader or buffer to decode from
|
|
568
|
+
* @param [l] Message length if known beforehand
|
|
569
|
+
* @returns KeyControl
|
|
570
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
571
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
572
|
+
*/
|
|
573
|
+
public static decode(
|
|
574
|
+
r: $protobuf.Reader | Uint8Array,
|
|
575
|
+
l?: number,
|
|
576
|
+
): License.KeyContainer.KeyControl;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* Decodes a KeyControl message from the specified reader or buffer, length delimited.
|
|
580
|
+
* @param reader Reader or buffer to decode from
|
|
581
|
+
* @returns KeyControl
|
|
582
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
583
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
584
|
+
*/
|
|
585
|
+
public static decodeDelimited(
|
|
586
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
587
|
+
): License.KeyContainer.KeyControl;
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Creates a KeyControl message from a plain object. Also converts values to their respective internal types.
|
|
591
|
+
* @param d Plain object
|
|
592
|
+
* @returns KeyControl
|
|
593
|
+
*/
|
|
594
|
+
public static fromObject(d: {
|
|
595
|
+
[k: string]: any;
|
|
596
|
+
}): License.KeyContainer.KeyControl;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Creates a plain object from a KeyControl message. Also converts values to other types if specified.
|
|
600
|
+
* @param m KeyControl
|
|
601
|
+
* @param [o] Conversion options
|
|
602
|
+
* @returns Plain object
|
|
603
|
+
*/
|
|
604
|
+
public static toObject(
|
|
605
|
+
m: License.KeyContainer.KeyControl,
|
|
606
|
+
o?: $protobuf.IConversionOptions,
|
|
607
|
+
): { [k: string]: any };
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Converts this KeyControl to JSON.
|
|
611
|
+
* @returns JSON object
|
|
612
|
+
*/
|
|
613
|
+
public toJSON(): { [k: string]: any };
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* Gets the default type url for KeyControl
|
|
617
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
618
|
+
* @returns The default type url
|
|
619
|
+
*/
|
|
620
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1146
621
|
}
|
|
1147
622
|
|
|
1148
|
-
/** Properties of
|
|
1149
|
-
interface
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
clientToken?: (boolean|null);
|
|
1153
|
-
|
|
1154
|
-
/** ClientCapabilities sessionToken */
|
|
1155
|
-
sessionToken?: (boolean|null);
|
|
1156
|
-
|
|
1157
|
-
/** ClientCapabilities videoResolutionConstraints */
|
|
1158
|
-
videoResolutionConstraints?: (boolean|null);
|
|
623
|
+
/** Properties of an OutputProtection. */
|
|
624
|
+
interface IOutputProtection {
|
|
625
|
+
/** OutputProtection hdcp */
|
|
626
|
+
hdcp?: License.KeyContainer.OutputProtection.HDCP | null;
|
|
1159
627
|
|
|
1160
|
-
|
|
1161
|
-
|
|
628
|
+
/** OutputProtection cgmsFlags */
|
|
629
|
+
cgmsFlags?: License.KeyContainer.OutputProtection.CGMS | null;
|
|
1162
630
|
|
|
1163
|
-
|
|
1164
|
-
|
|
631
|
+
/** OutputProtection hdcpSrmRule */
|
|
632
|
+
hdcpSrmRule?: License.KeyContainer.OutputProtection.HdcpSrmRule | null;
|
|
1165
633
|
|
|
1166
|
-
|
|
1167
|
-
|
|
634
|
+
/** OutputProtection disableAnalogOutput */
|
|
635
|
+
disableAnalogOutput?: boolean | null;
|
|
1168
636
|
|
|
1169
|
-
|
|
1170
|
-
|
|
637
|
+
/** OutputProtection disableDigitalOutput */
|
|
638
|
+
disableDigitalOutput?: boolean | null;
|
|
639
|
+
}
|
|
1171
640
|
|
|
1172
|
-
|
|
1173
|
-
|
|
641
|
+
/** Represents an OutputProtection. */
|
|
642
|
+
class OutputProtection implements IOutputProtection {
|
|
643
|
+
/**
|
|
644
|
+
* Constructs a new OutputProtection.
|
|
645
|
+
* @param [p] Properties to set
|
|
646
|
+
*/
|
|
647
|
+
constructor(p?: License.KeyContainer.IOutputProtection);
|
|
648
|
+
|
|
649
|
+
/** OutputProtection hdcp. */
|
|
650
|
+
public hdcp: License.KeyContainer.OutputProtection.HDCP;
|
|
651
|
+
|
|
652
|
+
/** OutputProtection cgmsFlags. */
|
|
653
|
+
public cgmsFlags: License.KeyContainer.OutputProtection.CGMS;
|
|
654
|
+
|
|
655
|
+
/** OutputProtection hdcpSrmRule. */
|
|
656
|
+
public hdcpSrmRule: License.KeyContainer.OutputProtection.HdcpSrmRule;
|
|
657
|
+
|
|
658
|
+
/** OutputProtection disableAnalogOutput. */
|
|
659
|
+
public disableAnalogOutput: boolean;
|
|
660
|
+
|
|
661
|
+
/** OutputProtection disableDigitalOutput. */
|
|
662
|
+
public disableDigitalOutput: boolean;
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Creates a new OutputProtection instance using the specified properties.
|
|
666
|
+
* @param [properties] Properties to set
|
|
667
|
+
* @returns OutputProtection instance
|
|
668
|
+
*/
|
|
669
|
+
public static create(
|
|
670
|
+
properties?: License.KeyContainer.IOutputProtection,
|
|
671
|
+
): License.KeyContainer.OutputProtection;
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* Encodes the specified OutputProtection message. Does not implicitly {@link License.KeyContainer.OutputProtection.verify|verify} messages.
|
|
675
|
+
* @param m OutputProtection message or plain object to encode
|
|
676
|
+
* @param [w] Writer to encode to
|
|
677
|
+
* @returns Writer
|
|
678
|
+
*/
|
|
679
|
+
public static encode(
|
|
680
|
+
m: License.KeyContainer.IOutputProtection,
|
|
681
|
+
w?: $protobuf.Writer,
|
|
682
|
+
): $protobuf.Writer;
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Encodes the specified OutputProtection message, length delimited. Does not implicitly {@link License.KeyContainer.OutputProtection.verify|verify} messages.
|
|
686
|
+
* @param message OutputProtection message or plain object to encode
|
|
687
|
+
* @param [writer] Writer to encode to
|
|
688
|
+
* @returns Writer
|
|
689
|
+
*/
|
|
690
|
+
public static encodeDelimited(
|
|
691
|
+
message: License.KeyContainer.IOutputProtection,
|
|
692
|
+
writer?: $protobuf.Writer,
|
|
693
|
+
): $protobuf.Writer;
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Decodes an OutputProtection message from the specified reader or buffer.
|
|
697
|
+
* @param r Reader or buffer to decode from
|
|
698
|
+
* @param [l] Message length if known beforehand
|
|
699
|
+
* @returns OutputProtection
|
|
700
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
701
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
702
|
+
*/
|
|
703
|
+
public static decode(
|
|
704
|
+
r: $protobuf.Reader | Uint8Array,
|
|
705
|
+
l?: number,
|
|
706
|
+
): License.KeyContainer.OutputProtection;
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* Decodes an OutputProtection message from the specified reader or buffer, length delimited.
|
|
710
|
+
* @param reader Reader or buffer to decode from
|
|
711
|
+
* @returns OutputProtection
|
|
712
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
713
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
714
|
+
*/
|
|
715
|
+
public static decodeDelimited(
|
|
716
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
717
|
+
): License.KeyContainer.OutputProtection;
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* Creates an OutputProtection message from a plain object. Also converts values to their respective internal types.
|
|
721
|
+
* @param d Plain object
|
|
722
|
+
* @returns OutputProtection
|
|
723
|
+
*/
|
|
724
|
+
public static fromObject(d: {
|
|
725
|
+
[k: string]: any;
|
|
726
|
+
}): License.KeyContainer.OutputProtection;
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Creates a plain object from an OutputProtection message. Also converts values to other types if specified.
|
|
730
|
+
* @param m OutputProtection
|
|
731
|
+
* @param [o] Conversion options
|
|
732
|
+
* @returns Plain object
|
|
733
|
+
*/
|
|
734
|
+
public static toObject(
|
|
735
|
+
m: License.KeyContainer.OutputProtection,
|
|
736
|
+
o?: $protobuf.IConversionOptions,
|
|
737
|
+
): { [k: string]: any };
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* Converts this OutputProtection to JSON.
|
|
741
|
+
* @returns JSON object
|
|
742
|
+
*/
|
|
743
|
+
public toJSON(): { [k: string]: any };
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* Gets the default type url for OutputProtection
|
|
747
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
748
|
+
* @returns The default type url
|
|
749
|
+
*/
|
|
750
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
751
|
+
}
|
|
1174
752
|
|
|
1175
|
-
|
|
1176
|
-
|
|
753
|
+
namespace OutputProtection {
|
|
754
|
+
/** HDCP enum. */
|
|
755
|
+
enum HDCP {
|
|
756
|
+
HDCP_NONE = 0,
|
|
757
|
+
HDCP_V1 = 1,
|
|
758
|
+
HDCP_V2 = 2,
|
|
759
|
+
HDCP_V2_1 = 3,
|
|
760
|
+
HDCP_V2_2 = 4,
|
|
761
|
+
HDCP_V2_3 = 5,
|
|
762
|
+
HDCP_NO_DIGITAL_OUTPUT = 255,
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
/** CGMS enum. */
|
|
766
|
+
enum CGMS {
|
|
767
|
+
CGMS_NONE = 42,
|
|
768
|
+
COPY_FREE = 0,
|
|
769
|
+
COPY_ONCE = 2,
|
|
770
|
+
COPY_NEVER = 3,
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
/** HdcpSrmRule enum. */
|
|
774
|
+
enum HdcpSrmRule {
|
|
775
|
+
HDCP_SRM_RULE_NONE = 0,
|
|
776
|
+
CURRENT_SRM = 1,
|
|
777
|
+
}
|
|
778
|
+
}
|
|
1177
779
|
|
|
1178
|
-
|
|
1179
|
-
|
|
780
|
+
/** Properties of a VideoResolutionConstraint. */
|
|
781
|
+
interface IVideoResolutionConstraint {
|
|
782
|
+
/** VideoResolutionConstraint minResolutionPixels */
|
|
783
|
+
minResolutionPixels?: number | null;
|
|
1180
784
|
|
|
1181
|
-
|
|
1182
|
-
|
|
785
|
+
/** VideoResolutionConstraint maxResolutionPixels */
|
|
786
|
+
maxResolutionPixels?: number | null;
|
|
1183
787
|
|
|
1184
|
-
|
|
1185
|
-
|
|
788
|
+
/** VideoResolutionConstraint requiredProtection */
|
|
789
|
+
requiredProtection?: License.KeyContainer.IOutputProtection | null;
|
|
1186
790
|
}
|
|
1187
791
|
|
|
1188
|
-
/** Represents a
|
|
1189
|
-
class
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
* @returns JSON object
|
|
1293
|
-
*/
|
|
1294
|
-
public toJSON(): { [k: string]: any };
|
|
1295
|
-
|
|
1296
|
-
/**
|
|
1297
|
-
* Gets the default type url for ClientCapabilities
|
|
1298
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1299
|
-
* @returns The default type url
|
|
1300
|
-
*/
|
|
1301
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
792
|
+
/** Represents a VideoResolutionConstraint. */
|
|
793
|
+
class VideoResolutionConstraint implements IVideoResolutionConstraint {
|
|
794
|
+
/**
|
|
795
|
+
* Constructs a new VideoResolutionConstraint.
|
|
796
|
+
* @param [p] Properties to set
|
|
797
|
+
*/
|
|
798
|
+
constructor(p?: License.KeyContainer.IVideoResolutionConstraint);
|
|
799
|
+
|
|
800
|
+
/** VideoResolutionConstraint minResolutionPixels. */
|
|
801
|
+
public minResolutionPixels: number;
|
|
802
|
+
|
|
803
|
+
/** VideoResolutionConstraint maxResolutionPixels. */
|
|
804
|
+
public maxResolutionPixels: number;
|
|
805
|
+
|
|
806
|
+
/** VideoResolutionConstraint requiredProtection. */
|
|
807
|
+
public requiredProtection?: License.KeyContainer.IOutputProtection | null;
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Creates a new VideoResolutionConstraint instance using the specified properties.
|
|
811
|
+
* @param [properties] Properties to set
|
|
812
|
+
* @returns VideoResolutionConstraint instance
|
|
813
|
+
*/
|
|
814
|
+
public static create(
|
|
815
|
+
properties?: License.KeyContainer.IVideoResolutionConstraint,
|
|
816
|
+
): License.KeyContainer.VideoResolutionConstraint;
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* Encodes the specified VideoResolutionConstraint message. Does not implicitly {@link License.KeyContainer.VideoResolutionConstraint.verify|verify} messages.
|
|
820
|
+
* @param m VideoResolutionConstraint message or plain object to encode
|
|
821
|
+
* @param [w] Writer to encode to
|
|
822
|
+
* @returns Writer
|
|
823
|
+
*/
|
|
824
|
+
public static encode(
|
|
825
|
+
m: License.KeyContainer.IVideoResolutionConstraint,
|
|
826
|
+
w?: $protobuf.Writer,
|
|
827
|
+
): $protobuf.Writer;
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* Encodes the specified VideoResolutionConstraint message, length delimited. Does not implicitly {@link License.KeyContainer.VideoResolutionConstraint.verify|verify} messages.
|
|
831
|
+
* @param message VideoResolutionConstraint message or plain object to encode
|
|
832
|
+
* @param [writer] Writer to encode to
|
|
833
|
+
* @returns Writer
|
|
834
|
+
*/
|
|
835
|
+
public static encodeDelimited(
|
|
836
|
+
message: License.KeyContainer.IVideoResolutionConstraint,
|
|
837
|
+
writer?: $protobuf.Writer,
|
|
838
|
+
): $protobuf.Writer;
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* Decodes a VideoResolutionConstraint message from the specified reader or buffer.
|
|
842
|
+
* @param r Reader or buffer to decode from
|
|
843
|
+
* @param [l] Message length if known beforehand
|
|
844
|
+
* @returns VideoResolutionConstraint
|
|
845
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
846
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
847
|
+
*/
|
|
848
|
+
public static decode(
|
|
849
|
+
r: $protobuf.Reader | Uint8Array,
|
|
850
|
+
l?: number,
|
|
851
|
+
): License.KeyContainer.VideoResolutionConstraint;
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Decodes a VideoResolutionConstraint message from the specified reader or buffer, length delimited.
|
|
855
|
+
* @param reader Reader or buffer to decode from
|
|
856
|
+
* @returns VideoResolutionConstraint
|
|
857
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
858
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
859
|
+
*/
|
|
860
|
+
public static decodeDelimited(
|
|
861
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
862
|
+
): License.KeyContainer.VideoResolutionConstraint;
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* Creates a VideoResolutionConstraint message from a plain object. Also converts values to their respective internal types.
|
|
866
|
+
* @param d Plain object
|
|
867
|
+
* @returns VideoResolutionConstraint
|
|
868
|
+
*/
|
|
869
|
+
public static fromObject(d: {
|
|
870
|
+
[k: string]: any;
|
|
871
|
+
}): License.KeyContainer.VideoResolutionConstraint;
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* Creates a plain object from a VideoResolutionConstraint message. Also converts values to other types if specified.
|
|
875
|
+
* @param m VideoResolutionConstraint
|
|
876
|
+
* @param [o] Conversion options
|
|
877
|
+
* @returns Plain object
|
|
878
|
+
*/
|
|
879
|
+
public static toObject(
|
|
880
|
+
m: License.KeyContainer.VideoResolutionConstraint,
|
|
881
|
+
o?: $protobuf.IConversionOptions,
|
|
882
|
+
): { [k: string]: any };
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* Converts this VideoResolutionConstraint to JSON.
|
|
886
|
+
* @returns JSON object
|
|
887
|
+
*/
|
|
888
|
+
public toJSON(): { [k: string]: any };
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* Gets the default type url for VideoResolutionConstraint
|
|
892
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
893
|
+
* @returns The default type url
|
|
894
|
+
*/
|
|
895
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1302
896
|
}
|
|
1303
897
|
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
HDCP_NONE = 0,
|
|
1309
|
-
HDCP_V1 = 1,
|
|
1310
|
-
HDCP_V2 = 2,
|
|
1311
|
-
HDCP_V2_1 = 3,
|
|
1312
|
-
HDCP_V2_2 = 4,
|
|
1313
|
-
HDCP_V2_3 = 5,
|
|
1314
|
-
HDCP_NO_DIGITAL_OUTPUT = 255
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
/** CertificateKeyType enum. */
|
|
1318
|
-
enum CertificateKeyType {
|
|
1319
|
-
RSA_2048 = 0,
|
|
1320
|
-
RSA_3072 = 1,
|
|
1321
|
-
ECC_SECP256R1 = 2,
|
|
1322
|
-
ECC_SECP384R1 = 3,
|
|
1323
|
-
ECC_SECP521R1 = 4
|
|
1324
|
-
}
|
|
1325
|
-
|
|
1326
|
-
/** AnalogOutputCapabilities enum. */
|
|
1327
|
-
enum AnalogOutputCapabilities {
|
|
1328
|
-
ANALOG_OUTPUT_UNKNOWN = 0,
|
|
1329
|
-
ANALOG_OUTPUT_NONE = 1,
|
|
1330
|
-
ANALOG_OUTPUT_SUPPORTED = 2,
|
|
1331
|
-
ANALOG_OUTPUT_SUPPORTS_CGMS_A = 3
|
|
1332
|
-
}
|
|
1333
|
-
}
|
|
898
|
+
/** Properties of an OperatorSessionKeyPermissions. */
|
|
899
|
+
interface IOperatorSessionKeyPermissions {
|
|
900
|
+
/** OperatorSessionKeyPermissions allowEncrypt */
|
|
901
|
+
allowEncrypt?: boolean | null;
|
|
1334
902
|
|
|
1335
|
-
|
|
1336
|
-
|
|
903
|
+
/** OperatorSessionKeyPermissions allowDecrypt */
|
|
904
|
+
allowDecrypt?: boolean | null;
|
|
1337
905
|
|
|
1338
|
-
|
|
1339
|
-
|
|
906
|
+
/** OperatorSessionKeyPermissions allowSign */
|
|
907
|
+
allowSign?: boolean | null;
|
|
1340
908
|
|
|
1341
|
-
|
|
1342
|
-
|
|
909
|
+
/** OperatorSessionKeyPermissions allowSignatureVerify */
|
|
910
|
+
allowSignatureVerify?: boolean | null;
|
|
1343
911
|
}
|
|
1344
912
|
|
|
1345
|
-
/** Represents
|
|
1346
|
-
class
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
913
|
+
/** Represents an OperatorSessionKeyPermissions. */
|
|
914
|
+
class OperatorSessionKeyPermissions
|
|
915
|
+
implements IOperatorSessionKeyPermissions
|
|
916
|
+
{
|
|
917
|
+
/**
|
|
918
|
+
* Constructs a new OperatorSessionKeyPermissions.
|
|
919
|
+
* @param [p] Properties to set
|
|
920
|
+
*/
|
|
921
|
+
constructor(p?: License.KeyContainer.IOperatorSessionKeyPermissions);
|
|
922
|
+
|
|
923
|
+
/** OperatorSessionKeyPermissions allowEncrypt. */
|
|
924
|
+
public allowEncrypt: boolean;
|
|
925
|
+
|
|
926
|
+
/** OperatorSessionKeyPermissions allowDecrypt. */
|
|
927
|
+
public allowDecrypt: boolean;
|
|
928
|
+
|
|
929
|
+
/** OperatorSessionKeyPermissions allowSign. */
|
|
930
|
+
public allowSign: boolean;
|
|
931
|
+
|
|
932
|
+
/** OperatorSessionKeyPermissions allowSignatureVerify. */
|
|
933
|
+
public allowSignatureVerify: boolean;
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* Creates a new OperatorSessionKeyPermissions instance using the specified properties.
|
|
937
|
+
* @param [properties] Properties to set
|
|
938
|
+
* @returns OperatorSessionKeyPermissions instance
|
|
939
|
+
*/
|
|
940
|
+
public static create(
|
|
941
|
+
properties?: License.KeyContainer.IOperatorSessionKeyPermissions,
|
|
942
|
+
): License.KeyContainer.OperatorSessionKeyPermissions;
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* Encodes the specified OperatorSessionKeyPermissions message. Does not implicitly {@link License.KeyContainer.OperatorSessionKeyPermissions.verify|verify} messages.
|
|
946
|
+
* @param m OperatorSessionKeyPermissions message or plain object to encode
|
|
947
|
+
* @param [w] Writer to encode to
|
|
948
|
+
* @returns Writer
|
|
949
|
+
*/
|
|
950
|
+
public static encode(
|
|
951
|
+
m: License.KeyContainer.IOperatorSessionKeyPermissions,
|
|
952
|
+
w?: $protobuf.Writer,
|
|
953
|
+
): $protobuf.Writer;
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* Encodes the specified OperatorSessionKeyPermissions message, length delimited. Does not implicitly {@link License.KeyContainer.OperatorSessionKeyPermissions.verify|verify} messages.
|
|
957
|
+
* @param message OperatorSessionKeyPermissions message or plain object to encode
|
|
958
|
+
* @param [writer] Writer to encode to
|
|
959
|
+
* @returns Writer
|
|
960
|
+
*/
|
|
961
|
+
public static encodeDelimited(
|
|
962
|
+
message: License.KeyContainer.IOperatorSessionKeyPermissions,
|
|
963
|
+
writer?: $protobuf.Writer,
|
|
964
|
+
): $protobuf.Writer;
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Decodes an OperatorSessionKeyPermissions message from the specified reader or buffer.
|
|
968
|
+
* @param r Reader or buffer to decode from
|
|
969
|
+
* @param [l] Message length if known beforehand
|
|
970
|
+
* @returns OperatorSessionKeyPermissions
|
|
971
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
972
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
973
|
+
*/
|
|
974
|
+
public static decode(
|
|
975
|
+
r: $protobuf.Reader | Uint8Array,
|
|
976
|
+
l?: number,
|
|
977
|
+
): License.KeyContainer.OperatorSessionKeyPermissions;
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* Decodes an OperatorSessionKeyPermissions message from the specified reader or buffer, length delimited.
|
|
981
|
+
* @param reader Reader or buffer to decode from
|
|
982
|
+
* @returns OperatorSessionKeyPermissions
|
|
983
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
984
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
985
|
+
*/
|
|
986
|
+
public static decodeDelimited(
|
|
987
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
988
|
+
): License.KeyContainer.OperatorSessionKeyPermissions;
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* Creates an OperatorSessionKeyPermissions message from a plain object. Also converts values to their respective internal types.
|
|
992
|
+
* @param d Plain object
|
|
993
|
+
* @returns OperatorSessionKeyPermissions
|
|
994
|
+
*/
|
|
995
|
+
public static fromObject(d: {
|
|
996
|
+
[k: string]: any;
|
|
997
|
+
}): License.KeyContainer.OperatorSessionKeyPermissions;
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Creates a plain object from an OperatorSessionKeyPermissions message. Also converts values to other types if specified.
|
|
1001
|
+
* @param m OperatorSessionKeyPermissions
|
|
1002
|
+
* @param [o] Conversion options
|
|
1003
|
+
* @returns Plain object
|
|
1004
|
+
*/
|
|
1005
|
+
public static toObject(
|
|
1006
|
+
m: License.KeyContainer.OperatorSessionKeyPermissions,
|
|
1007
|
+
o?: $protobuf.IConversionOptions,
|
|
1008
|
+
): { [k: string]: any };
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Converts this OperatorSessionKeyPermissions to JSON.
|
|
1012
|
+
* @returns JSON object
|
|
1013
|
+
*/
|
|
1014
|
+
public toJSON(): { [k: string]: any };
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* Gets the default type url for OperatorSessionKeyPermissions
|
|
1018
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1019
|
+
* @returns The default type url
|
|
1020
|
+
*/
|
|
1021
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1429
1022
|
}
|
|
1023
|
+
}
|
|
1430
1024
|
}
|
|
1431
1025
|
|
|
1432
|
-
/**
|
|
1433
|
-
declare
|
|
1026
|
+
/** HashAlgorithmProto enum. */
|
|
1027
|
+
declare enum HashAlgorithmProto {
|
|
1028
|
+
HASH_ALGORITHM_UNSPECIFIED = 0,
|
|
1029
|
+
HASH_ALGORITHM_SHA_1 = 1,
|
|
1030
|
+
HASH_ALGORITHM_SHA_256 = 2,
|
|
1031
|
+
HASH_ALGORITHM_SHA_384 = 3,
|
|
1032
|
+
}
|
|
1434
1033
|
|
|
1034
|
+
/** Represents a ClientIdentification. */
|
|
1035
|
+
declare class ClientIdentification implements IClientIdentification {
|
|
1036
|
+
/**
|
|
1037
|
+
* Constructs a new ClientIdentification.
|
|
1038
|
+
* @param [p] Properties to set
|
|
1039
|
+
*/
|
|
1040
|
+
constructor(p?: IClientIdentification);
|
|
1041
|
+
|
|
1042
|
+
/** ClientIdentification type. */
|
|
1043
|
+
public type: ClientIdentification.TokenType;
|
|
1044
|
+
|
|
1045
|
+
/** ClientIdentification token. */
|
|
1046
|
+
public token: Uint8Array;
|
|
1047
|
+
|
|
1048
|
+
/** ClientIdentification clientInfo. */
|
|
1049
|
+
public clientInfo: ClientIdentification.INameValue[];
|
|
1050
|
+
|
|
1051
|
+
/** ClientIdentification providerClientToken. */
|
|
1052
|
+
public providerClientToken: Uint8Array;
|
|
1053
|
+
|
|
1054
|
+
/** ClientIdentification licenseCounter. */
|
|
1055
|
+
public licenseCounter: number;
|
|
1056
|
+
|
|
1057
|
+
/** ClientIdentification clientCapabilities. */
|
|
1058
|
+
public clientCapabilities?: ClientIdentification.IClientCapabilities | null;
|
|
1059
|
+
|
|
1060
|
+
/** ClientIdentification vmpData. */
|
|
1061
|
+
public vmpData: Uint8Array;
|
|
1062
|
+
|
|
1063
|
+
/** ClientIdentification deviceCredentials. */
|
|
1064
|
+
public deviceCredentials: ClientIdentification.IClientCredentials[];
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* Creates a new ClientIdentification instance using the specified properties.
|
|
1068
|
+
* @param [properties] Properties to set
|
|
1069
|
+
* @returns ClientIdentification instance
|
|
1070
|
+
*/
|
|
1071
|
+
public static create(
|
|
1072
|
+
properties?: IClientIdentification,
|
|
1073
|
+
): ClientIdentification;
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* Encodes the specified ClientIdentification message. Does not implicitly {@link ClientIdentification.verify|verify} messages.
|
|
1077
|
+
* @param m ClientIdentification message or plain object to encode
|
|
1078
|
+
* @param [w] Writer to encode to
|
|
1079
|
+
* @returns Writer
|
|
1080
|
+
*/
|
|
1081
|
+
public static encode(
|
|
1082
|
+
m: IClientIdentification,
|
|
1083
|
+
w?: $protobuf.Writer,
|
|
1084
|
+
): $protobuf.Writer;
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* Encodes the specified ClientIdentification message, length delimited. Does not implicitly {@link ClientIdentification.verify|verify} messages.
|
|
1088
|
+
* @param message ClientIdentification message or plain object to encode
|
|
1089
|
+
* @param [writer] Writer to encode to
|
|
1090
|
+
* @returns Writer
|
|
1091
|
+
*/
|
|
1092
|
+
public static encodeDelimited(
|
|
1093
|
+
message: IClientIdentification,
|
|
1094
|
+
writer?: $protobuf.Writer,
|
|
1095
|
+
): $protobuf.Writer;
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* Decodes a ClientIdentification message from the specified reader or buffer.
|
|
1099
|
+
* @param r Reader or buffer to decode from
|
|
1100
|
+
* @param [l] Message length if known beforehand
|
|
1101
|
+
* @returns ClientIdentification
|
|
1102
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1103
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1104
|
+
*/
|
|
1105
|
+
public static decode(
|
|
1106
|
+
r: $protobuf.Reader | Uint8Array,
|
|
1107
|
+
l?: number,
|
|
1108
|
+
): ClientIdentification;
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* Decodes a ClientIdentification message from the specified reader or buffer, length delimited.
|
|
1112
|
+
* @param reader Reader or buffer to decode from
|
|
1113
|
+
* @returns ClientIdentification
|
|
1114
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1115
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1116
|
+
*/
|
|
1117
|
+
public static decodeDelimited(
|
|
1118
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
1119
|
+
): ClientIdentification;
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* Creates a ClientIdentification message from a plain object. Also converts values to their respective internal types.
|
|
1123
|
+
* @param d Plain object
|
|
1124
|
+
* @returns ClientIdentification
|
|
1125
|
+
*/
|
|
1126
|
+
public static fromObject(d: { [k: string]: any }): ClientIdentification;
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* Creates a plain object from a ClientIdentification message. Also converts values to other types if specified.
|
|
1130
|
+
* @param m ClientIdentification
|
|
1131
|
+
* @param [o] Conversion options
|
|
1132
|
+
* @returns Plain object
|
|
1133
|
+
*/
|
|
1134
|
+
public static toObject(
|
|
1135
|
+
m: ClientIdentification,
|
|
1136
|
+
o?: $protobuf.IConversionOptions,
|
|
1137
|
+
): { [k: string]: any };
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* Converts this ClientIdentification to JSON.
|
|
1141
|
+
* @returns JSON object
|
|
1142
|
+
*/
|
|
1143
|
+
public toJSON(): { [k: string]: any };
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* Gets the default type url for ClientIdentification
|
|
1147
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1148
|
+
* @returns The default type url
|
|
1149
|
+
*/
|
|
1150
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
declare namespace ClientIdentification {
|
|
1154
|
+
/** TokenType enum. */
|
|
1155
|
+
enum TokenType {
|
|
1156
|
+
KEYBOX = 0,
|
|
1157
|
+
DRM_DEVICE_CERTIFICATE = 1,
|
|
1158
|
+
REMOTE_ATTESTATION_CERTIFICATE = 2,
|
|
1159
|
+
OEM_DEVICE_CERTIFICATE = 3,
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
/** Properties of a NameValue. */
|
|
1163
|
+
interface INameValue {
|
|
1164
|
+
/** NameValue name */
|
|
1165
|
+
name?: string | null;
|
|
1166
|
+
|
|
1167
|
+
/** NameValue value */
|
|
1168
|
+
value?: string | null;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
/** Represents a NameValue. */
|
|
1172
|
+
class NameValue implements INameValue {
|
|
1435
1173
|
/**
|
|
1436
|
-
* Constructs a new
|
|
1174
|
+
* Constructs a new NameValue.
|
|
1437
1175
|
* @param [p] Properties to set
|
|
1438
1176
|
*/
|
|
1439
|
-
constructor(p?:
|
|
1177
|
+
constructor(p?: ClientIdentification.INameValue);
|
|
1440
1178
|
|
|
1441
|
-
/**
|
|
1442
|
-
public
|
|
1179
|
+
/** NameValue name. */
|
|
1180
|
+
public name: string;
|
|
1443
1181
|
|
|
1444
|
-
/**
|
|
1445
|
-
public
|
|
1446
|
-
|
|
1447
|
-
/** EncryptedClientIdentification encryptedClientId. */
|
|
1448
|
-
public encryptedClientId: Uint8Array;
|
|
1449
|
-
|
|
1450
|
-
/** EncryptedClientIdentification encryptedClientIdIv. */
|
|
1451
|
-
public encryptedClientIdIv: Uint8Array;
|
|
1452
|
-
|
|
1453
|
-
/** EncryptedClientIdentification encryptedPrivacyKey. */
|
|
1454
|
-
public encryptedPrivacyKey: Uint8Array;
|
|
1182
|
+
/** NameValue value. */
|
|
1183
|
+
public value: string;
|
|
1455
1184
|
|
|
1456
1185
|
/**
|
|
1457
|
-
* Creates a new
|
|
1186
|
+
* Creates a new NameValue instance using the specified properties.
|
|
1458
1187
|
* @param [properties] Properties to set
|
|
1459
|
-
* @returns
|
|
1188
|
+
* @returns NameValue instance
|
|
1460
1189
|
*/
|
|
1461
|
-
public static create(
|
|
1190
|
+
public static create(
|
|
1191
|
+
properties?: ClientIdentification.INameValue,
|
|
1192
|
+
): ClientIdentification.NameValue;
|
|
1462
1193
|
|
|
1463
1194
|
/**
|
|
1464
|
-
* Encodes the specified
|
|
1465
|
-
* @param m
|
|
1195
|
+
* Encodes the specified NameValue message. Does not implicitly {@link ClientIdentification.NameValue.verify|verify} messages.
|
|
1196
|
+
* @param m NameValue message or plain object to encode
|
|
1466
1197
|
* @param [w] Writer to encode to
|
|
1467
1198
|
* @returns Writer
|
|
1468
1199
|
*/
|
|
1469
|
-
public static encode(
|
|
1200
|
+
public static encode(
|
|
1201
|
+
m: ClientIdentification.INameValue,
|
|
1202
|
+
w?: $protobuf.Writer,
|
|
1203
|
+
): $protobuf.Writer;
|
|
1470
1204
|
|
|
1471
1205
|
/**
|
|
1472
|
-
* Encodes the specified
|
|
1473
|
-
* @param message
|
|
1206
|
+
* Encodes the specified NameValue message, length delimited. Does not implicitly {@link ClientIdentification.NameValue.verify|verify} messages.
|
|
1207
|
+
* @param message NameValue message or plain object to encode
|
|
1474
1208
|
* @param [writer] Writer to encode to
|
|
1475
1209
|
* @returns Writer
|
|
1476
1210
|
*/
|
|
1477
|
-
public static encodeDelimited(
|
|
1211
|
+
public static encodeDelimited(
|
|
1212
|
+
message: ClientIdentification.INameValue,
|
|
1213
|
+
writer?: $protobuf.Writer,
|
|
1214
|
+
): $protobuf.Writer;
|
|
1478
1215
|
|
|
1479
1216
|
/**
|
|
1480
|
-
* Decodes
|
|
1217
|
+
* Decodes a NameValue message from the specified reader or buffer.
|
|
1481
1218
|
* @param r Reader or buffer to decode from
|
|
1482
1219
|
* @param [l] Message length if known beforehand
|
|
1483
|
-
* @returns
|
|
1220
|
+
* @returns NameValue
|
|
1484
1221
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1485
1222
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1486
1223
|
*/
|
|
1487
|
-
public static decode(
|
|
1224
|
+
public static decode(
|
|
1225
|
+
r: $protobuf.Reader | Uint8Array,
|
|
1226
|
+
l?: number,
|
|
1227
|
+
): ClientIdentification.NameValue;
|
|
1488
1228
|
|
|
1489
1229
|
/**
|
|
1490
|
-
* Decodes
|
|
1230
|
+
* Decodes a NameValue message from the specified reader or buffer, length delimited.
|
|
1491
1231
|
* @param reader Reader or buffer to decode from
|
|
1492
|
-
* @returns
|
|
1232
|
+
* @returns NameValue
|
|
1493
1233
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1494
1234
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1495
1235
|
*/
|
|
1496
|
-
public static decodeDelimited(
|
|
1236
|
+
public static decodeDelimited(
|
|
1237
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
1238
|
+
): ClientIdentification.NameValue;
|
|
1497
1239
|
|
|
1498
1240
|
/**
|
|
1499
|
-
* Creates
|
|
1241
|
+
* Creates a NameValue message from a plain object. Also converts values to their respective internal types.
|
|
1500
1242
|
* @param d Plain object
|
|
1501
|
-
* @returns
|
|
1243
|
+
* @returns NameValue
|
|
1502
1244
|
*/
|
|
1503
|
-
public static fromObject(d: {
|
|
1245
|
+
public static fromObject(d: {
|
|
1246
|
+
[k: string]: any;
|
|
1247
|
+
}): ClientIdentification.NameValue;
|
|
1504
1248
|
|
|
1505
1249
|
/**
|
|
1506
|
-
* Creates a plain object from
|
|
1507
|
-
* @param m
|
|
1250
|
+
* Creates a plain object from a NameValue message. Also converts values to other types if specified.
|
|
1251
|
+
* @param m NameValue
|
|
1508
1252
|
* @param [o] Conversion options
|
|
1509
1253
|
* @returns Plain object
|
|
1510
1254
|
*/
|
|
1511
|
-
public static toObject(
|
|
1255
|
+
public static toObject(
|
|
1256
|
+
m: ClientIdentification.NameValue,
|
|
1257
|
+
o?: $protobuf.IConversionOptions,
|
|
1258
|
+
): { [k: string]: any };
|
|
1512
1259
|
|
|
1513
1260
|
/**
|
|
1514
|
-
* Converts this
|
|
1261
|
+
* Converts this NameValue to JSON.
|
|
1515
1262
|
* @returns JSON object
|
|
1516
1263
|
*/
|
|
1517
1264
|
public toJSON(): { [k: string]: any };
|
|
1518
1265
|
|
|
1519
1266
|
/**
|
|
1520
|
-
* Gets the default type url for
|
|
1267
|
+
* Gets the default type url for NameValue
|
|
1521
1268
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1522
1269
|
* @returns The default type url
|
|
1523
1270
|
*/
|
|
1524
1271
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1525
|
-
}
|
|
1272
|
+
}
|
|
1526
1273
|
|
|
1527
|
-
/**
|
|
1528
|
-
|
|
1274
|
+
/** Properties of a ClientCapabilities. */
|
|
1275
|
+
interface IClientCapabilities {
|
|
1276
|
+
/** ClientCapabilities clientToken */
|
|
1277
|
+
clientToken?: boolean | null;
|
|
1529
1278
|
|
|
1279
|
+
/** ClientCapabilities sessionToken */
|
|
1280
|
+
sessionToken?: boolean | null;
|
|
1281
|
+
|
|
1282
|
+
/** ClientCapabilities videoResolutionConstraints */
|
|
1283
|
+
videoResolutionConstraints?: boolean | null;
|
|
1284
|
+
|
|
1285
|
+
/** ClientCapabilities maxHdcpVersion */
|
|
1286
|
+
maxHdcpVersion?: ClientIdentification.ClientCapabilities.HdcpVersion | null;
|
|
1287
|
+
|
|
1288
|
+
/** ClientCapabilities oemCryptoApiVersion */
|
|
1289
|
+
oemCryptoApiVersion?: number | null;
|
|
1290
|
+
|
|
1291
|
+
/** ClientCapabilities antiRollbackUsageTable */
|
|
1292
|
+
antiRollbackUsageTable?: boolean | null;
|
|
1293
|
+
|
|
1294
|
+
/** ClientCapabilities srmVersion */
|
|
1295
|
+
srmVersion?: number | null;
|
|
1296
|
+
|
|
1297
|
+
/** ClientCapabilities canUpdateSrm */
|
|
1298
|
+
canUpdateSrm?: boolean | null;
|
|
1299
|
+
|
|
1300
|
+
/** ClientCapabilities supportedCertificateKeyType */
|
|
1301
|
+
supportedCertificateKeyType?:
|
|
1302
|
+
| ClientIdentification.ClientCapabilities.CertificateKeyType[]
|
|
1303
|
+
| null;
|
|
1304
|
+
|
|
1305
|
+
/** ClientCapabilities analogOutputCapabilities */
|
|
1306
|
+
analogOutputCapabilities?: ClientIdentification.ClientCapabilities.AnalogOutputCapabilities | null;
|
|
1307
|
+
|
|
1308
|
+
/** ClientCapabilities canDisableAnalogOutput */
|
|
1309
|
+
canDisableAnalogOutput?: boolean | null;
|
|
1310
|
+
|
|
1311
|
+
/** ClientCapabilities resourceRatingTier */
|
|
1312
|
+
resourceRatingTier?: number | null;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
/** Represents a ClientCapabilities. */
|
|
1316
|
+
class ClientCapabilities implements IClientCapabilities {
|
|
1530
1317
|
/**
|
|
1531
|
-
* Constructs a new
|
|
1318
|
+
* Constructs a new ClientCapabilities.
|
|
1532
1319
|
* @param [p] Properties to set
|
|
1533
1320
|
*/
|
|
1534
|
-
constructor(p?:
|
|
1321
|
+
constructor(p?: ClientIdentification.IClientCapabilities);
|
|
1535
1322
|
|
|
1536
|
-
/**
|
|
1537
|
-
public
|
|
1323
|
+
/** ClientCapabilities clientToken. */
|
|
1324
|
+
public clientToken: boolean;
|
|
1538
1325
|
|
|
1539
|
-
/**
|
|
1540
|
-
public
|
|
1326
|
+
/** ClientCapabilities sessionToken. */
|
|
1327
|
+
public sessionToken: boolean;
|
|
1541
1328
|
|
|
1542
|
-
/**
|
|
1543
|
-
public
|
|
1329
|
+
/** ClientCapabilities videoResolutionConstraints. */
|
|
1330
|
+
public videoResolutionConstraints: boolean;
|
|
1544
1331
|
|
|
1545
|
-
/**
|
|
1546
|
-
public
|
|
1332
|
+
/** ClientCapabilities maxHdcpVersion. */
|
|
1333
|
+
public maxHdcpVersion: ClientIdentification.ClientCapabilities.HdcpVersion;
|
|
1547
1334
|
|
|
1548
|
-
/**
|
|
1549
|
-
public
|
|
1335
|
+
/** ClientCapabilities oemCryptoApiVersion. */
|
|
1336
|
+
public oemCryptoApiVersion: number;
|
|
1550
1337
|
|
|
1551
|
-
/**
|
|
1552
|
-
public
|
|
1338
|
+
/** ClientCapabilities antiRollbackUsageTable. */
|
|
1339
|
+
public antiRollbackUsageTable: boolean;
|
|
1553
1340
|
|
|
1554
|
-
/**
|
|
1555
|
-
public
|
|
1341
|
+
/** ClientCapabilities srmVersion. */
|
|
1342
|
+
public srmVersion: number;
|
|
1556
1343
|
|
|
1557
|
-
/**
|
|
1558
|
-
public
|
|
1344
|
+
/** ClientCapabilities canUpdateSrm. */
|
|
1345
|
+
public canUpdateSrm: boolean;
|
|
1559
1346
|
|
|
1560
|
-
/**
|
|
1561
|
-
public
|
|
1347
|
+
/** ClientCapabilities supportedCertificateKeyType. */
|
|
1348
|
+
public supportedCertificateKeyType: ClientIdentification.ClientCapabilities.CertificateKeyType[];
|
|
1562
1349
|
|
|
1563
|
-
/**
|
|
1564
|
-
public
|
|
1350
|
+
/** ClientCapabilities analogOutputCapabilities. */
|
|
1351
|
+
public analogOutputCapabilities: ClientIdentification.ClientCapabilities.AnalogOutputCapabilities;
|
|
1565
1352
|
|
|
1566
|
-
/**
|
|
1567
|
-
public
|
|
1353
|
+
/** ClientCapabilities canDisableAnalogOutput. */
|
|
1354
|
+
public canDisableAnalogOutput: boolean;
|
|
1568
1355
|
|
|
1569
|
-
/**
|
|
1570
|
-
public
|
|
1356
|
+
/** ClientCapabilities resourceRatingTier. */
|
|
1357
|
+
public resourceRatingTier: number;
|
|
1571
1358
|
|
|
1572
1359
|
/**
|
|
1573
|
-
* Creates a new
|
|
1360
|
+
* Creates a new ClientCapabilities instance using the specified properties.
|
|
1574
1361
|
* @param [properties] Properties to set
|
|
1575
|
-
* @returns
|
|
1362
|
+
* @returns ClientCapabilities instance
|
|
1576
1363
|
*/
|
|
1577
|
-
public static create(
|
|
1364
|
+
public static create(
|
|
1365
|
+
properties?: ClientIdentification.IClientCapabilities,
|
|
1366
|
+
): ClientIdentification.ClientCapabilities;
|
|
1578
1367
|
|
|
1579
1368
|
/**
|
|
1580
|
-
* Encodes the specified
|
|
1581
|
-
* @param m
|
|
1369
|
+
* Encodes the specified ClientCapabilities message. Does not implicitly {@link ClientIdentification.ClientCapabilities.verify|verify} messages.
|
|
1370
|
+
* @param m ClientCapabilities message or plain object to encode
|
|
1582
1371
|
* @param [w] Writer to encode to
|
|
1583
1372
|
* @returns Writer
|
|
1584
1373
|
*/
|
|
1585
|
-
public static encode(
|
|
1374
|
+
public static encode(
|
|
1375
|
+
m: ClientIdentification.IClientCapabilities,
|
|
1376
|
+
w?: $protobuf.Writer,
|
|
1377
|
+
): $protobuf.Writer;
|
|
1586
1378
|
|
|
1587
1379
|
/**
|
|
1588
|
-
* Encodes the specified
|
|
1589
|
-
* @param message
|
|
1380
|
+
* Encodes the specified ClientCapabilities message, length delimited. Does not implicitly {@link ClientIdentification.ClientCapabilities.verify|verify} messages.
|
|
1381
|
+
* @param message ClientCapabilities message or plain object to encode
|
|
1590
1382
|
* @param [writer] Writer to encode to
|
|
1591
1383
|
* @returns Writer
|
|
1592
1384
|
*/
|
|
1593
|
-
public static encodeDelimited(
|
|
1385
|
+
public static encodeDelimited(
|
|
1386
|
+
message: ClientIdentification.IClientCapabilities,
|
|
1387
|
+
writer?: $protobuf.Writer,
|
|
1388
|
+
): $protobuf.Writer;
|
|
1594
1389
|
|
|
1595
1390
|
/**
|
|
1596
|
-
* Decodes a
|
|
1391
|
+
* Decodes a ClientCapabilities message from the specified reader or buffer.
|
|
1597
1392
|
* @param r Reader or buffer to decode from
|
|
1598
1393
|
* @param [l] Message length if known beforehand
|
|
1599
|
-
* @returns
|
|
1394
|
+
* @returns ClientCapabilities
|
|
1600
1395
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1601
1396
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1602
1397
|
*/
|
|
1603
|
-
public static decode(
|
|
1398
|
+
public static decode(
|
|
1399
|
+
r: $protobuf.Reader | Uint8Array,
|
|
1400
|
+
l?: number,
|
|
1401
|
+
): ClientIdentification.ClientCapabilities;
|
|
1604
1402
|
|
|
1605
1403
|
/**
|
|
1606
|
-
* Decodes a
|
|
1404
|
+
* Decodes a ClientCapabilities message from the specified reader or buffer, length delimited.
|
|
1607
1405
|
* @param reader Reader or buffer to decode from
|
|
1608
|
-
* @returns
|
|
1406
|
+
* @returns ClientCapabilities
|
|
1609
1407
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1610
1408
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1611
1409
|
*/
|
|
1612
|
-
public static decodeDelimited(
|
|
1410
|
+
public static decodeDelimited(
|
|
1411
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
1412
|
+
): ClientIdentification.ClientCapabilities;
|
|
1613
1413
|
|
|
1614
1414
|
/**
|
|
1615
|
-
* Creates a
|
|
1415
|
+
* Creates a ClientCapabilities message from a plain object. Also converts values to their respective internal types.
|
|
1616
1416
|
* @param d Plain object
|
|
1617
|
-
* @returns
|
|
1417
|
+
* @returns ClientCapabilities
|
|
1618
1418
|
*/
|
|
1619
|
-
public static fromObject(d: {
|
|
1419
|
+
public static fromObject(d: {
|
|
1420
|
+
[k: string]: any;
|
|
1421
|
+
}): ClientIdentification.ClientCapabilities;
|
|
1620
1422
|
|
|
1621
1423
|
/**
|
|
1622
|
-
* Creates a plain object from a
|
|
1623
|
-
* @param m
|
|
1424
|
+
* Creates a plain object from a ClientCapabilities message. Also converts values to other types if specified.
|
|
1425
|
+
* @param m ClientCapabilities
|
|
1624
1426
|
* @param [o] Conversion options
|
|
1625
1427
|
* @returns Plain object
|
|
1626
1428
|
*/
|
|
1627
|
-
public static toObject(
|
|
1429
|
+
public static toObject(
|
|
1430
|
+
m: ClientIdentification.ClientCapabilities,
|
|
1431
|
+
o?: $protobuf.IConversionOptions,
|
|
1432
|
+
): { [k: string]: any };
|
|
1628
1433
|
|
|
1629
1434
|
/**
|
|
1630
|
-
* Converts this
|
|
1435
|
+
* Converts this ClientCapabilities to JSON.
|
|
1631
1436
|
* @returns JSON object
|
|
1632
1437
|
*/
|
|
1633
1438
|
public toJSON(): { [k: string]: any };
|
|
1634
1439
|
|
|
1635
1440
|
/**
|
|
1636
|
-
* Gets the default type url for
|
|
1441
|
+
* Gets the default type url for ClientCapabilities
|
|
1637
1442
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1638
1443
|
* @returns The default type url
|
|
1639
1444
|
*/
|
|
1640
1445
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1641
|
-
}
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
namespace ClientCapabilities {
|
|
1449
|
+
/** HdcpVersion enum. */
|
|
1450
|
+
enum HdcpVersion {
|
|
1451
|
+
HDCP_NONE = 0,
|
|
1452
|
+
HDCP_V1 = 1,
|
|
1453
|
+
HDCP_V2 = 2,
|
|
1454
|
+
HDCP_V2_1 = 3,
|
|
1455
|
+
HDCP_V2_2 = 4,
|
|
1456
|
+
HDCP_V2_3 = 5,
|
|
1457
|
+
HDCP_NO_DIGITAL_OUTPUT = 255,
|
|
1652
1458
|
}
|
|
1653
1459
|
|
|
1654
|
-
/**
|
|
1655
|
-
enum
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1460
|
+
/** CertificateKeyType enum. */
|
|
1461
|
+
enum CertificateKeyType {
|
|
1462
|
+
RSA_2048 = 0,
|
|
1463
|
+
RSA_3072 = 1,
|
|
1464
|
+
ECC_SECP256R1 = 2,
|
|
1465
|
+
ECC_SECP384R1 = 3,
|
|
1466
|
+
ECC_SECP521R1 = 4,
|
|
1661
1467
|
}
|
|
1662
1468
|
|
|
1663
|
-
/**
|
|
1664
|
-
enum
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
ECC_SECP521R1 = 4
|
|
1469
|
+
/** AnalogOutputCapabilities enum. */
|
|
1470
|
+
enum AnalogOutputCapabilities {
|
|
1471
|
+
ANALOG_OUTPUT_UNKNOWN = 0,
|
|
1472
|
+
ANALOG_OUTPUT_NONE = 1,
|
|
1473
|
+
ANALOG_OUTPUT_SUPPORTED = 2,
|
|
1474
|
+
ANALOG_OUTPUT_SUPPORTS_CGMS_A = 3,
|
|
1670
1475
|
}
|
|
1476
|
+
}
|
|
1671
1477
|
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
publicKey?: (Uint8Array|null);
|
|
1478
|
+
/** Properties of a ClientCredentials. */
|
|
1479
|
+
interface IClientCredentials {
|
|
1480
|
+
/** ClientCredentials type */
|
|
1481
|
+
type?: ClientIdentification.TokenType | null;
|
|
1677
1482
|
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
/** Represents an EncryptionKey. */
|
|
1683
|
-
class EncryptionKey implements IEncryptionKey {
|
|
1684
|
-
|
|
1685
|
-
/**
|
|
1686
|
-
* Constructs a new EncryptionKey.
|
|
1687
|
-
* @param [p] Properties to set
|
|
1688
|
-
*/
|
|
1689
|
-
constructor(p?: DrmCertificate.IEncryptionKey);
|
|
1690
|
-
|
|
1691
|
-
/** EncryptionKey publicKey. */
|
|
1692
|
-
public publicKey: Uint8Array;
|
|
1693
|
-
|
|
1694
|
-
/** EncryptionKey algorithm. */
|
|
1695
|
-
public algorithm: DrmCertificate.Algorithm;
|
|
1696
|
-
|
|
1697
|
-
/**
|
|
1698
|
-
* Creates a new EncryptionKey instance using the specified properties.
|
|
1699
|
-
* @param [properties] Properties to set
|
|
1700
|
-
* @returns EncryptionKey instance
|
|
1701
|
-
*/
|
|
1702
|
-
public static create(properties?: DrmCertificate.IEncryptionKey): DrmCertificate.EncryptionKey;
|
|
1703
|
-
|
|
1704
|
-
/**
|
|
1705
|
-
* Encodes the specified EncryptionKey message. Does not implicitly {@link DrmCertificate.EncryptionKey.verify|verify} messages.
|
|
1706
|
-
* @param m EncryptionKey message or plain object to encode
|
|
1707
|
-
* @param [w] Writer to encode to
|
|
1708
|
-
* @returns Writer
|
|
1709
|
-
*/
|
|
1710
|
-
public static encode(m: DrmCertificate.IEncryptionKey, w?: $protobuf.Writer): $protobuf.Writer;
|
|
1711
|
-
|
|
1712
|
-
/**
|
|
1713
|
-
* Encodes the specified EncryptionKey message, length delimited. Does not implicitly {@link DrmCertificate.EncryptionKey.verify|verify} messages.
|
|
1714
|
-
* @param message EncryptionKey message or plain object to encode
|
|
1715
|
-
* @param [writer] Writer to encode to
|
|
1716
|
-
* @returns Writer
|
|
1717
|
-
*/
|
|
1718
|
-
public static encodeDelimited(message: DrmCertificate.IEncryptionKey, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1719
|
-
|
|
1720
|
-
/**
|
|
1721
|
-
* Decodes an EncryptionKey message from the specified reader or buffer.
|
|
1722
|
-
* @param r Reader or buffer to decode from
|
|
1723
|
-
* @param [l] Message length if known beforehand
|
|
1724
|
-
* @returns EncryptionKey
|
|
1725
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1726
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1727
|
-
*/
|
|
1728
|
-
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DrmCertificate.EncryptionKey;
|
|
1729
|
-
|
|
1730
|
-
/**
|
|
1731
|
-
* Decodes an EncryptionKey message from the specified reader or buffer, length delimited.
|
|
1732
|
-
* @param reader Reader or buffer to decode from
|
|
1733
|
-
* @returns EncryptionKey
|
|
1734
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1735
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1736
|
-
*/
|
|
1737
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DrmCertificate.EncryptionKey;
|
|
1738
|
-
|
|
1739
|
-
/**
|
|
1740
|
-
* Creates an EncryptionKey message from a plain object. Also converts values to their respective internal types.
|
|
1741
|
-
* @param d Plain object
|
|
1742
|
-
* @returns EncryptionKey
|
|
1743
|
-
*/
|
|
1744
|
-
public static fromObject(d: { [k: string]: any }): DrmCertificate.EncryptionKey;
|
|
1745
|
-
|
|
1746
|
-
/**
|
|
1747
|
-
* Creates a plain object from an EncryptionKey message. Also converts values to other types if specified.
|
|
1748
|
-
* @param m EncryptionKey
|
|
1749
|
-
* @param [o] Conversion options
|
|
1750
|
-
* @returns Plain object
|
|
1751
|
-
*/
|
|
1752
|
-
public static toObject(m: DrmCertificate.EncryptionKey, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1753
|
-
|
|
1754
|
-
/**
|
|
1755
|
-
* Converts this EncryptionKey to JSON.
|
|
1756
|
-
* @returns JSON object
|
|
1757
|
-
*/
|
|
1758
|
-
public toJSON(): { [k: string]: any };
|
|
1759
|
-
|
|
1760
|
-
/**
|
|
1761
|
-
* Gets the default type url for EncryptionKey
|
|
1762
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1763
|
-
* @returns The default type url
|
|
1764
|
-
*/
|
|
1765
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1766
|
-
}
|
|
1767
|
-
}
|
|
1768
|
-
|
|
1769
|
-
/** Represents a SignedDrmCertificate. */
|
|
1770
|
-
declare class SignedDrmCertificate implements ISignedDrmCertificate {
|
|
1483
|
+
/** ClientCredentials token */
|
|
1484
|
+
token?: Uint8Array | null;
|
|
1485
|
+
}
|
|
1771
1486
|
|
|
1487
|
+
/** Represents a ClientCredentials. */
|
|
1488
|
+
class ClientCredentials implements IClientCredentials {
|
|
1772
1489
|
/**
|
|
1773
|
-
* Constructs a new
|
|
1490
|
+
* Constructs a new ClientCredentials.
|
|
1774
1491
|
* @param [p] Properties to set
|
|
1775
1492
|
*/
|
|
1776
|
-
constructor(p?:
|
|
1493
|
+
constructor(p?: ClientIdentification.IClientCredentials);
|
|
1777
1494
|
|
|
1778
|
-
/**
|
|
1779
|
-
public
|
|
1780
|
-
|
|
1781
|
-
/** SignedDrmCertificate signature. */
|
|
1782
|
-
public signature: Uint8Array;
|
|
1783
|
-
|
|
1784
|
-
/** SignedDrmCertificate signer. */
|
|
1785
|
-
public signer?: (ISignedDrmCertificate|null);
|
|
1495
|
+
/** ClientCredentials type. */
|
|
1496
|
+
public type: ClientIdentification.TokenType;
|
|
1786
1497
|
|
|
1787
|
-
/**
|
|
1788
|
-
public
|
|
1498
|
+
/** ClientCredentials token. */
|
|
1499
|
+
public token: Uint8Array;
|
|
1789
1500
|
|
|
1790
1501
|
/**
|
|
1791
|
-
* Creates a new
|
|
1502
|
+
* Creates a new ClientCredentials instance using the specified properties.
|
|
1792
1503
|
* @param [properties] Properties to set
|
|
1793
|
-
* @returns
|
|
1504
|
+
* @returns ClientCredentials instance
|
|
1794
1505
|
*/
|
|
1795
|
-
public static create(
|
|
1506
|
+
public static create(
|
|
1507
|
+
properties?: ClientIdentification.IClientCredentials,
|
|
1508
|
+
): ClientIdentification.ClientCredentials;
|
|
1796
1509
|
|
|
1797
1510
|
/**
|
|
1798
|
-
* Encodes the specified
|
|
1799
|
-
* @param m
|
|
1511
|
+
* Encodes the specified ClientCredentials message. Does not implicitly {@link ClientIdentification.ClientCredentials.verify|verify} messages.
|
|
1512
|
+
* @param m ClientCredentials message or plain object to encode
|
|
1800
1513
|
* @param [w] Writer to encode to
|
|
1801
1514
|
* @returns Writer
|
|
1802
1515
|
*/
|
|
1803
|
-
public static encode(
|
|
1516
|
+
public static encode(
|
|
1517
|
+
m: ClientIdentification.IClientCredentials,
|
|
1518
|
+
w?: $protobuf.Writer,
|
|
1519
|
+
): $protobuf.Writer;
|
|
1804
1520
|
|
|
1805
1521
|
/**
|
|
1806
|
-
* Encodes the specified
|
|
1807
|
-
* @param message
|
|
1522
|
+
* Encodes the specified ClientCredentials message, length delimited. Does not implicitly {@link ClientIdentification.ClientCredentials.verify|verify} messages.
|
|
1523
|
+
* @param message ClientCredentials message or plain object to encode
|
|
1808
1524
|
* @param [writer] Writer to encode to
|
|
1809
1525
|
* @returns Writer
|
|
1810
1526
|
*/
|
|
1811
|
-
public static encodeDelimited(
|
|
1527
|
+
public static encodeDelimited(
|
|
1528
|
+
message: ClientIdentification.IClientCredentials,
|
|
1529
|
+
writer?: $protobuf.Writer,
|
|
1530
|
+
): $protobuf.Writer;
|
|
1812
1531
|
|
|
1813
1532
|
/**
|
|
1814
|
-
* Decodes a
|
|
1533
|
+
* Decodes a ClientCredentials message from the specified reader or buffer.
|
|
1815
1534
|
* @param r Reader or buffer to decode from
|
|
1816
1535
|
* @param [l] Message length if known beforehand
|
|
1817
|
-
* @returns
|
|
1536
|
+
* @returns ClientCredentials
|
|
1818
1537
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1819
1538
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1820
1539
|
*/
|
|
1821
|
-
public static decode(
|
|
1540
|
+
public static decode(
|
|
1541
|
+
r: $protobuf.Reader | Uint8Array,
|
|
1542
|
+
l?: number,
|
|
1543
|
+
): ClientIdentification.ClientCredentials;
|
|
1822
1544
|
|
|
1823
1545
|
/**
|
|
1824
|
-
* Decodes a
|
|
1546
|
+
* Decodes a ClientCredentials message from the specified reader or buffer, length delimited.
|
|
1825
1547
|
* @param reader Reader or buffer to decode from
|
|
1826
|
-
* @returns
|
|
1548
|
+
* @returns ClientCredentials
|
|
1827
1549
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1828
1550
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1829
1551
|
*/
|
|
1830
|
-
public static decodeDelimited(
|
|
1552
|
+
public static decodeDelimited(
|
|
1553
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
1554
|
+
): ClientIdentification.ClientCredentials;
|
|
1831
1555
|
|
|
1832
1556
|
/**
|
|
1833
|
-
* Creates a
|
|
1557
|
+
* Creates a ClientCredentials message from a plain object. Also converts values to their respective internal types.
|
|
1834
1558
|
* @param d Plain object
|
|
1835
|
-
* @returns
|
|
1559
|
+
* @returns ClientCredentials
|
|
1836
1560
|
*/
|
|
1837
|
-
public static fromObject(d: {
|
|
1561
|
+
public static fromObject(d: {
|
|
1562
|
+
[k: string]: any;
|
|
1563
|
+
}): ClientIdentification.ClientCredentials;
|
|
1838
1564
|
|
|
1839
1565
|
/**
|
|
1840
|
-
* Creates a plain object from a
|
|
1841
|
-
* @param m
|
|
1566
|
+
* Creates a plain object from a ClientCredentials message. Also converts values to other types if specified.
|
|
1567
|
+
* @param m ClientCredentials
|
|
1842
1568
|
* @param [o] Conversion options
|
|
1843
1569
|
* @returns Plain object
|
|
1844
1570
|
*/
|
|
1845
|
-
public static toObject(
|
|
1571
|
+
public static toObject(
|
|
1572
|
+
m: ClientIdentification.ClientCredentials,
|
|
1573
|
+
o?: $protobuf.IConversionOptions,
|
|
1574
|
+
): { [k: string]: any };
|
|
1846
1575
|
|
|
1847
1576
|
/**
|
|
1848
|
-
* Converts this
|
|
1577
|
+
* Converts this ClientCredentials to JSON.
|
|
1849
1578
|
* @returns JSON object
|
|
1850
1579
|
*/
|
|
1851
1580
|
public toJSON(): { [k: string]: any };
|
|
1852
1581
|
|
|
1853
1582
|
/**
|
|
1854
|
-
* Gets the default type url for
|
|
1583
|
+
* Gets the default type url for ClientCredentials
|
|
1855
1584
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1856
1585
|
* @returns The default type url
|
|
1857
1586
|
*/
|
|
1858
1587
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1588
|
+
}
|
|
1859
1589
|
}
|
|
1860
1590
|
|
|
1861
|
-
/** Represents
|
|
1862
|
-
declare class
|
|
1591
|
+
/** Represents an EncryptedClientIdentification. */
|
|
1592
|
+
declare class EncryptedClientIdentification
|
|
1593
|
+
implements IEncryptedClientIdentification
|
|
1594
|
+
{
|
|
1595
|
+
/**
|
|
1596
|
+
* Constructs a new EncryptedClientIdentification.
|
|
1597
|
+
* @param [p] Properties to set
|
|
1598
|
+
*/
|
|
1599
|
+
constructor(p?: IEncryptedClientIdentification);
|
|
1600
|
+
|
|
1601
|
+
/** EncryptedClientIdentification providerId. */
|
|
1602
|
+
public providerId: string;
|
|
1603
|
+
|
|
1604
|
+
/** EncryptedClientIdentification serviceCertificateSerialNumber. */
|
|
1605
|
+
public serviceCertificateSerialNumber: Uint8Array;
|
|
1606
|
+
|
|
1607
|
+
/** EncryptedClientIdentification encryptedClientId. */
|
|
1608
|
+
public encryptedClientId: Uint8Array;
|
|
1609
|
+
|
|
1610
|
+
/** EncryptedClientIdentification encryptedClientIdIv. */
|
|
1611
|
+
public encryptedClientIdIv: Uint8Array;
|
|
1612
|
+
|
|
1613
|
+
/** EncryptedClientIdentification encryptedPrivacyKey. */
|
|
1614
|
+
public encryptedPrivacyKey: Uint8Array;
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* Creates a new EncryptedClientIdentification instance using the specified properties.
|
|
1618
|
+
* @param [properties] Properties to set
|
|
1619
|
+
* @returns EncryptedClientIdentification instance
|
|
1620
|
+
*/
|
|
1621
|
+
public static create(
|
|
1622
|
+
properties?: IEncryptedClientIdentification,
|
|
1623
|
+
): EncryptedClientIdentification;
|
|
1624
|
+
|
|
1625
|
+
/**
|
|
1626
|
+
* Encodes the specified EncryptedClientIdentification message. Does not implicitly {@link EncryptedClientIdentification.verify|verify} messages.
|
|
1627
|
+
* @param m EncryptedClientIdentification message or plain object to encode
|
|
1628
|
+
* @param [w] Writer to encode to
|
|
1629
|
+
* @returns Writer
|
|
1630
|
+
*/
|
|
1631
|
+
public static encode(
|
|
1632
|
+
m: IEncryptedClientIdentification,
|
|
1633
|
+
w?: $protobuf.Writer,
|
|
1634
|
+
): $protobuf.Writer;
|
|
1635
|
+
|
|
1636
|
+
/**
|
|
1637
|
+
* Encodes the specified EncryptedClientIdentification message, length delimited. Does not implicitly {@link EncryptedClientIdentification.verify|verify} messages.
|
|
1638
|
+
* @param message EncryptedClientIdentification message or plain object to encode
|
|
1639
|
+
* @param [writer] Writer to encode to
|
|
1640
|
+
* @returns Writer
|
|
1641
|
+
*/
|
|
1642
|
+
public static encodeDelimited(
|
|
1643
|
+
message: IEncryptedClientIdentification,
|
|
1644
|
+
writer?: $protobuf.Writer,
|
|
1645
|
+
): $protobuf.Writer;
|
|
1646
|
+
|
|
1647
|
+
/**
|
|
1648
|
+
* Decodes an EncryptedClientIdentification message from the specified reader or buffer.
|
|
1649
|
+
* @param r Reader or buffer to decode from
|
|
1650
|
+
* @param [l] Message length if known beforehand
|
|
1651
|
+
* @returns EncryptedClientIdentification
|
|
1652
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1653
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1654
|
+
*/
|
|
1655
|
+
public static decode(
|
|
1656
|
+
r: $protobuf.Reader | Uint8Array,
|
|
1657
|
+
l?: number,
|
|
1658
|
+
): EncryptedClientIdentification;
|
|
1659
|
+
|
|
1660
|
+
/**
|
|
1661
|
+
* Decodes an EncryptedClientIdentification message from the specified reader or buffer, length delimited.
|
|
1662
|
+
* @param reader Reader or buffer to decode from
|
|
1663
|
+
* @returns EncryptedClientIdentification
|
|
1664
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1665
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1666
|
+
*/
|
|
1667
|
+
public static decodeDelimited(
|
|
1668
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
1669
|
+
): EncryptedClientIdentification;
|
|
1670
|
+
|
|
1671
|
+
/**
|
|
1672
|
+
* Creates an EncryptedClientIdentification message from a plain object. Also converts values to their respective internal types.
|
|
1673
|
+
* @param d Plain object
|
|
1674
|
+
* @returns EncryptedClientIdentification
|
|
1675
|
+
*/
|
|
1676
|
+
public static fromObject(d: {
|
|
1677
|
+
[k: string]: any;
|
|
1678
|
+
}): EncryptedClientIdentification;
|
|
1679
|
+
|
|
1680
|
+
/**
|
|
1681
|
+
* Creates a plain object from an EncryptedClientIdentification message. Also converts values to other types if specified.
|
|
1682
|
+
* @param m EncryptedClientIdentification
|
|
1683
|
+
* @param [o] Conversion options
|
|
1684
|
+
* @returns Plain object
|
|
1685
|
+
*/
|
|
1686
|
+
public static toObject(
|
|
1687
|
+
m: EncryptedClientIdentification,
|
|
1688
|
+
o?: $protobuf.IConversionOptions,
|
|
1689
|
+
): { [k: string]: any };
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* Converts this EncryptedClientIdentification to JSON.
|
|
1693
|
+
* @returns JSON object
|
|
1694
|
+
*/
|
|
1695
|
+
public toJSON(): { [k: string]: any };
|
|
1696
|
+
|
|
1697
|
+
/**
|
|
1698
|
+
* Gets the default type url for EncryptedClientIdentification
|
|
1699
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1700
|
+
* @returns The default type url
|
|
1701
|
+
*/
|
|
1702
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
/** Represents a DrmCertificate. */
|
|
1706
|
+
declare class DrmCertificate implements IDrmCertificate {
|
|
1707
|
+
/**
|
|
1708
|
+
* Constructs a new DrmCertificate.
|
|
1709
|
+
* @param [p] Properties to set
|
|
1710
|
+
*/
|
|
1711
|
+
constructor(p?: IDrmCertificate);
|
|
1712
|
+
|
|
1713
|
+
/** DrmCertificate type. */
|
|
1714
|
+
public type: DrmCertificate.Type;
|
|
1715
|
+
|
|
1716
|
+
/** DrmCertificate serialNumber. */
|
|
1717
|
+
public serialNumber: Uint8Array;
|
|
1718
|
+
|
|
1719
|
+
/** DrmCertificate creationTimeSeconds. */
|
|
1720
|
+
public creationTimeSeconds: number;
|
|
1721
|
+
|
|
1722
|
+
/** DrmCertificate expirationTimeSeconds. */
|
|
1723
|
+
public expirationTimeSeconds: number;
|
|
1724
|
+
|
|
1725
|
+
/** DrmCertificate publicKey. */
|
|
1726
|
+
public publicKey: Uint8Array;
|
|
1727
|
+
|
|
1728
|
+
/** DrmCertificate systemId. */
|
|
1729
|
+
public systemId: number;
|
|
1730
|
+
|
|
1731
|
+
/** DrmCertificate testDeviceDeprecated. */
|
|
1732
|
+
public testDeviceDeprecated: boolean;
|
|
1733
|
+
|
|
1734
|
+
/** DrmCertificate providerId. */
|
|
1735
|
+
public providerId: string;
|
|
1736
|
+
|
|
1737
|
+
/** DrmCertificate serviceTypes. */
|
|
1738
|
+
public serviceTypes: DrmCertificate.ServiceType[];
|
|
1739
|
+
|
|
1740
|
+
/** DrmCertificate algorithm. */
|
|
1741
|
+
public algorithm: DrmCertificate.Algorithm;
|
|
1742
|
+
|
|
1743
|
+
/** DrmCertificate rotId. */
|
|
1744
|
+
public rotId: Uint8Array;
|
|
1745
|
+
|
|
1746
|
+
/** DrmCertificate encryptionKey. */
|
|
1747
|
+
public encryptionKey?: DrmCertificate.IEncryptionKey | null;
|
|
1748
|
+
|
|
1749
|
+
/**
|
|
1750
|
+
* Creates a new DrmCertificate instance using the specified properties.
|
|
1751
|
+
* @param [properties] Properties to set
|
|
1752
|
+
* @returns DrmCertificate instance
|
|
1753
|
+
*/
|
|
1754
|
+
public static create(properties?: IDrmCertificate): DrmCertificate;
|
|
1755
|
+
|
|
1756
|
+
/**
|
|
1757
|
+
* Encodes the specified DrmCertificate message. Does not implicitly {@link DrmCertificate.verify|verify} messages.
|
|
1758
|
+
* @param m DrmCertificate message or plain object to encode
|
|
1759
|
+
* @param [w] Writer to encode to
|
|
1760
|
+
* @returns Writer
|
|
1761
|
+
*/
|
|
1762
|
+
public static encode(
|
|
1763
|
+
m: IDrmCertificate,
|
|
1764
|
+
w?: $protobuf.Writer,
|
|
1765
|
+
): $protobuf.Writer;
|
|
1766
|
+
|
|
1767
|
+
/**
|
|
1768
|
+
* Encodes the specified DrmCertificate message, length delimited. Does not implicitly {@link DrmCertificate.verify|verify} messages.
|
|
1769
|
+
* @param message DrmCertificate message or plain object to encode
|
|
1770
|
+
* @param [writer] Writer to encode to
|
|
1771
|
+
* @returns Writer
|
|
1772
|
+
*/
|
|
1773
|
+
public static encodeDelimited(
|
|
1774
|
+
message: IDrmCertificate,
|
|
1775
|
+
writer?: $protobuf.Writer,
|
|
1776
|
+
): $protobuf.Writer;
|
|
1777
|
+
|
|
1778
|
+
/**
|
|
1779
|
+
* Decodes a DrmCertificate message from the specified reader or buffer.
|
|
1780
|
+
* @param r Reader or buffer to decode from
|
|
1781
|
+
* @param [l] Message length if known beforehand
|
|
1782
|
+
* @returns DrmCertificate
|
|
1783
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1784
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1785
|
+
*/
|
|
1786
|
+
public static decode(
|
|
1787
|
+
r: $protobuf.Reader | Uint8Array,
|
|
1788
|
+
l?: number,
|
|
1789
|
+
): DrmCertificate;
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* Decodes a DrmCertificate message from the specified reader or buffer, length delimited.
|
|
1793
|
+
* @param reader Reader or buffer to decode from
|
|
1794
|
+
* @returns DrmCertificate
|
|
1795
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1796
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1797
|
+
*/
|
|
1798
|
+
public static decodeDelimited(
|
|
1799
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
1800
|
+
): DrmCertificate;
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* Creates a DrmCertificate message from a plain object. Also converts values to their respective internal types.
|
|
1804
|
+
* @param d Plain object
|
|
1805
|
+
* @returns DrmCertificate
|
|
1806
|
+
*/
|
|
1807
|
+
public static fromObject(d: { [k: string]: any }): DrmCertificate;
|
|
1808
|
+
|
|
1809
|
+
/**
|
|
1810
|
+
* Creates a plain object from a DrmCertificate message. Also converts values to other types if specified.
|
|
1811
|
+
* @param m DrmCertificate
|
|
1812
|
+
* @param [o] Conversion options
|
|
1813
|
+
* @returns Plain object
|
|
1814
|
+
*/
|
|
1815
|
+
public static toObject(
|
|
1816
|
+
m: DrmCertificate,
|
|
1817
|
+
o?: $protobuf.IConversionOptions,
|
|
1818
|
+
): { [k: string]: any };
|
|
1819
|
+
|
|
1820
|
+
/**
|
|
1821
|
+
* Converts this DrmCertificate to JSON.
|
|
1822
|
+
* @returns JSON object
|
|
1823
|
+
*/
|
|
1824
|
+
public toJSON(): { [k: string]: any };
|
|
1825
|
+
|
|
1826
|
+
/**
|
|
1827
|
+
* Gets the default type url for DrmCertificate
|
|
1828
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1829
|
+
* @returns The default type url
|
|
1830
|
+
*/
|
|
1831
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1832
|
+
}
|
|
1863
1833
|
|
|
1834
|
+
declare namespace DrmCertificate {
|
|
1835
|
+
/** Type enum. */
|
|
1836
|
+
enum Type {
|
|
1837
|
+
ROOT = 0,
|
|
1838
|
+
DEVICE_MODEL = 1,
|
|
1839
|
+
DEVICE = 2,
|
|
1840
|
+
SERVICE = 3,
|
|
1841
|
+
PROVISIONER = 4,
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
/** ServiceType enum. */
|
|
1845
|
+
enum ServiceType {
|
|
1846
|
+
UNKNOWN_SERVICE_TYPE = 0,
|
|
1847
|
+
LICENSE_SERVER_SDK = 1,
|
|
1848
|
+
LICENSE_SERVER_PROXY_SDK = 2,
|
|
1849
|
+
PROVISIONING_SDK = 3,
|
|
1850
|
+
CAS_PROXY_SDK = 4,
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
/** Algorithm enum. */
|
|
1854
|
+
enum Algorithm {
|
|
1855
|
+
UNKNOWN_ALGORITHM = 0,
|
|
1856
|
+
RSA = 1,
|
|
1857
|
+
ECC_SECP256R1 = 2,
|
|
1858
|
+
ECC_SECP384R1 = 3,
|
|
1859
|
+
ECC_SECP521R1 = 4,
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
/** Properties of an EncryptionKey. */
|
|
1863
|
+
interface IEncryptionKey {
|
|
1864
|
+
/** EncryptionKey publicKey */
|
|
1865
|
+
publicKey?: Uint8Array | null;
|
|
1866
|
+
|
|
1867
|
+
/** EncryptionKey algorithm */
|
|
1868
|
+
algorithm?: DrmCertificate.Algorithm | null;
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
/** Represents an EncryptionKey. */
|
|
1872
|
+
class EncryptionKey implements IEncryptionKey {
|
|
1864
1873
|
/**
|
|
1865
|
-
* Constructs a new
|
|
1874
|
+
* Constructs a new EncryptionKey.
|
|
1866
1875
|
* @param [p] Properties to set
|
|
1867
1876
|
*/
|
|
1868
|
-
constructor(p?:
|
|
1877
|
+
constructor(p?: DrmCertificate.IEncryptionKey);
|
|
1869
1878
|
|
|
1870
|
-
/**
|
|
1871
|
-
public
|
|
1879
|
+
/** EncryptionKey publicKey. */
|
|
1880
|
+
public publicKey: Uint8Array;
|
|
1872
1881
|
|
|
1873
|
-
/**
|
|
1874
|
-
public
|
|
1882
|
+
/** EncryptionKey algorithm. */
|
|
1883
|
+
public algorithm: DrmCertificate.Algorithm;
|
|
1875
1884
|
|
|
1876
1885
|
/**
|
|
1877
|
-
* Creates a new
|
|
1886
|
+
* Creates a new EncryptionKey instance using the specified properties.
|
|
1878
1887
|
* @param [properties] Properties to set
|
|
1879
|
-
* @returns
|
|
1888
|
+
* @returns EncryptionKey instance
|
|
1880
1889
|
*/
|
|
1881
|
-
public static create(
|
|
1890
|
+
public static create(
|
|
1891
|
+
properties?: DrmCertificate.IEncryptionKey,
|
|
1892
|
+
): DrmCertificate.EncryptionKey;
|
|
1882
1893
|
|
|
1883
1894
|
/**
|
|
1884
|
-
* Encodes the specified
|
|
1885
|
-
* @param m
|
|
1895
|
+
* Encodes the specified EncryptionKey message. Does not implicitly {@link DrmCertificate.EncryptionKey.verify|verify} messages.
|
|
1896
|
+
* @param m EncryptionKey message or plain object to encode
|
|
1886
1897
|
* @param [w] Writer to encode to
|
|
1887
1898
|
* @returns Writer
|
|
1888
1899
|
*/
|
|
1889
|
-
public static encode(
|
|
1900
|
+
public static encode(
|
|
1901
|
+
m: DrmCertificate.IEncryptionKey,
|
|
1902
|
+
w?: $protobuf.Writer,
|
|
1903
|
+
): $protobuf.Writer;
|
|
1890
1904
|
|
|
1891
1905
|
/**
|
|
1892
|
-
* Encodes the specified
|
|
1893
|
-
* @param message
|
|
1906
|
+
* Encodes the specified EncryptionKey message, length delimited. Does not implicitly {@link DrmCertificate.EncryptionKey.verify|verify} messages.
|
|
1907
|
+
* @param message EncryptionKey message or plain object to encode
|
|
1894
1908
|
* @param [writer] Writer to encode to
|
|
1895
1909
|
* @returns Writer
|
|
1896
1910
|
*/
|
|
1897
|
-
public static encodeDelimited(
|
|
1911
|
+
public static encodeDelimited(
|
|
1912
|
+
message: DrmCertificate.IEncryptionKey,
|
|
1913
|
+
writer?: $protobuf.Writer,
|
|
1914
|
+
): $protobuf.Writer;
|
|
1898
1915
|
|
|
1899
1916
|
/**
|
|
1900
|
-
* Decodes
|
|
1917
|
+
* Decodes an EncryptionKey message from the specified reader or buffer.
|
|
1901
1918
|
* @param r Reader or buffer to decode from
|
|
1902
1919
|
* @param [l] Message length if known beforehand
|
|
1903
|
-
* @returns
|
|
1920
|
+
* @returns EncryptionKey
|
|
1904
1921
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1905
1922
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1906
1923
|
*/
|
|
1907
|
-
public static decode(
|
|
1924
|
+
public static decode(
|
|
1925
|
+
r: $protobuf.Reader | Uint8Array,
|
|
1926
|
+
l?: number,
|
|
1927
|
+
): DrmCertificate.EncryptionKey;
|
|
1908
1928
|
|
|
1909
1929
|
/**
|
|
1910
|
-
* Decodes
|
|
1930
|
+
* Decodes an EncryptionKey message from the specified reader or buffer, length delimited.
|
|
1911
1931
|
* @param reader Reader or buffer to decode from
|
|
1912
|
-
* @returns
|
|
1932
|
+
* @returns EncryptionKey
|
|
1913
1933
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1914
1934
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1915
1935
|
*/
|
|
1916
|
-
public static decodeDelimited(
|
|
1936
|
+
public static decodeDelimited(
|
|
1937
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
1938
|
+
): DrmCertificate.EncryptionKey;
|
|
1917
1939
|
|
|
1918
1940
|
/**
|
|
1919
|
-
* Creates
|
|
1941
|
+
* Creates an EncryptionKey message from a plain object. Also converts values to their respective internal types.
|
|
1920
1942
|
* @param d Plain object
|
|
1921
|
-
* @returns
|
|
1943
|
+
* @returns EncryptionKey
|
|
1922
1944
|
*/
|
|
1923
|
-
public static fromObject(d: {
|
|
1945
|
+
public static fromObject(d: {
|
|
1946
|
+
[k: string]: any;
|
|
1947
|
+
}): DrmCertificate.EncryptionKey;
|
|
1924
1948
|
|
|
1925
1949
|
/**
|
|
1926
|
-
* Creates a plain object from
|
|
1927
|
-
* @param m
|
|
1950
|
+
* Creates a plain object from an EncryptionKey message. Also converts values to other types if specified.
|
|
1951
|
+
* @param m EncryptionKey
|
|
1928
1952
|
* @param [o] Conversion options
|
|
1929
1953
|
* @returns Plain object
|
|
1930
1954
|
*/
|
|
1931
|
-
public static toObject(
|
|
1955
|
+
public static toObject(
|
|
1956
|
+
m: DrmCertificate.EncryptionKey,
|
|
1957
|
+
o?: $protobuf.IConversionOptions,
|
|
1958
|
+
): { [k: string]: any };
|
|
1932
1959
|
|
|
1933
1960
|
/**
|
|
1934
|
-
* Converts this
|
|
1961
|
+
* Converts this EncryptionKey to JSON.
|
|
1935
1962
|
* @returns JSON object
|
|
1936
1963
|
*/
|
|
1937
1964
|
public toJSON(): { [k: string]: any };
|
|
1938
1965
|
|
|
1939
1966
|
/**
|
|
1940
|
-
* Gets the default type url for
|
|
1967
|
+
* Gets the default type url for EncryptionKey
|
|
1941
1968
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1942
1969
|
* @returns The default type url
|
|
1943
1970
|
*/
|
|
1944
1971
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
/** Represents a SignedDrmCertificate. */
|
|
1976
|
+
declare class SignedDrmCertificate implements ISignedDrmCertificate {
|
|
1977
|
+
/**
|
|
1978
|
+
* Constructs a new SignedDrmCertificate.
|
|
1979
|
+
* @param [p] Properties to set
|
|
1980
|
+
*/
|
|
1981
|
+
constructor(p?: ISignedDrmCertificate);
|
|
1982
|
+
|
|
1983
|
+
/** SignedDrmCertificate drmCertificate. */
|
|
1984
|
+
public drmCertificate: Uint8Array;
|
|
1985
|
+
|
|
1986
|
+
/** SignedDrmCertificate signature. */
|
|
1987
|
+
public signature: Uint8Array;
|
|
1988
|
+
|
|
1989
|
+
/** SignedDrmCertificate signer. */
|
|
1990
|
+
public signer?: ISignedDrmCertificate | null;
|
|
1991
|
+
|
|
1992
|
+
/** SignedDrmCertificate hashAlgorithm. */
|
|
1993
|
+
public hashAlgorithm: HashAlgorithmProto;
|
|
1994
|
+
|
|
1995
|
+
/**
|
|
1996
|
+
* Creates a new SignedDrmCertificate instance using the specified properties.
|
|
1997
|
+
* @param [properties] Properties to set
|
|
1998
|
+
* @returns SignedDrmCertificate instance
|
|
1999
|
+
*/
|
|
2000
|
+
public static create(
|
|
2001
|
+
properties?: ISignedDrmCertificate,
|
|
2002
|
+
): SignedDrmCertificate;
|
|
2003
|
+
|
|
2004
|
+
/**
|
|
2005
|
+
* Encodes the specified SignedDrmCertificate message. Does not implicitly {@link SignedDrmCertificate.verify|verify} messages.
|
|
2006
|
+
* @param m SignedDrmCertificate message or plain object to encode
|
|
2007
|
+
* @param [w] Writer to encode to
|
|
2008
|
+
* @returns Writer
|
|
2009
|
+
*/
|
|
2010
|
+
public static encode(
|
|
2011
|
+
m: ISignedDrmCertificate,
|
|
2012
|
+
w?: $protobuf.Writer,
|
|
2013
|
+
): $protobuf.Writer;
|
|
2014
|
+
|
|
2015
|
+
/**
|
|
2016
|
+
* Encodes the specified SignedDrmCertificate message, length delimited. Does not implicitly {@link SignedDrmCertificate.verify|verify} messages.
|
|
2017
|
+
* @param message SignedDrmCertificate message or plain object to encode
|
|
2018
|
+
* @param [writer] Writer to encode to
|
|
2019
|
+
* @returns Writer
|
|
2020
|
+
*/
|
|
2021
|
+
public static encodeDelimited(
|
|
2022
|
+
message: ISignedDrmCertificate,
|
|
2023
|
+
writer?: $protobuf.Writer,
|
|
2024
|
+
): $protobuf.Writer;
|
|
2025
|
+
|
|
2026
|
+
/**
|
|
2027
|
+
* Decodes a SignedDrmCertificate message from the specified reader or buffer.
|
|
2028
|
+
* @param r Reader or buffer to decode from
|
|
2029
|
+
* @param [l] Message length if known beforehand
|
|
2030
|
+
* @returns SignedDrmCertificate
|
|
2031
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2032
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2033
|
+
*/
|
|
2034
|
+
public static decode(
|
|
2035
|
+
r: $protobuf.Reader | Uint8Array,
|
|
2036
|
+
l?: number,
|
|
2037
|
+
): SignedDrmCertificate;
|
|
2038
|
+
|
|
2039
|
+
/**
|
|
2040
|
+
* Decodes a SignedDrmCertificate message from the specified reader or buffer, length delimited.
|
|
2041
|
+
* @param reader Reader or buffer to decode from
|
|
2042
|
+
* @returns SignedDrmCertificate
|
|
2043
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2044
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2045
|
+
*/
|
|
2046
|
+
public static decodeDelimited(
|
|
2047
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
2048
|
+
): SignedDrmCertificate;
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* Creates a SignedDrmCertificate message from a plain object. Also converts values to their respective internal types.
|
|
2052
|
+
* @param d Plain object
|
|
2053
|
+
* @returns SignedDrmCertificate
|
|
2054
|
+
*/
|
|
2055
|
+
public static fromObject(d: { [k: string]: any }): SignedDrmCertificate;
|
|
2056
|
+
|
|
2057
|
+
/**
|
|
2058
|
+
* Creates a plain object from a SignedDrmCertificate message. Also converts values to other types if specified.
|
|
2059
|
+
* @param m SignedDrmCertificate
|
|
2060
|
+
* @param [o] Conversion options
|
|
2061
|
+
* @returns Plain object
|
|
2062
|
+
*/
|
|
2063
|
+
public static toObject(
|
|
2064
|
+
m: SignedDrmCertificate,
|
|
2065
|
+
o?: $protobuf.IConversionOptions,
|
|
2066
|
+
): { [k: string]: any };
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* Converts this SignedDrmCertificate to JSON.
|
|
2070
|
+
* @returns JSON object
|
|
2071
|
+
*/
|
|
2072
|
+
public toJSON(): { [k: string]: any };
|
|
2073
|
+
|
|
2074
|
+
/**
|
|
2075
|
+
* Gets the default type url for SignedDrmCertificate
|
|
2076
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2077
|
+
* @returns The default type url
|
|
2078
|
+
*/
|
|
2079
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
/** Represents a FileHashes. */
|
|
2083
|
+
declare class FileHashes implements IFileHashes {
|
|
2084
|
+
/**
|
|
2085
|
+
* Constructs a new FileHashes.
|
|
2086
|
+
* @param [p] Properties to set
|
|
2087
|
+
*/
|
|
2088
|
+
constructor(p?: IFileHashes);
|
|
2089
|
+
|
|
2090
|
+
/** FileHashes signer. */
|
|
2091
|
+
public signer: Uint8Array;
|
|
2092
|
+
|
|
2093
|
+
/** FileHashes signatures. */
|
|
2094
|
+
public signatures: FileHashes.ISignature[];
|
|
2095
|
+
|
|
2096
|
+
/**
|
|
2097
|
+
* Creates a new FileHashes instance using the specified properties.
|
|
2098
|
+
* @param [properties] Properties to set
|
|
2099
|
+
* @returns FileHashes instance
|
|
2100
|
+
*/
|
|
2101
|
+
public static create(properties?: IFileHashes): FileHashes;
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2104
|
+
* Encodes the specified FileHashes message. Does not implicitly {@link FileHashes.verify|verify} messages.
|
|
2105
|
+
* @param m FileHashes message or plain object to encode
|
|
2106
|
+
* @param [w] Writer to encode to
|
|
2107
|
+
* @returns Writer
|
|
2108
|
+
*/
|
|
2109
|
+
public static encode(m: IFileHashes, w?: $protobuf.Writer): $protobuf.Writer;
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* Encodes the specified FileHashes message, length delimited. Does not implicitly {@link FileHashes.verify|verify} messages.
|
|
2113
|
+
* @param message FileHashes message or plain object to encode
|
|
2114
|
+
* @param [writer] Writer to encode to
|
|
2115
|
+
* @returns Writer
|
|
2116
|
+
*/
|
|
2117
|
+
public static encodeDelimited(
|
|
2118
|
+
message: IFileHashes,
|
|
2119
|
+
writer?: $protobuf.Writer,
|
|
2120
|
+
): $protobuf.Writer;
|
|
2121
|
+
|
|
2122
|
+
/**
|
|
2123
|
+
* Decodes a FileHashes message from the specified reader or buffer.
|
|
2124
|
+
* @param r Reader or buffer to decode from
|
|
2125
|
+
* @param [l] Message length if known beforehand
|
|
2126
|
+
* @returns FileHashes
|
|
2127
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2128
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2129
|
+
*/
|
|
2130
|
+
public static decode(
|
|
2131
|
+
r: $protobuf.Reader | Uint8Array,
|
|
2132
|
+
l?: number,
|
|
2133
|
+
): FileHashes;
|
|
2134
|
+
|
|
2135
|
+
/**
|
|
2136
|
+
* Decodes a FileHashes message from the specified reader or buffer, length delimited.
|
|
2137
|
+
* @param reader Reader or buffer to decode from
|
|
2138
|
+
* @returns FileHashes
|
|
2139
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2140
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2141
|
+
*/
|
|
2142
|
+
public static decodeDelimited(
|
|
2143
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
2144
|
+
): FileHashes;
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* Creates a FileHashes message from a plain object. Also converts values to their respective internal types.
|
|
2148
|
+
* @param d Plain object
|
|
2149
|
+
* @returns FileHashes
|
|
2150
|
+
*/
|
|
2151
|
+
public static fromObject(d: { [k: string]: any }): FileHashes;
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* Creates a plain object from a FileHashes message. Also converts values to other types if specified.
|
|
2155
|
+
* @param m FileHashes
|
|
2156
|
+
* @param [o] Conversion options
|
|
2157
|
+
* @returns Plain object
|
|
2158
|
+
*/
|
|
2159
|
+
public static toObject(
|
|
2160
|
+
m: FileHashes,
|
|
2161
|
+
o?: $protobuf.IConversionOptions,
|
|
2162
|
+
): { [k: string]: any };
|
|
2163
|
+
|
|
2164
|
+
/**
|
|
2165
|
+
* Converts this FileHashes to JSON.
|
|
2166
|
+
* @returns JSON object
|
|
2167
|
+
*/
|
|
2168
|
+
public toJSON(): { [k: string]: any };
|
|
2169
|
+
|
|
2170
|
+
/**
|
|
2171
|
+
* Gets the default type url for FileHashes
|
|
2172
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2173
|
+
* @returns The default type url
|
|
2174
|
+
*/
|
|
2175
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1945
2176
|
}
|
|
1946
2177
|
|
|
1947
2178
|
declare namespace FileHashes {
|
|
2179
|
+
/** Properties of a Signature. */
|
|
2180
|
+
interface ISignature {
|
|
2181
|
+
/** Signature filename */
|
|
2182
|
+
filename?: string | null;
|
|
1948
2183
|
|
|
1949
|
-
/**
|
|
1950
|
-
|
|
2184
|
+
/** Signature testSigning */
|
|
2185
|
+
testSigning?: boolean | null;
|
|
1951
2186
|
|
|
1952
|
-
|
|
1953
|
-
|
|
2187
|
+
/** Signature SHA512Hash */
|
|
2188
|
+
SHA512Hash?: Uint8Array | null;
|
|
1954
2189
|
|
|
1955
|
-
|
|
1956
|
-
|
|
2190
|
+
/** Signature mainExe */
|
|
2191
|
+
mainExe?: boolean | null;
|
|
1957
2192
|
|
|
1958
|
-
|
|
1959
|
-
|
|
2193
|
+
/** Signature signature */
|
|
2194
|
+
signature?: Uint8Array | null;
|
|
2195
|
+
}
|
|
1960
2196
|
|
|
1961
|
-
|
|
1962
|
-
|
|
2197
|
+
/** Represents a Signature. */
|
|
2198
|
+
class Signature implements ISignature {
|
|
2199
|
+
/**
|
|
2200
|
+
* Constructs a new Signature.
|
|
2201
|
+
* @param [p] Properties to set
|
|
2202
|
+
*/
|
|
2203
|
+
constructor(p?: FileHashes.ISignature);
|
|
1963
2204
|
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
}
|
|
2205
|
+
/** Signature filename. */
|
|
2206
|
+
public filename: string;
|
|
1967
2207
|
|
|
1968
|
-
/**
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2208
|
+
/** Signature testSigning. */
|
|
2209
|
+
public testSigning: boolean;
|
|
2210
|
+
|
|
2211
|
+
/** Signature SHA512Hash. */
|
|
2212
|
+
public SHA512Hash: Uint8Array;
|
|
2213
|
+
|
|
2214
|
+
/** Signature mainExe. */
|
|
2215
|
+
public mainExe: boolean;
|
|
2216
|
+
|
|
2217
|
+
/** Signature signature. */
|
|
2218
|
+
public signature: Uint8Array;
|
|
2219
|
+
|
|
2220
|
+
/**
|
|
2221
|
+
* Creates a new Signature instance using the specified properties.
|
|
2222
|
+
* @param [properties] Properties to set
|
|
2223
|
+
* @returns Signature instance
|
|
2224
|
+
*/
|
|
2225
|
+
public static create(
|
|
2226
|
+
properties?: FileHashes.ISignature,
|
|
2227
|
+
): FileHashes.Signature;
|
|
2228
|
+
|
|
2229
|
+
/**
|
|
2230
|
+
* Encodes the specified Signature message. Does not implicitly {@link FileHashes.Signature.verify|verify} messages.
|
|
2231
|
+
* @param m Signature message or plain object to encode
|
|
2232
|
+
* @param [w] Writer to encode to
|
|
2233
|
+
* @returns Writer
|
|
2234
|
+
*/
|
|
2235
|
+
public static encode(
|
|
2236
|
+
m: FileHashes.ISignature,
|
|
2237
|
+
w?: $protobuf.Writer,
|
|
2238
|
+
): $protobuf.Writer;
|
|
2239
|
+
|
|
2240
|
+
/**
|
|
2241
|
+
* Encodes the specified Signature message, length delimited. Does not implicitly {@link FileHashes.Signature.verify|verify} messages.
|
|
2242
|
+
* @param message Signature message or plain object to encode
|
|
2243
|
+
* @param [writer] Writer to encode to
|
|
2244
|
+
* @returns Writer
|
|
2245
|
+
*/
|
|
2246
|
+
public static encodeDelimited(
|
|
2247
|
+
message: FileHashes.ISignature,
|
|
2248
|
+
writer?: $protobuf.Writer,
|
|
2249
|
+
): $protobuf.Writer;
|
|
2250
|
+
|
|
2251
|
+
/**
|
|
2252
|
+
* Decodes a Signature message from the specified reader or buffer.
|
|
2253
|
+
* @param r Reader or buffer to decode from
|
|
2254
|
+
* @param [l] Message length if known beforehand
|
|
2255
|
+
* @returns Signature
|
|
2256
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2257
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2258
|
+
*/
|
|
2259
|
+
public static decode(
|
|
2260
|
+
r: $protobuf.Reader | Uint8Array,
|
|
2261
|
+
l?: number,
|
|
2262
|
+
): FileHashes.Signature;
|
|
2263
|
+
|
|
2264
|
+
/**
|
|
2265
|
+
* Decodes a Signature message from the specified reader or buffer, length delimited.
|
|
2266
|
+
* @param reader Reader or buffer to decode from
|
|
2267
|
+
* @returns Signature
|
|
2268
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2269
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2270
|
+
*/
|
|
2271
|
+
public static decodeDelimited(
|
|
2272
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
2273
|
+
): FileHashes.Signature;
|
|
2274
|
+
|
|
2275
|
+
/**
|
|
2276
|
+
* Creates a Signature message from a plain object. Also converts values to their respective internal types.
|
|
2277
|
+
* @param d Plain object
|
|
2278
|
+
* @returns Signature
|
|
2279
|
+
*/
|
|
2280
|
+
public static fromObject(d: { [k: string]: any }): FileHashes.Signature;
|
|
2281
|
+
|
|
2282
|
+
/**
|
|
2283
|
+
* Creates a plain object from a Signature message. Also converts values to other types if specified.
|
|
2284
|
+
* @param m Signature
|
|
2285
|
+
* @param [o] Conversion options
|
|
2286
|
+
* @returns Plain object
|
|
2287
|
+
*/
|
|
2288
|
+
public static toObject(
|
|
2289
|
+
m: FileHashes.Signature,
|
|
2290
|
+
o?: $protobuf.IConversionOptions,
|
|
2291
|
+
): { [k: string]: any };
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
* Converts this Signature to JSON.
|
|
2295
|
+
* @returns JSON object
|
|
2296
|
+
*/
|
|
2297
|
+
public toJSON(): { [k: string]: any };
|
|
2298
|
+
|
|
2299
|
+
/**
|
|
2300
|
+
* Gets the default type url for Signature
|
|
2301
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2302
|
+
* @returns The default type url
|
|
2303
|
+
*/
|
|
2304
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2305
|
+
}
|
|
2062
2306
|
}
|
|
2063
2307
|
|
|
2064
2308
|
declare class Key {
|
|
@@ -2151,6 +2395,30 @@ declare const convert: {
|
|
|
2151
2395
|
};
|
|
2152
2396
|
};
|
|
2153
2397
|
|
|
2398
|
+
declare const fromText: (data: string) => {
|
|
2399
|
+
toBase64: () => string;
|
|
2400
|
+
toHex: () => string;
|
|
2401
|
+
toBuffer: () => Uint8Array;
|
|
2402
|
+
};
|
|
2403
|
+
declare const fromBinary: (data: string) => {
|
|
2404
|
+
toBuffer: () => Uint8Array;
|
|
2405
|
+
};
|
|
2406
|
+
declare const fromBase64: (data: string) => {
|
|
2407
|
+
toBuffer: () => Uint8Array;
|
|
2408
|
+
toText: () => string;
|
|
2409
|
+
};
|
|
2410
|
+
declare const fromBuffer: (data: Uint8Array) => {
|
|
2411
|
+
toBase64: () => string;
|
|
2412
|
+
toHex: () => string;
|
|
2413
|
+
toText: () => string;
|
|
2414
|
+
toBinary: () => string;
|
|
2415
|
+
};
|
|
2416
|
+
declare const fromHex: (data: string) => {
|
|
2417
|
+
toBase64: () => string;
|
|
2418
|
+
toBuffer: () => Uint8Array;
|
|
2419
|
+
toText: () => string;
|
|
2420
|
+
};
|
|
2421
|
+
|
|
2154
2422
|
interface FetchDecryptionKeysParams {
|
|
2155
2423
|
client: Client;
|
|
2156
2424
|
server: string;
|
|
@@ -2166,4 +2434,4 @@ interface FetchDecryptionKeysParams {
|
|
|
2166
2434
|
}
|
|
2167
2435
|
declare const fetchDecryptionKeys: (params: FetchDecryptionKeysParams) => Promise<Key[]>;
|
|
2168
2436
|
|
|
2169
|
-
export { CLIENT_TYPE, Client, type ClientType, Key, SecurityLevel, convert, fetchDecryptionKeys };
|
|
2437
|
+
export { CLIENT_TYPE, Client, type ClientType, Key, SecurityLevel, convert, fetchDecryptionKeys, fromBase64, fromBinary, fromBuffer, fromHex, fromText };
|