@structured-id/proto 0.16.0 → 0.18.0
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/CHANGELOG.md +14 -0
- package/dist/generated/sid/v1/attestation/attestation.client.d.ts +51 -17
- package/dist/generated/sid/v1/attestation/attestation.client.js +50 -12
- package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
- package/dist/generated/sid/v1/attestation/attestation.d.ts +257 -51
- package/dist/generated/sid/v1/attestation/attestation.js +321 -135
- package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
- package/dist/generated/sid/v1/federation/upstream.d.ts +33 -2
- package/dist/generated/sid/v1/federation/upstream.js +41 -1
- package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
- package/dist/generated/sid/v1/ids/ids.d.ts +4 -0
- package/dist/generated/sid/v1/ids/ids.js +2 -0
- package/dist/generated/sid/v1/ids/ids.js.map +1 -1
- package/package.json +2 -2
|
@@ -5,160 +5,320 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
|
5
5
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
6
6
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
7
7
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
|
+
import { DeviceEnrollmentId } from "../ids/ids.js";
|
|
9
|
+
import { DeviceType } from "../identity/identity.js";
|
|
8
10
|
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
11
|
+
import { ProfileId } from "../ids/ids.js";
|
|
12
|
+
import { DeviceId } from "../ids/ids.js";
|
|
13
|
+
import { DeviceAttestationId } from "../ids/ids.js";
|
|
9
14
|
/**
|
|
10
|
-
* Device attestation record
|
|
15
|
+
* Device attestation record: the key bound to a device and the evidence
|
|
16
|
+
* recorded with it.
|
|
11
17
|
*
|
|
12
18
|
* @generated from protobuf message sid.v1.attestation.DeviceAttestation
|
|
13
19
|
*/
|
|
14
20
|
export interface DeviceAttestation {
|
|
15
21
|
/**
|
|
16
|
-
*
|
|
22
|
+
* This attestation record, issued by SID when the key is bound.
|
|
23
|
+
*
|
|
24
|
+
* @generated from protobuf field: sid.v1.ids.DeviceAttestationId id = 1
|
|
17
25
|
*/
|
|
18
|
-
id
|
|
26
|
+
id?: DeviceAttestationId;
|
|
19
27
|
/**
|
|
20
|
-
*
|
|
28
|
+
* The device the key is bound to (`Device.id` in sid-identity).
|
|
29
|
+
*
|
|
30
|
+
* @generated from protobuf field: sid.v1.ids.DeviceId device_id = 2
|
|
21
31
|
*/
|
|
22
|
-
deviceId
|
|
32
|
+
deviceId?: DeviceId;
|
|
23
33
|
/**
|
|
24
|
-
*
|
|
34
|
+
* The Profile that owns the device, resolved by SID at enrollment from the
|
|
35
|
+
* authorized context, never from a client field.
|
|
36
|
+
*
|
|
37
|
+
* @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 3
|
|
25
38
|
*/
|
|
26
|
-
profileId
|
|
39
|
+
profileId?: ProfileId;
|
|
27
40
|
/**
|
|
41
|
+
* Attestation format the device presented.
|
|
42
|
+
*
|
|
28
43
|
* @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 4
|
|
29
44
|
*/
|
|
30
45
|
format: AttestationFormat;
|
|
31
46
|
/**
|
|
47
|
+
* Key storage the device reported; self-asserted unless `status` is
|
|
48
|
+
* VERIFIED.
|
|
49
|
+
*
|
|
32
50
|
* @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 5
|
|
33
51
|
*/
|
|
34
52
|
keyStorage: KeyStorageType;
|
|
35
53
|
/**
|
|
54
|
+
* Verification status of the attestation. A key whose possession was
|
|
55
|
+
* proven but whose attestation was not verified is UNVERIFIED.
|
|
56
|
+
*
|
|
36
57
|
* @generated from protobuf field: sid.v1.attestation.AttestationStatus status = 6
|
|
37
58
|
*/
|
|
38
59
|
status: AttestationStatus;
|
|
39
60
|
/**
|
|
40
|
-
*
|
|
61
|
+
* The device's public key as a JSON Web Key (RFC 7517) holding public
|
|
62
|
+
* members only, UTF-8 JSON. Its RFC 7638 thumbprint names the key in the
|
|
63
|
+
* enrollment proofs.
|
|
64
|
+
*
|
|
65
|
+
* @generated from protobuf field: string public_jwk = 7
|
|
41
66
|
*/
|
|
42
|
-
|
|
67
|
+
publicJwk: string;
|
|
43
68
|
/**
|
|
69
|
+
* Raw attestation blob in its platform format, as presented.
|
|
70
|
+
*
|
|
44
71
|
* @generated from protobuf field: optional bytes attestation_object = 8
|
|
45
72
|
*/
|
|
46
73
|
attestationObject?: Uint8Array;
|
|
47
74
|
/**
|
|
75
|
+
* Leaf certificate of the attestation chain, as presented.
|
|
76
|
+
*
|
|
48
77
|
* @generated from protobuf field: optional bytes attestation_certificate = 9
|
|
49
78
|
*/
|
|
50
79
|
attestationCertificate?: Uint8Array;
|
|
51
80
|
/**
|
|
81
|
+
* Authenticator Attestation GUID (WebAuthn), as presented.
|
|
82
|
+
*
|
|
52
83
|
* @generated from protobuf field: optional string aaguid = 10
|
|
53
84
|
*/
|
|
54
85
|
aaguid?: string;
|
|
55
86
|
/**
|
|
56
|
-
*
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @generated from protobuf field: google.protobuf.Timestamp created_at = 12
|
|
87
|
+
* When the key was bound.
|
|
88
|
+
*
|
|
89
|
+
* @generated from protobuf field: google.protobuf.Timestamp created_at = 11
|
|
61
90
|
*/
|
|
62
91
|
createdAt?: Timestamp;
|
|
63
92
|
/**
|
|
64
|
-
*
|
|
93
|
+
* When the record last changed (rotation, revocation).
|
|
94
|
+
*
|
|
95
|
+
* @generated from protobuf field: google.protobuf.Timestamp updated_at = 12
|
|
65
96
|
*/
|
|
66
97
|
updatedAt?: Timestamp;
|
|
67
98
|
/**
|
|
68
|
-
*
|
|
99
|
+
* When the key was revoked; absent while it is live.
|
|
100
|
+
*
|
|
101
|
+
* @generated from protobuf field: optional google.protobuf.Timestamp revoked_at = 13
|
|
69
102
|
*/
|
|
70
103
|
revokedAt?: Timestamp;
|
|
71
104
|
}
|
|
72
105
|
/**
|
|
73
|
-
* @generated from protobuf message sid.v1.attestation.
|
|
106
|
+
* @generated from protobuf message sid.v1.attestation.StartDeviceEnrollmentRequest
|
|
74
107
|
*/
|
|
75
|
-
export interface
|
|
108
|
+
export interface StartDeviceEnrollmentRequest {
|
|
76
109
|
/**
|
|
77
|
-
*
|
|
110
|
+
* What the ceremony does.
|
|
111
|
+
*
|
|
112
|
+
* @generated from protobuf field: sid.v1.attestation.DeviceEnrollmentPurpose purpose = 1
|
|
78
113
|
*/
|
|
79
|
-
|
|
114
|
+
purpose: DeviceEnrollmentPurpose;
|
|
80
115
|
/**
|
|
81
|
-
*
|
|
116
|
+
* The device the ceremony targets: required for a rotation, and for the
|
|
117
|
+
* enrollment of a device that already has metadata; absent to enroll a
|
|
118
|
+
* new device, whose id SID allocates. A target to authorize, never
|
|
119
|
+
* evidence of identity or authority.
|
|
120
|
+
*
|
|
121
|
+
* @generated from protobuf field: optional sid.v1.ids.DeviceId device_id = 2
|
|
82
122
|
*/
|
|
83
|
-
|
|
123
|
+
deviceId?: DeviceId;
|
|
84
124
|
/**
|
|
85
|
-
*
|
|
125
|
+
* Form factor of a new device, as the client describes it. Descriptive
|
|
126
|
+
* only; ignored for an existing device.
|
|
127
|
+
*
|
|
128
|
+
* @generated from protobuf field: sid.v1.identity.DeviceType device_type = 3
|
|
86
129
|
*/
|
|
87
|
-
|
|
130
|
+
deviceType: DeviceType;
|
|
131
|
+
/**
|
|
132
|
+
* Operating system name and version of a new device, as the client
|
|
133
|
+
* reports it. Self-asserted, informational only.
|
|
134
|
+
*
|
|
135
|
+
* @generated from protobuf field: optional string os_info = 4
|
|
136
|
+
*/
|
|
137
|
+
osInfo?: string;
|
|
138
|
+
/**
|
|
139
|
+
* User-given label of a new device.
|
|
140
|
+
*
|
|
141
|
+
* @generated from protobuf field: optional string display_name = 5
|
|
142
|
+
*/
|
|
143
|
+
displayName?: string;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* The challenge a ceremony's proofs answer.
|
|
147
|
+
*
|
|
148
|
+
* @generated from protobuf message sid.v1.attestation.DeviceEnrollmentChallenge
|
|
149
|
+
*/
|
|
150
|
+
export interface DeviceEnrollmentChallenge {
|
|
151
|
+
/**
|
|
152
|
+
* The ceremony, named by the finishing call.
|
|
153
|
+
*
|
|
154
|
+
* @generated from protobuf field: sid.v1.ids.DeviceEnrollmentId enrollment_id = 1
|
|
155
|
+
*/
|
|
156
|
+
enrollmentId?: DeviceEnrollmentId;
|
|
157
|
+
/**
|
|
158
|
+
* The device the ceremony binds a key to: the one allocated for a new
|
|
159
|
+
* device or the requested one. The proofs name it in their `dev` claim.
|
|
160
|
+
*
|
|
161
|
+
* @generated from protobuf field: sid.v1.ids.DeviceId device_id = 2
|
|
162
|
+
*/
|
|
163
|
+
deviceId?: DeviceId;
|
|
164
|
+
/**
|
|
165
|
+
* Fresh random challenge (32 bytes) the proofs carry in their `chl`
|
|
166
|
+
* claim. Single-use, bound to this ceremony only.
|
|
167
|
+
*
|
|
168
|
+
* @generated from protobuf field: bytes challenge = 3
|
|
169
|
+
*/
|
|
170
|
+
challenge: Uint8Array;
|
|
171
|
+
/**
|
|
172
|
+
* When the ceremony expires; a later finish completes nothing.
|
|
173
|
+
*
|
|
174
|
+
* @generated from protobuf field: google.protobuf.Timestamp expires_at = 4
|
|
175
|
+
*/
|
|
176
|
+
expiresAt?: Timestamp;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* @generated from protobuf message sid.v1.attestation.FinishDeviceEnrollmentRequest
|
|
180
|
+
*/
|
|
181
|
+
export interface FinishDeviceEnrollmentRequest {
|
|
182
|
+
/**
|
|
183
|
+
* The ceremony StartDeviceEnrollment issued, of purpose ENROLL.
|
|
184
|
+
*
|
|
185
|
+
* @generated from protobuf field: sid.v1.ids.DeviceEnrollmentId enrollment_id = 1
|
|
186
|
+
*/
|
|
187
|
+
enrollmentId?: DeviceEnrollmentId;
|
|
188
|
+
/**
|
|
189
|
+
* The proposed key's proof of possession, purpose "enroll"; its `jwk`
|
|
190
|
+
* header is the key bound to the device.
|
|
191
|
+
*
|
|
192
|
+
* @generated from protobuf field: string proof = 2
|
|
193
|
+
*/
|
|
194
|
+
proof: string;
|
|
195
|
+
/**
|
|
196
|
+
* Attestation format of the optional attestation below.
|
|
197
|
+
*
|
|
198
|
+
* @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 3
|
|
199
|
+
*/
|
|
200
|
+
format: AttestationFormat;
|
|
88
201
|
/**
|
|
89
|
-
*
|
|
202
|
+
* Key storage the device reports; recorded as reported, raising no
|
|
203
|
+
* assurance without verified attestation.
|
|
204
|
+
*
|
|
205
|
+
* @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 4
|
|
90
206
|
*/
|
|
91
|
-
|
|
207
|
+
keyStorage: KeyStorageType;
|
|
92
208
|
/**
|
|
209
|
+
* Raw attestation blob in its platform format.
|
|
210
|
+
*
|
|
93
211
|
* @generated from protobuf field: optional bytes attestation_object = 5
|
|
94
212
|
*/
|
|
95
213
|
attestationObject?: Uint8Array;
|
|
96
214
|
/**
|
|
215
|
+
* Leaf certificate of the attestation chain.
|
|
216
|
+
*
|
|
97
217
|
* @generated from protobuf field: optional bytes attestation_certificate = 6
|
|
98
218
|
*/
|
|
99
219
|
attestationCertificate?: Uint8Array;
|
|
100
220
|
/**
|
|
221
|
+
* Authenticator Attestation GUID (WebAuthn).
|
|
222
|
+
*
|
|
101
223
|
* @generated from protobuf field: optional string aaguid = 7
|
|
102
224
|
*/
|
|
103
225
|
aaguid?: string;
|
|
104
|
-
/**
|
|
105
|
-
* @generated from protobuf field: optional string credential_id = 8
|
|
106
|
-
*/
|
|
107
|
-
credentialId?: string;
|
|
108
226
|
}
|
|
109
227
|
/**
|
|
110
228
|
* @generated from protobuf message sid.v1.attestation.GetDeviceAttestationRequest
|
|
111
229
|
*/
|
|
112
230
|
export interface GetDeviceAttestationRequest {
|
|
113
231
|
/**
|
|
114
|
-
*
|
|
232
|
+
* Device to fetch the attestation of.
|
|
233
|
+
*
|
|
234
|
+
* @generated from protobuf field: sid.v1.ids.DeviceId device_id = 1
|
|
115
235
|
*/
|
|
116
|
-
deviceId
|
|
236
|
+
deviceId?: DeviceId;
|
|
117
237
|
}
|
|
118
238
|
/**
|
|
119
239
|
* @generated from protobuf message sid.v1.attestation.RotateDeviceKeyRequest
|
|
120
240
|
*/
|
|
121
241
|
export interface RotateDeviceKeyRequest {
|
|
122
242
|
/**
|
|
123
|
-
*
|
|
243
|
+
* The ceremony StartDeviceEnrollment issued, of purpose ROTATE.
|
|
244
|
+
*
|
|
245
|
+
* @generated from protobuf field: sid.v1.ids.DeviceEnrollmentId enrollment_id = 1
|
|
246
|
+
*/
|
|
247
|
+
enrollmentId?: DeviceEnrollmentId;
|
|
248
|
+
/**
|
|
249
|
+
* The proposed key's proof of possession, purpose "rotate-new".
|
|
250
|
+
*
|
|
251
|
+
* @generated from protobuf field: string new_key_proof = 2
|
|
252
|
+
*/
|
|
253
|
+
newKeyProof: string;
|
|
254
|
+
/**
|
|
255
|
+
* The current key's approval of this replacement, purpose
|
|
256
|
+
* "rotate-current", naming the proposed key in its `key` claim.
|
|
257
|
+
*
|
|
258
|
+
* @generated from protobuf field: string current_key_proof = 3
|
|
124
259
|
*/
|
|
125
|
-
|
|
260
|
+
currentKeyProof: string;
|
|
126
261
|
/**
|
|
127
|
-
*
|
|
262
|
+
* Attestation format of the new key's optional attestation below.
|
|
263
|
+
*
|
|
264
|
+
* @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 4
|
|
265
|
+
*/
|
|
266
|
+
format: AttestationFormat;
|
|
267
|
+
/**
|
|
268
|
+
* Key storage the device reports for the new key; recorded as reported,
|
|
269
|
+
* raising no assurance without verified attestation.
|
|
270
|
+
*
|
|
271
|
+
* @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 5
|
|
128
272
|
*/
|
|
129
|
-
|
|
273
|
+
keyStorage: KeyStorageType;
|
|
130
274
|
/**
|
|
131
|
-
*
|
|
275
|
+
* Attestation of the new key, in its platform format.
|
|
276
|
+
*
|
|
277
|
+
* @generated from protobuf field: optional bytes attestation_object = 6
|
|
132
278
|
*/
|
|
133
|
-
|
|
279
|
+
attestationObject?: Uint8Array;
|
|
134
280
|
/**
|
|
135
|
-
*
|
|
281
|
+
* Leaf certificate of the new key's attestation chain.
|
|
282
|
+
*
|
|
283
|
+
* @generated from protobuf field: optional bytes attestation_certificate = 7
|
|
136
284
|
*/
|
|
137
|
-
|
|
285
|
+
attestationCertificate?: Uint8Array;
|
|
286
|
+
/**
|
|
287
|
+
* Authenticator Attestation GUID (WebAuthn) of the new key.
|
|
288
|
+
*
|
|
289
|
+
* @generated from protobuf field: optional string aaguid = 8
|
|
290
|
+
*/
|
|
291
|
+
aaguid?: string;
|
|
138
292
|
}
|
|
139
293
|
/**
|
|
140
294
|
* @generated from protobuf message sid.v1.attestation.RevokeDeviceKeyRequest
|
|
141
295
|
*/
|
|
142
296
|
export interface RevokeDeviceKeyRequest {
|
|
143
297
|
/**
|
|
144
|
-
*
|
|
298
|
+
* Device whose key is revoked.
|
|
299
|
+
*
|
|
300
|
+
* @generated from protobuf field: sid.v1.ids.DeviceId device_id = 1
|
|
145
301
|
*/
|
|
146
|
-
deviceId
|
|
302
|
+
deviceId?: DeviceId;
|
|
147
303
|
}
|
|
148
304
|
/**
|
|
149
305
|
* @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsRequest
|
|
150
306
|
*/
|
|
151
307
|
export interface ListDeviceAttestationsRequest {
|
|
152
308
|
/**
|
|
153
|
-
*
|
|
309
|
+
* Profile whose device keys are listed.
|
|
310
|
+
*
|
|
311
|
+
* @generated from protobuf field: sid.v1.ids.ProfileId profile_id = 1
|
|
154
312
|
*/
|
|
155
|
-
profileId
|
|
313
|
+
profileId?: ProfileId;
|
|
156
314
|
}
|
|
157
315
|
/**
|
|
158
316
|
* @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsResponse
|
|
159
317
|
*/
|
|
160
318
|
export interface ListDeviceAttestationsResponse {
|
|
161
319
|
/**
|
|
320
|
+
* The Profile's device key attestations, live and revoked.
|
|
321
|
+
*
|
|
162
322
|
* @generated from protobuf field: repeated sid.v1.attestation.DeviceAttestation attestations = 1
|
|
163
323
|
*/
|
|
164
324
|
attestations: DeviceAttestation[];
|
|
@@ -211,7 +371,8 @@ export declare enum AttestationFormat {
|
|
|
211
371
|
FIDO_U2F = 6
|
|
212
372
|
}
|
|
213
373
|
/**
|
|
214
|
-
* Type of hardware key storage
|
|
374
|
+
* Type of hardware key storage the device reports. Self-asserted: it raises
|
|
375
|
+
* no assurance unless verified attestation establishes it.
|
|
215
376
|
*
|
|
216
377
|
* @generated from protobuf enum sid.v1.attestation.KeyStorageType
|
|
217
378
|
*/
|
|
@@ -292,6 +453,31 @@ export declare enum AttestationStatus {
|
|
|
292
453
|
*/
|
|
293
454
|
REVOKED = 5
|
|
294
455
|
}
|
|
456
|
+
/**
|
|
457
|
+
* What a device-key enrollment ceremony does. A proof made for one purpose
|
|
458
|
+
* is refused for the other.
|
|
459
|
+
*
|
|
460
|
+
* @generated from protobuf enum sid.v1.attestation.DeviceEnrollmentPurpose
|
|
461
|
+
*/
|
|
462
|
+
export declare enum DeviceEnrollmentPurpose {
|
|
463
|
+
/**
|
|
464
|
+
* @generated from protobuf enum value: DEVICE_ENROLLMENT_PURPOSE_UNSPECIFIED = 0;
|
|
465
|
+
*/
|
|
466
|
+
UNSPECIFIED = 0,
|
|
467
|
+
/**
|
|
468
|
+
* Bind the first key of a new device, or of a device that has metadata
|
|
469
|
+
* and no live key.
|
|
470
|
+
*
|
|
471
|
+
* @generated from protobuf enum value: DEVICE_ENROLLMENT_PURPOSE_ENROLL = 1;
|
|
472
|
+
*/
|
|
473
|
+
ENROLL = 1,
|
|
474
|
+
/**
|
|
475
|
+
* Replace the live key of an enrolled device with a new one.
|
|
476
|
+
*
|
|
477
|
+
* @generated from protobuf enum value: DEVICE_ENROLLMENT_PURPOSE_ROTATE = 2;
|
|
478
|
+
*/
|
|
479
|
+
ROTATE = 2
|
|
480
|
+
}
|
|
295
481
|
declare class DeviceAttestation$Type extends MessageType<DeviceAttestation> {
|
|
296
482
|
constructor();
|
|
297
483
|
create(value?: PartialMessage<DeviceAttestation>): DeviceAttestation;
|
|
@@ -302,16 +488,36 @@ declare class DeviceAttestation$Type extends MessageType<DeviceAttestation> {
|
|
|
302
488
|
* @generated MessageType for protobuf message sid.v1.attestation.DeviceAttestation
|
|
303
489
|
*/
|
|
304
490
|
export declare const DeviceAttestation: DeviceAttestation$Type;
|
|
305
|
-
declare class
|
|
491
|
+
declare class StartDeviceEnrollmentRequest$Type extends MessageType<StartDeviceEnrollmentRequest> {
|
|
492
|
+
constructor();
|
|
493
|
+
create(value?: PartialMessage<StartDeviceEnrollmentRequest>): StartDeviceEnrollmentRequest;
|
|
494
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartDeviceEnrollmentRequest): StartDeviceEnrollmentRequest;
|
|
495
|
+
internalBinaryWrite(message: StartDeviceEnrollmentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* @generated MessageType for protobuf message sid.v1.attestation.StartDeviceEnrollmentRequest
|
|
499
|
+
*/
|
|
500
|
+
export declare const StartDeviceEnrollmentRequest: StartDeviceEnrollmentRequest$Type;
|
|
501
|
+
declare class DeviceEnrollmentChallenge$Type extends MessageType<DeviceEnrollmentChallenge> {
|
|
502
|
+
constructor();
|
|
503
|
+
create(value?: PartialMessage<DeviceEnrollmentChallenge>): DeviceEnrollmentChallenge;
|
|
504
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceEnrollmentChallenge): DeviceEnrollmentChallenge;
|
|
505
|
+
internalBinaryWrite(message: DeviceEnrollmentChallenge, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* @generated MessageType for protobuf message sid.v1.attestation.DeviceEnrollmentChallenge
|
|
509
|
+
*/
|
|
510
|
+
export declare const DeviceEnrollmentChallenge: DeviceEnrollmentChallenge$Type;
|
|
511
|
+
declare class FinishDeviceEnrollmentRequest$Type extends MessageType<FinishDeviceEnrollmentRequest> {
|
|
306
512
|
constructor();
|
|
307
|
-
create(value?: PartialMessage<
|
|
308
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
309
|
-
internalBinaryWrite(message:
|
|
513
|
+
create(value?: PartialMessage<FinishDeviceEnrollmentRequest>): FinishDeviceEnrollmentRequest;
|
|
514
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FinishDeviceEnrollmentRequest): FinishDeviceEnrollmentRequest;
|
|
515
|
+
internalBinaryWrite(message: FinishDeviceEnrollmentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
310
516
|
}
|
|
311
517
|
/**
|
|
312
|
-
* @generated MessageType for protobuf message sid.v1.attestation.
|
|
518
|
+
* @generated MessageType for protobuf message sid.v1.attestation.FinishDeviceEnrollmentRequest
|
|
313
519
|
*/
|
|
314
|
-
export declare const
|
|
520
|
+
export declare const FinishDeviceEnrollmentRequest: FinishDeviceEnrollmentRequest$Type;
|
|
315
521
|
declare class GetDeviceAttestationRequest$Type extends MessageType<GetDeviceAttestationRequest> {
|
|
316
522
|
constructor();
|
|
317
523
|
create(value?: PartialMessage<GetDeviceAttestationRequest>): GetDeviceAttestationRequest;
|