@reallyme/jose 0.4.6 → 0.5.1
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/README.md +13 -2
- package/dist/boundary.js +3 -3
- package/dist/contract-verification.d.ts +18 -0
- package/dist/contract-verification.js +4 -0
- package/dist/errors.d.ts +7 -3
- package/dist/errors.js +16 -4
- package/dist/facade-shapes.d.ts +70 -0
- package/dist/facade-shapes.js +44 -0
- package/dist/facade-support.d.ts +5 -3
- package/dist/facade-support.js +83 -42
- package/dist/facade.d.ts +5 -3
- package/dist/facade.js +26 -24
- package/dist/index.d.ts +5 -4
- package/dist/index.js +2 -2
- package/dist/proto/contract-values.d.ts +27 -0
- package/dist/proto/contract-values.js +103 -0
- package/dist/proto/generated/reallyme/jose/v1/jose_pb.d.ts +2351 -304
- package/dist/proto/generated/reallyme/jose/v1/jose_pb.js +1040 -82
- package/dist/proto.d.ts +2 -2
- package/dist/proto.js +2 -1
- package/dist/provider.js +12 -6
- package/dist/validate.d.ts +2 -2
- package/dist/validate.js +25 -9
- package/dist/wasm/reallyme_jose_wasm_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -9,6 +9,10 @@ export declare const file_reallyme_jose_v1_jose: GenFile;
|
|
|
9
9
|
* The oneof keeps caller-owned input/primitive failures, provider availability
|
|
10
10
|
* failures, and backend/internal failures distinct while JoseErrorReason keeps
|
|
11
11
|
* the exact JOSE-specific reason stable end-to-end.
|
|
12
|
+
* Rust view: wire.rs#JoseWireError
|
|
13
|
+
* Rust view: wire.rs#JoseWireResult
|
|
14
|
+
* Rust adapter: wire.rs#jose_error
|
|
15
|
+
* Rust adapter: wire.rs#jose_error_bytes
|
|
12
16
|
*
|
|
13
17
|
* @generated from message reallyme.jose.v1.JoseError
|
|
14
18
|
*/
|
|
@@ -98,11 +102,12 @@ export type JoseBackendError = Message<"reallyme.jose.v1.JoseBackendError"> & {
|
|
|
98
102
|
*/
|
|
99
103
|
export declare const JoseBackendErrorSchema: GenMessage<JoseBackendError>;
|
|
100
104
|
/**
|
|
101
|
-
* JoseOperationResponse is the canonical
|
|
105
|
+
* JoseOperationResponse is the canonical versioned executable response. The low
|
|
102
106
|
* field-number range remains reserved so future revisions cannot reuse or
|
|
103
107
|
* ambiguously reinterpret it. Boundary errors are limited to failures before
|
|
104
108
|
* a trusted operation variant can be selected; operation failures remain
|
|
105
109
|
* nested under the selected operation.
|
|
110
|
+
* Rust adapter: wire/operation_response.rs#decode_operation_response_v1
|
|
106
111
|
*
|
|
107
112
|
* @generated from message reallyme.jose.v1.JoseOperationResponse
|
|
108
113
|
*/
|
|
@@ -174,6 +179,80 @@ export type JoseOperationResponse = Message<"reallyme.jose.v1.JoseOperationRespo
|
|
|
174
179
|
*/
|
|
175
180
|
value: JoseJweDecryptResponse;
|
|
176
181
|
case: "jweDecrypt";
|
|
182
|
+
} | {
|
|
183
|
+
/**
|
|
184
|
+
* Extended native contracts preserve borrowed and provider-backed capabilities.
|
|
185
|
+
*
|
|
186
|
+
* @generated from field: reallyme.jose.v1.JoseSignatureSignResponse signature_sign = 1010;
|
|
187
|
+
*/
|
|
188
|
+
value: JoseSignatureSignResponse;
|
|
189
|
+
case: "signatureSign";
|
|
190
|
+
} | {
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: reallyme.jose.v1.JoseSignatureVerifyResponse signature_verify = 1011;
|
|
193
|
+
*/
|
|
194
|
+
value: JoseSignatureVerifyResponse;
|
|
195
|
+
case: "signatureVerify";
|
|
196
|
+
} | {
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: reallyme.jose.v1.JoseSignatureSuiteInfoResponse signature_suite_info = 1012;
|
|
199
|
+
*/
|
|
200
|
+
value: JoseSignatureSuiteInfoResponse;
|
|
201
|
+
case: "signatureSuiteInfo";
|
|
202
|
+
} | {
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: reallyme.jose.v1.JoseJwsSignResponse jws_sign_with_provider = 1013;
|
|
205
|
+
*/
|
|
206
|
+
value: JoseJwsSignResponse;
|
|
207
|
+
case: "jwsSignWithProvider";
|
|
208
|
+
} | {
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: reallyme.jose.v1.JoseJwsVerifyResponse jws_verify_with_provider = 1014;
|
|
211
|
+
*/
|
|
212
|
+
value: JoseJwsVerifyResponse;
|
|
213
|
+
case: "jwsVerifyWithProvider";
|
|
214
|
+
} | {
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: reallyme.jose.v1.JoseJwsInspectResponse jws_inspect = 1015;
|
|
217
|
+
*/
|
|
218
|
+
value: JoseJwsInspectResponse;
|
|
219
|
+
case: "jwsInspect";
|
|
220
|
+
} | {
|
|
221
|
+
/**
|
|
222
|
+
* @generated from field: reallyme.jose.v1.JoseJwtSignWithProviderResponse jwt_sign_with_provider = 2010;
|
|
223
|
+
*/
|
|
224
|
+
value: JoseJwtSignWithProviderResponse;
|
|
225
|
+
case: "jwtSignWithProvider";
|
|
226
|
+
} | {
|
|
227
|
+
/**
|
|
228
|
+
* @generated from field: reallyme.jose.v1.JoseJwtClaimsParseResponse jwt_claims_parse = 2011;
|
|
229
|
+
*/
|
|
230
|
+
value: JoseJwtClaimsParseResponse;
|
|
231
|
+
case: "jwtClaimsParse";
|
|
232
|
+
} | {
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: reallyme.jose.v1.JoseJweDeriveKeyResponse jwe_derive_key = 3010;
|
|
235
|
+
*/
|
|
236
|
+
value: JoseJweDeriveKeyResponse;
|
|
237
|
+
case: "jweDeriveKey";
|
|
238
|
+
} | {
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: reallyme.jose.v1.JoseJweEncryptWithProviderResponse jwe_encrypt_with_provider = 3011;
|
|
241
|
+
*/
|
|
242
|
+
value: JoseJweEncryptWithProviderResponse;
|
|
243
|
+
case: "jweEncryptWithProvider";
|
|
244
|
+
} | {
|
|
245
|
+
/**
|
|
246
|
+
* @generated from field: reallyme.jose.v1.JoseJweDecryptWithProviderResponse jwe_decrypt_with_provider = 3012;
|
|
247
|
+
*/
|
|
248
|
+
value: JoseJweDecryptWithProviderResponse;
|
|
249
|
+
case: "jweDecryptWithProvider";
|
|
250
|
+
} | {
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: reallyme.jose.v1.JoseContractInfoResponse contract_info = 7000;
|
|
253
|
+
*/
|
|
254
|
+
value: JoseContractInfoResponse;
|
|
255
|
+
case: "contractInfo";
|
|
177
256
|
} | {
|
|
178
257
|
case: undefined;
|
|
179
258
|
value?: undefined;
|
|
@@ -189,6 +268,18 @@ export declare const JoseOperationResponseSchema: GenMessage<JoseOperationRespon
|
|
|
189
268
|
* FFI, JNI, WASM, and other operation adapters. Native SDKs should keep
|
|
190
269
|
* using typed methods; adapters can use this generated oneof to avoid
|
|
191
270
|
* hand-rolled operation routing and error-envelope plumbing.
|
|
271
|
+
* Rust adapter: api.rs#execute
|
|
272
|
+
* Rust adapter: api.rs#execute_with_providers
|
|
273
|
+
* Rust adapter: wire/operation_response.rs#execute_operation_request
|
|
274
|
+
* Rust adapter: wire/operation_response.rs#execute_operation_request_with_providers
|
|
275
|
+
* Rust adapter: wire/operation_response.rs#execute_operation_v1
|
|
276
|
+
* Rust adapter: wire/operation_response.rs#execute_operation_json_v1
|
|
277
|
+
* Rust adapter: wire.rs#encode_protobuf
|
|
278
|
+
* Rust adapter: wire.rs#decode_protobuf
|
|
279
|
+
* Rust adapter: wire.rs#encode_json
|
|
280
|
+
* Rust adapter: wire.rs#decode_json
|
|
281
|
+
* Rust capability: operation_contract/providers.rs#OperationProviders
|
|
282
|
+
* Rust capability: operation_contract/providers.rs#BuiltinProviders
|
|
192
283
|
*
|
|
193
284
|
* @generated from message reallyme.jose.v1.JoseOperationRequest
|
|
194
285
|
*/
|
|
@@ -199,6 +290,8 @@ export type JoseOperationRequest = Message<"reallyme.jose.v1.JoseOperationReques
|
|
|
199
290
|
operation: {
|
|
200
291
|
/**
|
|
201
292
|
* Compact JWS operations: 1000-1999.
|
|
293
|
+
* Rust adapter: jws/suites/eddsa.rs#sign_eddsa_jws
|
|
294
|
+
* Rust adapter: jws/suites/es256.rs#sign_es256_jws
|
|
202
295
|
*
|
|
203
296
|
* @generated from field: reallyme.jose.v1.JoseJwsSignRequest jws_sign = 1000;
|
|
204
297
|
*/
|
|
@@ -206,6 +299,13 @@ export type JoseOperationRequest = Message<"reallyme.jose.v1.JoseOperationReques
|
|
|
206
299
|
case: "jwsSign";
|
|
207
300
|
} | {
|
|
208
301
|
/**
|
|
302
|
+
* Rust adapter: jws/suites/eddsa.rs#verify_eddsa_jws
|
|
303
|
+
* Rust adapter: jws/suites/eddsa.rs#verify_eddsa_jws_and_decode_payload
|
|
304
|
+
* Rust adapter: jws/suites/eddsa.rs#verify_eddsa_jws_and_decode_authenticated_parts
|
|
305
|
+
* Rust adapter: jws/suites/es256.rs#verify_es256_jws
|
|
306
|
+
* Rust adapter: jws/suites/es256.rs#verify_es256_jws_and_decode_payload
|
|
307
|
+
* Rust adapter: jws/suites/es256.rs#verify_es256_jws_and_decode_authenticated_parts
|
|
308
|
+
*
|
|
209
309
|
* @generated from field: reallyme.jose.v1.JoseJwsVerifyRequest jws_verify = 1001;
|
|
210
310
|
*/
|
|
211
311
|
value: JoseJwsVerifyRequest;
|
|
@@ -213,6 +313,7 @@ export type JoseOperationRequest = Message<"reallyme.jose.v1.JoseOperationReques
|
|
|
213
313
|
} | {
|
|
214
314
|
/**
|
|
215
315
|
* JWT operations: 2000-2999.
|
|
316
|
+
* Rust adapter: jwt/unsigned.rs#encode_unsigned_jwt
|
|
216
317
|
*
|
|
217
318
|
* @generated from field: reallyme.jose.v1.JoseJwtEncodeUnsignedRequest jwt_encode_unsigned = 2000;
|
|
218
319
|
*/
|
|
@@ -220,18 +321,34 @@ export type JoseOperationRequest = Message<"reallyme.jose.v1.JoseOperationReques
|
|
|
220
321
|
case: "jwtEncodeUnsigned";
|
|
221
322
|
} | {
|
|
222
323
|
/**
|
|
324
|
+
* Rust adapter: jwt/unsigned.rs#decode_unsigned_jwt
|
|
325
|
+
* Rust adapter: jwt/unsigned.rs#decode_unsigned_jwt_claims_json
|
|
326
|
+
*
|
|
223
327
|
* @generated from field: reallyme.jose.v1.JoseJwtDecodeUnsignedRequest jwt_decode_unsigned = 2001;
|
|
224
328
|
*/
|
|
225
329
|
value: JoseJwtDecodeUnsignedRequest;
|
|
226
330
|
case: "jwtDecodeUnsigned";
|
|
227
331
|
} | {
|
|
228
332
|
/**
|
|
333
|
+
* Rust adapter: jwt/sign.rs#encode_signed_jwt
|
|
334
|
+
* Rust adapter: jwt/sign.rs#encode_signed_jwt_with_header_options
|
|
335
|
+
*
|
|
229
336
|
* @generated from field: reallyme.jose.v1.JoseJwtSignRequest jwt_sign = 2002;
|
|
230
337
|
*/
|
|
231
338
|
value: JoseJwtSignRequest;
|
|
232
339
|
case: "jwtSign";
|
|
233
340
|
} | {
|
|
234
341
|
/**
|
|
342
|
+
* Rust adapter: jwt/verify.rs#decode_verify_jwt_signature_only
|
|
343
|
+
* Rust adapter: jwt/verify.rs#decode_verify_jwt_signature_only_with_header_validation
|
|
344
|
+
* Rust adapter: jwt/verify.rs#decode_verify_jwt_claims_json_signature_only_with_header_validation
|
|
345
|
+
* Rust adapter: jwt/verify.rs#decode_verify_jwt_with_temporal_validation
|
|
346
|
+
* Rust adapter: jwt/verify.rs#decode_verify_jwt_with_temporal_validation_and_header_validation
|
|
347
|
+
* Rust adapter: jwt/verify.rs#decode_verify_jwt_claims_json_with_temporal_validation_and_header_validation
|
|
348
|
+
* Rust adapter: jwt/verify.rs#decode_verify_jwt_with_claims_validation
|
|
349
|
+
* Rust adapter: jwt/verify.rs#decode_verify_jwt_with_claims_validation_and_header_validation
|
|
350
|
+
* Rust adapter: jwt/verify.rs#decode_verify_jwt_claims_json_with_claims_validation_and_header_validation
|
|
351
|
+
*
|
|
235
352
|
* @generated from field: reallyme.jose.v1.JoseJwtVerifyRequest jwt_verify = 2003;
|
|
236
353
|
*/
|
|
237
354
|
value: JoseJwtVerifyRequest;
|
|
@@ -250,6 +367,96 @@ export type JoseOperationRequest = Message<"reallyme.jose.v1.JoseOperationReques
|
|
|
250
367
|
*/
|
|
251
368
|
value: JoseJweDecryptRequest;
|
|
252
369
|
case: "jweDecrypt";
|
|
370
|
+
} | {
|
|
371
|
+
/**
|
|
372
|
+
* Extended native contracts preserve borrowed and provider-backed capabilities.
|
|
373
|
+
* Rust adapter: jws/suites/es256.rs#sign_p256_jose_prehash
|
|
374
|
+
*
|
|
375
|
+
* @generated from field: reallyme.jose.v1.JoseSignatureSignRequest signature_sign = 1010;
|
|
376
|
+
*/
|
|
377
|
+
value: JoseSignatureSignRequest;
|
|
378
|
+
case: "signatureSign";
|
|
379
|
+
} | {
|
|
380
|
+
/**
|
|
381
|
+
* Rust adapter: jws/suites/es256.rs#verify_p256_jose_prehash
|
|
382
|
+
*
|
|
383
|
+
* @generated from field: reallyme.jose.v1.JoseSignatureVerifyRequest signature_verify = 1011;
|
|
384
|
+
*/
|
|
385
|
+
value: JoseSignatureVerifyRequest;
|
|
386
|
+
case: "signatureVerify";
|
|
387
|
+
} | {
|
|
388
|
+
/**
|
|
389
|
+
* Rust adapter: jwt/select_algorithm.rs#algorithm_from_jwt_alg
|
|
390
|
+
*
|
|
391
|
+
* @generated from field: reallyme.jose.v1.JoseSignatureSuiteInfoRequest signature_suite_info = 1012;
|
|
392
|
+
*/
|
|
393
|
+
value: JoseSignatureSuiteInfoRequest;
|
|
394
|
+
case: "signatureSuiteInfo";
|
|
395
|
+
} | {
|
|
396
|
+
/**
|
|
397
|
+
* @generated from field: reallyme.jose.v1.JoseJwsSignWithProviderRequest jws_sign_with_provider = 1013;
|
|
398
|
+
*/
|
|
399
|
+
value: JoseJwsSignWithProviderRequest;
|
|
400
|
+
case: "jwsSignWithProvider";
|
|
401
|
+
} | {
|
|
402
|
+
/**
|
|
403
|
+
* @generated from field: reallyme.jose.v1.JoseJwsVerifyWithProviderRequest jws_verify_with_provider = 1014;
|
|
404
|
+
*/
|
|
405
|
+
value: JoseJwsVerifyWithProviderRequest;
|
|
406
|
+
case: "jwsVerifyWithProvider";
|
|
407
|
+
} | {
|
|
408
|
+
/**
|
|
409
|
+
* @generated from field: reallyme.jose.v1.JoseJwsInspectRequest jws_inspect = 1015;
|
|
410
|
+
*/
|
|
411
|
+
value: JoseJwsInspectRequest;
|
|
412
|
+
case: "jwsInspect";
|
|
413
|
+
} | {
|
|
414
|
+
/**
|
|
415
|
+
* Rust adapter: jwt/sign.rs#encode_signed_jwt_with_signer
|
|
416
|
+
* Rust adapter: jwt/sign.rs#encode_signed_jwt_with_signer_and_header_options
|
|
417
|
+
*
|
|
418
|
+
* @generated from field: reallyme.jose.v1.JoseJwtSignWithProviderRequest jwt_sign_with_provider = 2010;
|
|
419
|
+
*/
|
|
420
|
+
value: JoseJwtSignWithProviderRequest;
|
|
421
|
+
case: "jwtSignWithProvider";
|
|
422
|
+
} | {
|
|
423
|
+
/**
|
|
424
|
+
* @generated from field: reallyme.jose.v1.JoseJwtClaimsParseRequest jwt_claims_parse = 2011;
|
|
425
|
+
*/
|
|
426
|
+
value: JoseJwtClaimsParseRequest;
|
|
427
|
+
case: "jwtClaimsParse";
|
|
428
|
+
} | {
|
|
429
|
+
/**
|
|
430
|
+
* Rust adapter: jwe/derive_key.rs#derive_ecdh_es_content_encryption_key
|
|
431
|
+
*
|
|
432
|
+
* @generated from field: reallyme.jose.v1.JoseJweDeriveKeyRequest jwe_derive_key = 3010;
|
|
433
|
+
*/
|
|
434
|
+
value: JoseJweDeriveKeyRequest;
|
|
435
|
+
case: "jweDeriveKey";
|
|
436
|
+
} | {
|
|
437
|
+
/**
|
|
438
|
+
* Rust adapter: jwe/encrypt.rs#encrypt_compact_jwe_bytes
|
|
439
|
+
* Rust adapter: jwe/encrypt.rs#encrypt_compact_jwe_json
|
|
440
|
+
*
|
|
441
|
+
* @generated from field: reallyme.jose.v1.JoseJweEncryptWithProviderRequest jwe_encrypt_with_provider = 3011;
|
|
442
|
+
*/
|
|
443
|
+
value: JoseJweEncryptWithProviderRequest;
|
|
444
|
+
case: "jweEncryptWithProvider";
|
|
445
|
+
} | {
|
|
446
|
+
/**
|
|
447
|
+
* Rust adapter: jwe/decrypt.rs#decrypt_compact_jwe_bytes
|
|
448
|
+
* Rust adapter: jwe/decrypt.rs#decrypt_compact_jwe_json
|
|
449
|
+
*
|
|
450
|
+
* @generated from field: reallyme.jose.v1.JoseJweDecryptWithProviderRequest jwe_decrypt_with_provider = 3012;
|
|
451
|
+
*/
|
|
452
|
+
value: JoseJweDecryptWithProviderRequest;
|
|
453
|
+
case: "jweDecryptWithProvider";
|
|
454
|
+
} | {
|
|
455
|
+
/**
|
|
456
|
+
* @generated from field: reallyme.jose.v1.JoseContractInfoRequest contract_info = 7000;
|
|
457
|
+
*/
|
|
458
|
+
value: JoseContractInfoRequest;
|
|
459
|
+
case: "contractInfo";
|
|
253
460
|
} | {
|
|
254
461
|
case: undefined;
|
|
255
462
|
value?: undefined;
|
|
@@ -260,6 +467,168 @@ export type JoseOperationRequest = Message<"reallyme.jose.v1.JoseOperationReques
|
|
|
260
467
|
* Use `create(JoseOperationRequestSchema)` to create a new message.
|
|
261
468
|
*/
|
|
262
469
|
export declare const JoseOperationRequestSchema: GenMessage<JoseOperationRequest>;
|
|
470
|
+
/**
|
|
471
|
+
* Sign attached compact JWS with exact caller-supplied protected-header bytes.
|
|
472
|
+
* The provider must return the JOSE wire signature encoding for the algorithm.
|
|
473
|
+
* Rust adapter: jws/provider.rs#external_jws_algorithm
|
|
474
|
+
* Rust adapter: jws/provider.rs#sign_compact_jws_with_provider
|
|
475
|
+
*
|
|
476
|
+
* @generated from message reallyme.jose.v1.JoseJwsSignWithProviderRequest
|
|
477
|
+
*/
|
|
478
|
+
export type JoseJwsSignWithProviderRequest = Message<"reallyme.jose.v1.JoseJwsSignWithProviderRequest"> & {
|
|
479
|
+
/**
|
|
480
|
+
* SENSITIVE: exact protected-header JSON, including caller metadata.
|
|
481
|
+
*
|
|
482
|
+
* @generated from field: bytes protected_header_json = 1;
|
|
483
|
+
*/
|
|
484
|
+
protectedHeaderJson: Uint8Array;
|
|
485
|
+
/**
|
|
486
|
+
* SENSITIVE: attached content.
|
|
487
|
+
*
|
|
488
|
+
* @generated from field: bytes payload = 2;
|
|
489
|
+
*/
|
|
490
|
+
payload: Uint8Array;
|
|
491
|
+
/**
|
|
492
|
+
* @generated from field: reallyme.jose.v1.JoseExternalJwsAlgorithm algorithm = 3;
|
|
493
|
+
*/
|
|
494
|
+
algorithm: JoseExternalJwsAlgorithm;
|
|
495
|
+
/**
|
|
496
|
+
* SENSITIVE: caller-local capability, required for operation dispatch.
|
|
497
|
+
*
|
|
498
|
+
* @generated from field: optional uint64 signer_handle = 4;
|
|
499
|
+
*/
|
|
500
|
+
signerHandle?: bigint | undefined;
|
|
501
|
+
/**
|
|
502
|
+
* @generated from field: optional uint32 max_compact_bytes = 5;
|
|
503
|
+
*/
|
|
504
|
+
maxCompactBytes?: number | undefined;
|
|
505
|
+
/**
|
|
506
|
+
* @generated from field: bool allow_embedded_jwk = 6;
|
|
507
|
+
*/
|
|
508
|
+
allowEmbeddedJwk: boolean;
|
|
509
|
+
};
|
|
510
|
+
/**
|
|
511
|
+
* Describes the message reallyme.jose.v1.JoseJwsSignWithProviderRequest.
|
|
512
|
+
* Use `create(JoseJwsSignWithProviderRequestSchema)` to create a new message.
|
|
513
|
+
*/
|
|
514
|
+
export declare const JoseJwsSignWithProviderRequestSchema: GenMessage<JoseJwsSignWithProviderRequest>;
|
|
515
|
+
/**
|
|
516
|
+
* Inspect compact framing and canonical base64url without authenticating it.
|
|
517
|
+
* Rust adapter: jws/provider.rs#inspect_compact_jws
|
|
518
|
+
* Rust adapter: jws/provider.rs#compact_jws_signing_parts
|
|
519
|
+
*
|
|
520
|
+
* @generated from message reallyme.jose.v1.JoseJwsInspectRequest
|
|
521
|
+
*/
|
|
522
|
+
export type JoseJwsInspectRequest = Message<"reallyme.jose.v1.JoseJwsInspectRequest"> & {
|
|
523
|
+
/**
|
|
524
|
+
* SENSITIVE: complete compact input.
|
|
525
|
+
*
|
|
526
|
+
* @generated from field: string compact = 1;
|
|
527
|
+
*/
|
|
528
|
+
compact: string;
|
|
529
|
+
/**
|
|
530
|
+
* @generated from field: optional uint32 max_compact_bytes = 2;
|
|
531
|
+
*/
|
|
532
|
+
maxCompactBytes?: number | undefined;
|
|
533
|
+
};
|
|
534
|
+
/**
|
|
535
|
+
* Describes the message reallyme.jose.v1.JoseJwsInspectRequest.
|
|
536
|
+
* Use `create(JoseJwsInspectRequestSchema)` to create a new message.
|
|
537
|
+
*/
|
|
538
|
+
export declare const JoseJwsInspectRequestSchema: GenMessage<JoseJwsInspectRequest>;
|
|
539
|
+
/**
|
|
540
|
+
* Unauthenticated observations for caller-owned verification.
|
|
541
|
+
*
|
|
542
|
+
* @generated from message reallyme.jose.v1.JoseInspectedCompactJws
|
|
543
|
+
*/
|
|
544
|
+
export type JoseInspectedCompactJws = Message<"reallyme.jose.v1.JoseInspectedCompactJws"> & {
|
|
545
|
+
/**
|
|
546
|
+
* SENSITIVE: decoded protected-header JSON.
|
|
547
|
+
*
|
|
548
|
+
* @generated from field: bytes protected_header_json = 1;
|
|
549
|
+
*/
|
|
550
|
+
protectedHeaderJson: Uint8Array;
|
|
551
|
+
/**
|
|
552
|
+
* SENSITIVE: decoded attached payload.
|
|
553
|
+
*
|
|
554
|
+
* @generated from field: bytes payload = 2;
|
|
555
|
+
*/
|
|
556
|
+
payload: Uint8Array;
|
|
557
|
+
/**
|
|
558
|
+
* Number of leading compact bytes covered by the signature.
|
|
559
|
+
*
|
|
560
|
+
* @generated from field: uint32 signing_input_len = 3;
|
|
561
|
+
*/
|
|
562
|
+
signingInputLen: number;
|
|
563
|
+
/**
|
|
564
|
+
* SENSITIVE: received JOSE signature bytes.
|
|
565
|
+
*
|
|
566
|
+
* @generated from field: bytes signature = 4;
|
|
567
|
+
*/
|
|
568
|
+
signature: Uint8Array;
|
|
569
|
+
};
|
|
570
|
+
/**
|
|
571
|
+
* Describes the message reallyme.jose.v1.JoseInspectedCompactJws.
|
|
572
|
+
* Use `create(JoseInspectedCompactJwsSchema)` to create a new message.
|
|
573
|
+
*/
|
|
574
|
+
export declare const JoseInspectedCompactJwsSchema: GenMessage<JoseInspectedCompactJws>;
|
|
575
|
+
/**
|
|
576
|
+
* @generated from message reallyme.jose.v1.JoseJwsInspectResponse
|
|
577
|
+
*/
|
|
578
|
+
export type JoseJwsInspectResponse = Message<"reallyme.jose.v1.JoseJwsInspectResponse"> & {
|
|
579
|
+
/**
|
|
580
|
+
* @generated from oneof reallyme.jose.v1.JoseJwsInspectResponse.outcome
|
|
581
|
+
*/
|
|
582
|
+
outcome: {
|
|
583
|
+
/**
|
|
584
|
+
* @generated from field: reallyme.jose.v1.JoseInspectedCompactJws result = 1;
|
|
585
|
+
*/
|
|
586
|
+
value: JoseInspectedCompactJws;
|
|
587
|
+
case: "result";
|
|
588
|
+
} | {
|
|
589
|
+
/**
|
|
590
|
+
* @generated from field: reallyme.jose.v1.JoseError error = 2;
|
|
591
|
+
*/
|
|
592
|
+
value: JoseError;
|
|
593
|
+
case: "error";
|
|
594
|
+
} | {
|
|
595
|
+
case: undefined;
|
|
596
|
+
value?: undefined;
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
/**
|
|
600
|
+
* Describes the message reallyme.jose.v1.JoseJwsInspectResponse.
|
|
601
|
+
* Use `create(JoseJwsInspectResponseSchema)` to create a new message.
|
|
602
|
+
*/
|
|
603
|
+
export declare const JoseJwsInspectResponseSchema: GenMessage<JoseJwsInspectResponse>;
|
|
604
|
+
/**
|
|
605
|
+
* Authenticate compact JWS with a caller-local signature verifier. An allowed
|
|
606
|
+
* embedded JWK is profile data. The verifier selects and binds the trusted key.
|
|
607
|
+
* Rust adapter: jws/provider.rs#verify_compact_jws_with_provider
|
|
608
|
+
*
|
|
609
|
+
* @generated from message reallyme.jose.v1.JoseJwsVerifyWithProviderRequest
|
|
610
|
+
*/
|
|
611
|
+
export type JoseJwsVerifyWithProviderRequest = Message<"reallyme.jose.v1.JoseJwsVerifyWithProviderRequest"> & {
|
|
612
|
+
/**
|
|
613
|
+
* @generated from field: reallyme.jose.v1.JoseJwsInspectRequest input = 1;
|
|
614
|
+
*/
|
|
615
|
+
input?: JoseJwsInspectRequest | undefined;
|
|
616
|
+
/**
|
|
617
|
+
* SENSITIVE: caller-local capability, required for operation dispatch.
|
|
618
|
+
*
|
|
619
|
+
* @generated from field: optional uint64 verifier_handle = 2;
|
|
620
|
+
*/
|
|
621
|
+
verifierHandle?: bigint | undefined;
|
|
622
|
+
/**
|
|
623
|
+
* @generated from field: bool allow_embedded_jwk = 3;
|
|
624
|
+
*/
|
|
625
|
+
allowEmbeddedJwk: boolean;
|
|
626
|
+
};
|
|
627
|
+
/**
|
|
628
|
+
* Describes the message reallyme.jose.v1.JoseJwsVerifyWithProviderRequest.
|
|
629
|
+
* Use `create(JoseJwsVerifyWithProviderRequestSchema)` to create a new message.
|
|
630
|
+
*/
|
|
631
|
+
export declare const JoseJwsVerifyWithProviderRequestSchema: GenMessage<JoseJwsVerifyWithProviderRequest>;
|
|
263
632
|
/**
|
|
264
633
|
* @generated from message reallyme.jose.v1.JoseJwsSignRequest
|
|
265
634
|
*/
|
|
@@ -271,6 +640,7 @@ export type JoseJwsSignRequest = Message<"reallyme.jose.v1.JoseJwsSignRequest">
|
|
|
271
640
|
/**
|
|
272
641
|
* Sensitive signing key bytes. Adapters must zeroize after dispatch and must
|
|
273
642
|
* not log, trace, or include this field in errors.
|
|
643
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
274
644
|
*
|
|
275
645
|
* @generated from field: bytes private_key = 2;
|
|
276
646
|
*/
|
|
@@ -279,6 +649,7 @@ export type JoseJwsSignRequest = Message<"reallyme.jose.v1.JoseJwsSignRequest">
|
|
|
279
649
|
* Payload bytes for compact JWS signing. The current native SDK facade signs
|
|
280
650
|
* UTF-8 payloads; non-UTF-8 wire payloads fail closed with
|
|
281
651
|
* JOSE_ERROR_REASON_JWS_INVALID_PAYLOAD_UTF8.
|
|
652
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
282
653
|
*
|
|
283
654
|
* @generated from field: bytes payload = 3;
|
|
284
655
|
*/
|
|
@@ -294,6 +665,8 @@ export declare const JoseJwsSignRequestSchema: GenMessage<JoseJwsSignRequest>;
|
|
|
294
665
|
*/
|
|
295
666
|
export type JoseCompactResult = Message<"reallyme.jose.v1.JoseCompactResult"> & {
|
|
296
667
|
/**
|
|
668
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
669
|
+
*
|
|
297
670
|
* @generated from field: string compact = 1;
|
|
298
671
|
*/
|
|
299
672
|
compact: string;
|
|
@@ -312,12 +685,15 @@ export type JoseJwsVerifyRequest = Message<"reallyme.jose.v1.JoseJwsVerifyReques
|
|
|
312
685
|
*/
|
|
313
686
|
algorithm: JoseSignatureAlgorithm;
|
|
314
687
|
/**
|
|
688
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
689
|
+
*
|
|
315
690
|
* @generated from field: string compact = 2;
|
|
316
691
|
*/
|
|
317
692
|
compact: string;
|
|
318
693
|
/**
|
|
319
694
|
* Public verification key bytes. Public material is still boundary data and
|
|
320
695
|
* must not be copied into errors or telemetry.
|
|
696
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
321
697
|
*
|
|
322
698
|
* @generated from field: bytes public_key = 3;
|
|
323
699
|
*/
|
|
@@ -334,6 +710,7 @@ export declare const JoseJwsVerifyRequestSchema: GenMessage<JoseJwsVerifyRequest
|
|
|
334
710
|
* compact profile; it does not imply support for JWS JSON Serialization,
|
|
335
711
|
* detached payloads, or RFC 7797 unencoded payloads. Profile-aware callers must
|
|
336
712
|
* parse and authorize these returned bytes instead of the original input.
|
|
713
|
+
* Rust view: jws/authenticated.rs#AuthenticatedCompactJws
|
|
337
714
|
*
|
|
338
715
|
* @generated from message reallyme.jose.v1.JoseVerifyResult
|
|
339
716
|
*/
|
|
@@ -341,12 +718,14 @@ export type JoseVerifyResult = Message<"reallyme.jose.v1.JoseVerifyResult"> & {
|
|
|
341
718
|
/**
|
|
342
719
|
* Exact decoded JWS Protected Header bytes authenticated by the signature.
|
|
343
720
|
* JOSE binds alg but does not interpret application/profile parameters.
|
|
721
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
344
722
|
*
|
|
345
723
|
* @generated from field: bytes protected_header_json = 1;
|
|
346
724
|
*/
|
|
347
725
|
protectedHeaderJson: Uint8Array;
|
|
348
726
|
/**
|
|
349
727
|
* Decoded JWS Payload bytes authenticated by the signature.
|
|
728
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
350
729
|
*
|
|
351
730
|
* @generated from field: bytes payload = 2;
|
|
352
731
|
*/
|
|
@@ -363,6 +742,7 @@ export declare const JoseVerifyResultSchema: GenMessage<JoseVerifyResult>;
|
|
|
363
742
|
export type JoseJwtEncodeUnsignedRequest = Message<"reallyme.jose.v1.JoseJwtEncodeUnsignedRequest"> & {
|
|
364
743
|
/**
|
|
365
744
|
* Claims JSON bytes. Claims can contain PII and must be zeroized after use.
|
|
745
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
366
746
|
*
|
|
367
747
|
* @generated from field: bytes claims_json = 1;
|
|
368
748
|
*/
|
|
@@ -378,6 +758,8 @@ export declare const JoseJwtEncodeUnsignedRequestSchema: GenMessage<JoseJwtEncod
|
|
|
378
758
|
*/
|
|
379
759
|
export type JoseJwtDecodeUnsignedRequest = Message<"reallyme.jose.v1.JoseJwtDecodeUnsignedRequest"> & {
|
|
380
760
|
/**
|
|
761
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
762
|
+
*
|
|
381
763
|
* @generated from field: string compact = 1;
|
|
382
764
|
*/
|
|
383
765
|
compact: string;
|
|
@@ -394,6 +776,7 @@ export type JoseJwtClaimsResult = Message<"reallyme.jose.v1.JoseJwtClaimsResult"
|
|
|
394
776
|
/**
|
|
395
777
|
* Original claims JSON bytes preserved by the wire adapter. These bytes can
|
|
396
778
|
* contain PII and must be zeroized after use.
|
|
779
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
397
780
|
*
|
|
398
781
|
* @generated from field: bytes claims_json = 1;
|
|
399
782
|
*/
|
|
@@ -410,6 +793,7 @@ export declare const JoseJwtClaimsResultSchema: GenMessage<JoseJwtClaimsResult>;
|
|
|
410
793
|
export type JoseJwtSignRequest = Message<"reallyme.jose.v1.JoseJwtSignRequest"> & {
|
|
411
794
|
/**
|
|
412
795
|
* Claims JSON bytes. Claims can contain PII and must be zeroized after use.
|
|
796
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
413
797
|
*
|
|
414
798
|
* @generated from field: bytes claims_json = 1;
|
|
415
799
|
*/
|
|
@@ -417,6 +801,7 @@ export type JoseJwtSignRequest = Message<"reallyme.jose.v1.JoseJwtSignRequest">
|
|
|
417
801
|
/**
|
|
418
802
|
* JWK JSON bytes used for algorithm and key-id binding. Adapters must treat
|
|
419
803
|
* this as sensitive boundary input and avoid logging it.
|
|
804
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
420
805
|
*
|
|
421
806
|
* @generated from field: bytes jwk_json = 2;
|
|
422
807
|
*/
|
|
@@ -424,33 +809,57 @@ export type JoseJwtSignRequest = Message<"reallyme.jose.v1.JoseJwtSignRequest">
|
|
|
424
809
|
/**
|
|
425
810
|
* Sensitive signing key bytes. Adapters must zeroize after dispatch and must
|
|
426
811
|
* not log, trace, or include this field in errors.
|
|
812
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
427
813
|
*
|
|
428
814
|
* @generated from field: bytes private_key = 3;
|
|
429
815
|
*/
|
|
430
816
|
privateKey: Uint8Array;
|
|
431
817
|
/**
|
|
432
|
-
*
|
|
818
|
+
* Absent options use typ JWT. Present options can explicitly omit typ.
|
|
433
819
|
*
|
|
434
|
-
* @generated from field:
|
|
820
|
+
* @generated from field: reallyme.jose.v1.JoseJwtHeaderEncodeOptions header_options = 5;
|
|
435
821
|
*/
|
|
436
|
-
|
|
822
|
+
headerOptions?: JoseJwtHeaderEncodeOptions | undefined;
|
|
437
823
|
};
|
|
438
824
|
/**
|
|
439
825
|
* Describes the message reallyme.jose.v1.JoseJwtSignRequest.
|
|
440
826
|
* Use `create(JoseJwtSignRequestSchema)` to create a new message.
|
|
441
827
|
*/
|
|
442
828
|
export declare const JoseJwtSignRequestSchema: GenMessage<JoseJwtSignRequest>;
|
|
829
|
+
/**
|
|
830
|
+
* Rust view: jwt/validate_header.rs#JwtHeaderEncodeOptions
|
|
831
|
+
* Contract preset: JoseJwtHeaderEncodeOptions standard_jwt_encode = {"typ":"JWT"}
|
|
832
|
+
*
|
|
833
|
+
* @generated from message reallyme.jose.v1.JoseJwtHeaderEncodeOptions
|
|
834
|
+
*/
|
|
835
|
+
export type JoseJwtHeaderEncodeOptions = Message<"reallyme.jose.v1.JoseJwtHeaderEncodeOptions"> & {
|
|
836
|
+
/**
|
|
837
|
+
* Absent means omit typ. A present empty value is invalid.
|
|
838
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
839
|
+
*
|
|
840
|
+
* @generated from field: optional string typ = 1;
|
|
841
|
+
*/
|
|
842
|
+
typ?: string | undefined;
|
|
843
|
+
};
|
|
844
|
+
/**
|
|
845
|
+
* Describes the message reallyme.jose.v1.JoseJwtHeaderEncodeOptions.
|
|
846
|
+
* Use `create(JoseJwtHeaderEncodeOptionsSchema)` to create a new message.
|
|
847
|
+
*/
|
|
848
|
+
export declare const JoseJwtHeaderEncodeOptionsSchema: GenMessage<JoseJwtHeaderEncodeOptions>;
|
|
443
849
|
/**
|
|
444
850
|
* @generated from message reallyme.jose.v1.JoseJwtVerifyRequest
|
|
445
851
|
*/
|
|
446
852
|
export type JoseJwtVerifyRequest = Message<"reallyme.jose.v1.JoseJwtVerifyRequest"> & {
|
|
447
853
|
/**
|
|
854
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
855
|
+
*
|
|
448
856
|
* @generated from field: string compact = 1;
|
|
449
857
|
*/
|
|
450
858
|
compact: string;
|
|
451
859
|
/**
|
|
452
860
|
* JWK JSON bytes used for algorithm and key-id binding. Adapters must treat
|
|
453
861
|
* this as sensitive boundary input and avoid logging it.
|
|
862
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
454
863
|
*
|
|
455
864
|
* @generated from field: bytes jwk_json = 2;
|
|
456
865
|
*/
|
|
@@ -458,6 +867,7 @@ export type JoseJwtVerifyRequest = Message<"reallyme.jose.v1.JoseJwtVerifyReques
|
|
|
458
867
|
/**
|
|
459
868
|
* Public verification key bytes. Public material is still boundary data and
|
|
460
869
|
* must not be copied into errors or telemetry.
|
|
870
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
461
871
|
*
|
|
462
872
|
* @generated from field: bytes public_key = 3;
|
|
463
873
|
*/
|
|
@@ -471,20 +881,11 @@ export type JoseJwtVerifyRequest = Message<"reallyme.jose.v1.JoseJwtVerifyReques
|
|
|
471
881
|
*/
|
|
472
882
|
headerPolicy?: JoseJwtHeaderValidationPolicy | undefined;
|
|
473
883
|
/**
|
|
474
|
-
*
|
|
475
|
-
* verification is performed only when signature_only is true. If present,
|
|
476
|
-
* every boolean, skew, and timestamp field is interpreted literally.
|
|
477
|
-
*
|
|
478
|
-
* @generated from field: reallyme.jose.v1.JoseJwtTemporalValidationPolicy temporal_policy = 5;
|
|
479
|
-
*/
|
|
480
|
-
temporalPolicy?: JoseJwtTemporalValidationPolicy | undefined;
|
|
481
|
-
/**
|
|
482
|
-
* Required when temporal_policy is absent. This makes signature-only
|
|
483
|
-
* verification an explicit adapter choice rather than a proto3 default.
|
|
884
|
+
* A mode must be selected explicitly. Contradictory modes cannot be encoded.
|
|
484
885
|
*
|
|
485
|
-
* @generated from field:
|
|
886
|
+
* @generated from field: reallyme.jose.v1.JoseJwtVerificationPolicy verification = 7;
|
|
486
887
|
*/
|
|
487
|
-
|
|
888
|
+
verification?: JoseJwtVerificationPolicy | undefined;
|
|
488
889
|
};
|
|
489
890
|
/**
|
|
490
891
|
* Describes the message reallyme.jose.v1.JoseJwtVerifyRequest.
|
|
@@ -492,31 +893,77 @@ export type JoseJwtVerifyRequest = Message<"reallyme.jose.v1.JoseJwtVerifyReques
|
|
|
492
893
|
*/
|
|
493
894
|
export declare const JoseJwtVerifyRequestSchema: GenMessage<JoseJwtVerifyRequest>;
|
|
494
895
|
/**
|
|
495
|
-
* @generated from message reallyme.jose.v1.
|
|
896
|
+
* @generated from message reallyme.jose.v1.JoseJwtVerificationPolicy
|
|
496
897
|
*/
|
|
497
|
-
export type
|
|
898
|
+
export type JoseJwtVerificationPolicy = Message<"reallyme.jose.v1.JoseJwtVerificationPolicy"> & {
|
|
498
899
|
/**
|
|
499
|
-
* @generated from
|
|
900
|
+
* @generated from oneof reallyme.jose.v1.JoseJwtVerificationPolicy.mode
|
|
500
901
|
*/
|
|
501
|
-
|
|
902
|
+
mode: {
|
|
903
|
+
/**
|
|
904
|
+
* @generated from field: reallyme.jose.v1.JoseJwtSignatureOnlyPolicy signature_only = 1;
|
|
905
|
+
*/
|
|
906
|
+
value: JoseJwtSignatureOnlyPolicy;
|
|
907
|
+
case: "signatureOnly";
|
|
908
|
+
} | {
|
|
909
|
+
/**
|
|
910
|
+
* @generated from field: reallyme.jose.v1.JoseJwtTemporalValidationPolicy claims = 2;
|
|
911
|
+
*/
|
|
912
|
+
value: JoseJwtTemporalValidationPolicy;
|
|
913
|
+
case: "claims";
|
|
914
|
+
} | {
|
|
915
|
+
/**
|
|
916
|
+
* @generated from field: reallyme.jose.v1.JoseJwtTemporalOnlyPolicy temporal_only = 3;
|
|
917
|
+
*/
|
|
918
|
+
value: JoseJwtTemporalOnlyPolicy;
|
|
919
|
+
case: "temporalOnly";
|
|
920
|
+
} | {
|
|
921
|
+
case: undefined;
|
|
922
|
+
value?: undefined;
|
|
923
|
+
};
|
|
924
|
+
};
|
|
925
|
+
/**
|
|
926
|
+
* Describes the message reallyme.jose.v1.JoseJwtVerificationPolicy.
|
|
927
|
+
* Use `create(JoseJwtVerificationPolicySchema)` to create a new message.
|
|
928
|
+
*/
|
|
929
|
+
export declare const JoseJwtVerificationPolicySchema: GenMessage<JoseJwtVerificationPolicy>;
|
|
930
|
+
/**
|
|
931
|
+
* @generated from message reallyme.jose.v1.JoseJwtSignatureOnlyPolicy
|
|
932
|
+
*/
|
|
933
|
+
export type JoseJwtSignatureOnlyPolicy = Message<"reallyme.jose.v1.JoseJwtSignatureOnlyPolicy"> & {};
|
|
934
|
+
/**
|
|
935
|
+
* Describes the message reallyme.jose.v1.JoseJwtSignatureOnlyPolicy.
|
|
936
|
+
* Use `create(JoseJwtSignatureOnlyPolicySchema)` to create a new message.
|
|
937
|
+
*/
|
|
938
|
+
export declare const JoseJwtSignatureOnlyPolicySchema: GenMessage<JoseJwtSignatureOnlyPolicy>;
|
|
939
|
+
/**
|
|
940
|
+
* Native temporal-only verification remains an explicit weaker mode. It does
|
|
941
|
+
* not establish audience, issuer, or subject authorization.
|
|
942
|
+
*
|
|
943
|
+
* @generated from message reallyme.jose.v1.JoseJwtTemporalOnlyPolicy
|
|
944
|
+
*/
|
|
945
|
+
export type JoseJwtTemporalOnlyPolicy = Message<"reallyme.jose.v1.JoseJwtTemporalOnlyPolicy"> & {
|
|
502
946
|
/**
|
|
503
|
-
* @generated from field:
|
|
947
|
+
* @generated from field: reallyme.jose.v1.JoseJwtTemporalOptions options = 1;
|
|
504
948
|
*/
|
|
505
|
-
|
|
949
|
+
options?: JoseJwtTemporalOptions | undefined;
|
|
506
950
|
/**
|
|
507
|
-
* @generated from field:
|
|
951
|
+
* @generated from field: uint64 now_unix = 2;
|
|
508
952
|
*/
|
|
509
|
-
|
|
953
|
+
nowUnix: bigint;
|
|
510
954
|
};
|
|
511
955
|
/**
|
|
512
|
-
* Describes the message reallyme.jose.v1.
|
|
513
|
-
* Use `create(
|
|
956
|
+
* Describes the message reallyme.jose.v1.JoseJwtTemporalOnlyPolicy.
|
|
957
|
+
* Use `create(JoseJwtTemporalOnlyPolicySchema)` to create a new message.
|
|
514
958
|
*/
|
|
515
|
-
export declare const
|
|
959
|
+
export declare const JoseJwtTemporalOnlyPolicySchema: GenMessage<JoseJwtTemporalOnlyPolicy>;
|
|
516
960
|
/**
|
|
517
|
-
*
|
|
961
|
+
* Rust view: jwt/validate_temporal_claims.rs#JwtTemporalValidationPolicy
|
|
962
|
+
* Contract preset: JoseJwtTemporalOptions strict_temporal = {"requireExp":true,"requireNbf":false,"requireIat":false,"clockSkewSeconds":"60","maxFutureIatSkewSeconds":"60"}
|
|
963
|
+
*
|
|
964
|
+
* @generated from message reallyme.jose.v1.JoseJwtTemporalOptions
|
|
518
965
|
*/
|
|
519
|
-
export type
|
|
966
|
+
export type JoseJwtTemporalOptions = Message<"reallyme.jose.v1.JoseJwtTemporalOptions"> & {
|
|
520
967
|
/**
|
|
521
968
|
* @generated from field: bool require_exp = 1;
|
|
522
969
|
*/
|
|
@@ -537,34 +984,81 @@ export type JoseJwtTemporalValidationPolicy = Message<"reallyme.jose.v1.JoseJwtT
|
|
|
537
984
|
* @generated from field: uint64 max_future_iat_skew_seconds = 5;
|
|
538
985
|
*/
|
|
539
986
|
maxFutureIatSkewSeconds: bigint;
|
|
987
|
+
};
|
|
988
|
+
/**
|
|
989
|
+
* Describes the message reallyme.jose.v1.JoseJwtTemporalOptions.
|
|
990
|
+
* Use `create(JoseJwtTemporalOptionsSchema)` to create a new message.
|
|
991
|
+
*/
|
|
992
|
+
export declare const JoseJwtTemporalOptionsSchema: GenMessage<JoseJwtTemporalOptions>;
|
|
993
|
+
/**
|
|
994
|
+
* Rust view: jwt/validate_header.rs#JwtHeaderValidationOptions
|
|
995
|
+
* Contract preset: JoseJwtHeaderValidationPolicy standard_jwt_header = {"allowMissingTyp":false,"allowEmbeddedKeyHeader":false,"acceptedTypValues":["JWT"]}
|
|
996
|
+
*
|
|
997
|
+
* @generated from message reallyme.jose.v1.JoseJwtHeaderValidationPolicy
|
|
998
|
+
*/
|
|
999
|
+
export type JoseJwtHeaderValidationPolicy = Message<"reallyme.jose.v1.JoseJwtHeaderValidationPolicy"> & {
|
|
540
1000
|
/**
|
|
541
|
-
*
|
|
542
|
-
* proto3 otherwise makes an omitted timestamp indistinguishable from the Unix
|
|
543
|
-
* epoch, which would make expiration validation fail open.
|
|
544
|
-
*
|
|
545
|
-
* @generated from field: uint64 now_unix = 6;
|
|
1001
|
+
* @generated from field: bool allow_missing_typ = 1;
|
|
546
1002
|
*/
|
|
547
|
-
|
|
1003
|
+
allowMissingTyp: boolean;
|
|
548
1004
|
/**
|
|
549
|
-
*
|
|
550
|
-
* this value is empty or the JWT aud claim does not contain it.
|
|
551
|
-
*
|
|
552
|
-
* @generated from field: string expected_audience = 7;
|
|
1005
|
+
* @generated from field: bool allow_embedded_key_header = 2;
|
|
553
1006
|
*/
|
|
554
|
-
|
|
1007
|
+
allowEmbeddedKeyHeader: boolean;
|
|
555
1008
|
/**
|
|
556
|
-
*
|
|
557
|
-
* express presence. New clients use expected_issuer_constraint.
|
|
1009
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
558
1010
|
*
|
|
559
|
-
* @generated from field: string
|
|
1011
|
+
* @generated from field: repeated string accepted_typ_values = 3;
|
|
1012
|
+
*/
|
|
1013
|
+
acceptedTypValues: string[];
|
|
1014
|
+
};
|
|
1015
|
+
/**
|
|
1016
|
+
* Describes the message reallyme.jose.v1.JoseJwtHeaderValidationPolicy.
|
|
1017
|
+
* Use `create(JoseJwtHeaderValidationPolicySchema)` to create a new message.
|
|
1018
|
+
*/
|
|
1019
|
+
export declare const JoseJwtHeaderValidationPolicySchema: GenMessage<JoseJwtHeaderValidationPolicy>;
|
|
1020
|
+
/**
|
|
1021
|
+
* Rust view: jwt/validate_registered_claims.rs#JwtClaimsValidationPolicy
|
|
1022
|
+
*
|
|
1023
|
+
* @generated from message reallyme.jose.v1.JoseJwtTemporalValidationPolicy
|
|
1024
|
+
*/
|
|
1025
|
+
export type JoseJwtTemporalValidationPolicy = Message<"reallyme.jose.v1.JoseJwtTemporalValidationPolicy"> & {
|
|
1026
|
+
/**
|
|
1027
|
+
* @generated from field: bool require_exp = 1;
|
|
1028
|
+
*/
|
|
1029
|
+
requireExp: boolean;
|
|
1030
|
+
/**
|
|
1031
|
+
* @generated from field: bool require_nbf = 2;
|
|
1032
|
+
*/
|
|
1033
|
+
requireNbf: boolean;
|
|
1034
|
+
/**
|
|
1035
|
+
* @generated from field: bool require_iat = 3;
|
|
1036
|
+
*/
|
|
1037
|
+
requireIat: boolean;
|
|
1038
|
+
/**
|
|
1039
|
+
* @generated from field: uint64 clock_skew_seconds = 4;
|
|
1040
|
+
*/
|
|
1041
|
+
clockSkewSeconds: bigint;
|
|
1042
|
+
/**
|
|
1043
|
+
* @generated from field: uint64 max_future_iat_skew_seconds = 5;
|
|
560
1044
|
*/
|
|
561
|
-
|
|
1045
|
+
maxFutureIatSkewSeconds: bigint;
|
|
1046
|
+
/**
|
|
1047
|
+
* Required to be nonzero. Zero is rejected at the wire boundary because
|
|
1048
|
+
* proto3 otherwise makes an omitted timestamp indistinguishable from the Unix
|
|
1049
|
+
* epoch, which would make expiration validation fail open.
|
|
1050
|
+
*
|
|
1051
|
+
* @generated from field: uint64 now_unix = 6;
|
|
1052
|
+
*/
|
|
1053
|
+
nowUnix: bigint;
|
|
562
1054
|
/**
|
|
563
|
-
*
|
|
1055
|
+
* Required recipient identifier. Temporal verification fails closed when
|
|
1056
|
+
* this value is empty or the JWT aud claim does not contain it.
|
|
1057
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
564
1058
|
*
|
|
565
|
-
* @generated from field: string
|
|
1059
|
+
* @generated from field: string expected_audience = 7;
|
|
566
1060
|
*/
|
|
567
|
-
|
|
1061
|
+
expectedAudience: string;
|
|
568
1062
|
/**
|
|
569
1063
|
* Presence-sensitive exact issuer constraint. A present empty value is
|
|
570
1064
|
* invalid, so an empty caller configuration cannot disable verification.
|
|
@@ -585,6 +1079,8 @@ export type JoseJwtTemporalValidationPolicy = Message<"reallyme.jose.v1.JoseJwtT
|
|
|
585
1079
|
*/
|
|
586
1080
|
export declare const JoseJwtTemporalValidationPolicySchema: GenMessage<JoseJwtTemporalValidationPolicy>;
|
|
587
1081
|
/**
|
|
1082
|
+
* Rust view: jwe/encrypt.rs#CompactJweEncryptRequest
|
|
1083
|
+
*
|
|
588
1084
|
* @generated from message reallyme.jose.v1.JoseJweEncryptRequest
|
|
589
1085
|
*/
|
|
590
1086
|
export type JoseJweEncryptRequest = Message<"reallyme.jose.v1.JoseJweEncryptRequest"> & {
|
|
@@ -599,6 +1095,7 @@ export type JoseJweEncryptRequest = Message<"reallyme.jose.v1.JoseJweEncryptRequ
|
|
|
599
1095
|
/**
|
|
600
1096
|
* Sensitive direct CEK or recipient public/agreement key bytes, depending on
|
|
601
1097
|
* key_management_algorithm. Adapters must zeroize after dispatch.
|
|
1098
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
602
1099
|
*
|
|
603
1100
|
* @generated from field: bytes key = 3;
|
|
604
1101
|
*/
|
|
@@ -606,36 +1103,45 @@ export type JoseJweEncryptRequest = Message<"reallyme.jose.v1.JoseJweEncryptRequ
|
|
|
606
1103
|
/**
|
|
607
1104
|
* Sensitive plaintext bytes. Adapters must zeroize after dispatch and must
|
|
608
1105
|
* not log, trace, or include this field in errors.
|
|
1106
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
609
1107
|
*
|
|
610
1108
|
* @generated from field: bytes plaintext = 4;
|
|
611
1109
|
*/
|
|
612
1110
|
plaintext: Uint8Array;
|
|
613
1111
|
/**
|
|
614
|
-
*
|
|
1112
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
1113
|
+
*
|
|
1114
|
+
* @generated from field: optional string kid = 5;
|
|
615
1115
|
*/
|
|
616
|
-
kid
|
|
1116
|
+
kid?: string | undefined;
|
|
617
1117
|
/**
|
|
618
1118
|
* Agreement PartyUInfo. This can be correlating protocol metadata and must
|
|
619
1119
|
* not be copied into errors or telemetry.
|
|
1120
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
620
1121
|
*
|
|
621
|
-
* @generated from field: bytes apu = 6;
|
|
1122
|
+
* @generated from field: optional bytes apu = 6;
|
|
622
1123
|
*/
|
|
623
|
-
apu
|
|
1124
|
+
apu?: Uint8Array | undefined;
|
|
624
1125
|
/**
|
|
625
1126
|
* Agreement PartyVInfo. This can be correlating protocol metadata and must
|
|
626
1127
|
* not be copied into errors or telemetry.
|
|
1128
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
627
1129
|
*
|
|
628
|
-
* @generated from field: bytes apv = 7;
|
|
1130
|
+
* @generated from field: optional bytes apv = 7;
|
|
629
1131
|
*/
|
|
630
|
-
apv
|
|
1132
|
+
apv?: Uint8Array | undefined;
|
|
631
1133
|
/**
|
|
632
|
-
*
|
|
1134
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
1135
|
+
*
|
|
1136
|
+
* @generated from field: optional string typ = 8;
|
|
633
1137
|
*/
|
|
634
|
-
typ
|
|
1138
|
+
typ?: string | undefined;
|
|
635
1139
|
/**
|
|
636
|
-
*
|
|
1140
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
1141
|
+
*
|
|
1142
|
+
* @generated from field: optional string cty = 9;
|
|
637
1143
|
*/
|
|
638
|
-
cty
|
|
1144
|
+
cty?: string | undefined;
|
|
639
1145
|
/**
|
|
640
1146
|
* Optional plaintext compression performed before content encryption.
|
|
641
1147
|
*
|
|
@@ -653,6 +1159,8 @@ export declare const JoseJweEncryptRequestSchema: GenMessage<JoseJweEncryptReque
|
|
|
653
1159
|
*/
|
|
654
1160
|
export type JoseJweDecryptRequest = Message<"reallyme.jose.v1.JoseJweDecryptRequest"> & {
|
|
655
1161
|
/**
|
|
1162
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
1163
|
+
*
|
|
656
1164
|
* @generated from field: string compact = 1;
|
|
657
1165
|
*/
|
|
658
1166
|
compact: string;
|
|
@@ -667,6 +1175,7 @@ export type JoseJweDecryptRequest = Message<"reallyme.jose.v1.JoseJweDecryptRequ
|
|
|
667
1175
|
/**
|
|
668
1176
|
* Sensitive direct CEK or recipient private/agreement key bytes, depending on
|
|
669
1177
|
* key_management_algorithm. Adapters must zeroize after dispatch.
|
|
1178
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
670
1179
|
*
|
|
671
1180
|
* @generated from field: bytes key = 4;
|
|
672
1181
|
*/
|
|
@@ -689,6 +1198,8 @@ export declare const JoseJweDecryptRequestSchema: GenMessage<JoseJweDecryptReque
|
|
|
689
1198
|
*/
|
|
690
1199
|
export type JoseExpectedString = Message<"reallyme.jose.v1.JoseExpectedString"> & {
|
|
691
1200
|
/**
|
|
1201
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
1202
|
+
*
|
|
692
1203
|
* @generated from field: string value = 1;
|
|
693
1204
|
*/
|
|
694
1205
|
value: string;
|
|
@@ -703,6 +1214,8 @@ export declare const JoseExpectedStringSchema: GenMessage<JoseExpectedString>;
|
|
|
703
1214
|
*/
|
|
704
1215
|
export type JoseExpectedBytes = Message<"reallyme.jose.v1.JoseExpectedBytes"> & {
|
|
705
1216
|
/**
|
|
1217
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
1218
|
+
*
|
|
706
1219
|
* @generated from field: bytes value = 1;
|
|
707
1220
|
*/
|
|
708
1221
|
value: Uint8Array;
|
|
@@ -759,6 +1272,7 @@ export type JoseJwePlaintextResult = Message<"reallyme.jose.v1.JoseJwePlaintextR
|
|
|
759
1272
|
/**
|
|
760
1273
|
* Sensitive decrypted plaintext bytes. Adapters must zeroize after use and
|
|
761
1274
|
* must not log, trace, or include this field in errors.
|
|
1275
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
762
1276
|
*
|
|
763
1277
|
* @generated from field: bytes plaintext = 1;
|
|
764
1278
|
*/
|
|
@@ -1002,487 +1516,2020 @@ export type JoseJweDecryptResponse = Message<"reallyme.jose.v1.JoseJweDecryptRes
|
|
|
1002
1516
|
*/
|
|
1003
1517
|
export declare const JoseJweDecryptResponseSchema: GenMessage<JoseJweDecryptResponse>;
|
|
1004
1518
|
/**
|
|
1005
|
-
*
|
|
1006
|
-
* Values are stable public boundary codes; internal Rust, Swift, Kotlin, and
|
|
1007
|
-
* TypeScript errors must map into one of these before crossing RPC, SDK, FFI,
|
|
1008
|
-
* storage, audit, or telemetry boundaries.
|
|
1009
|
-
*
|
|
1010
|
-
* @generated from enum reallyme.jose.v1.JoseErrorReason
|
|
1519
|
+
* @generated from message reallyme.jose.v1.JoseSignatureSignRequest
|
|
1011
1520
|
*/
|
|
1012
|
-
export
|
|
1521
|
+
export type JoseSignatureSignRequest = Message<"reallyme.jose.v1.JoseSignatureSignRequest"> & {
|
|
1013
1522
|
/**
|
|
1014
|
-
* @generated from
|
|
1523
|
+
* @generated from field: reallyme.jose.v1.JoseSignatureAlgorithm algorithm = 1;
|
|
1015
1524
|
*/
|
|
1016
|
-
|
|
1525
|
+
algorithm: JoseSignatureAlgorithm;
|
|
1017
1526
|
/**
|
|
1018
|
-
*
|
|
1527
|
+
* SENSITIVE: raw private key; only the fixed-width P-256 profile is supported.
|
|
1019
1528
|
*
|
|
1020
|
-
* @generated from
|
|
1529
|
+
* @generated from field: bytes private_key = 2;
|
|
1021
1530
|
*/
|
|
1022
|
-
|
|
1531
|
+
privateKey: Uint8Array;
|
|
1023
1532
|
/**
|
|
1024
|
-
*
|
|
1533
|
+
* SENSITIVE: exact caller bytes passed to the signature primitive.
|
|
1534
|
+
*
|
|
1535
|
+
* @generated from field: bytes signing_input = 3;
|
|
1025
1536
|
*/
|
|
1026
|
-
|
|
1537
|
+
signingInput: Uint8Array;
|
|
1538
|
+
};
|
|
1539
|
+
/**
|
|
1540
|
+
* Describes the message reallyme.jose.v1.JoseSignatureSignRequest.
|
|
1541
|
+
* Use `create(JoseSignatureSignRequestSchema)` to create a new message.
|
|
1542
|
+
*/
|
|
1543
|
+
export declare const JoseSignatureSignRequestSchema: GenMessage<JoseSignatureSignRequest>;
|
|
1544
|
+
/**
|
|
1545
|
+
* @generated from message reallyme.jose.v1.JoseSignatureVerifyRequest
|
|
1546
|
+
*/
|
|
1547
|
+
export type JoseSignatureVerifyRequest = Message<"reallyme.jose.v1.JoseSignatureVerifyRequest"> & {
|
|
1027
1548
|
/**
|
|
1028
|
-
* @generated from
|
|
1549
|
+
* @generated from field: reallyme.jose.v1.JoseSignatureAlgorithm algorithm = 1;
|
|
1029
1550
|
*/
|
|
1030
|
-
|
|
1551
|
+
algorithm: JoseSignatureAlgorithm;
|
|
1031
1552
|
/**
|
|
1032
|
-
*
|
|
1553
|
+
* SENSITIVE: exact caller bytes passed to the verification primitive.
|
|
1554
|
+
*
|
|
1555
|
+
* @generated from field: bytes signing_input = 2;
|
|
1033
1556
|
*/
|
|
1034
|
-
|
|
1557
|
+
signingInput: Uint8Array;
|
|
1035
1558
|
/**
|
|
1036
|
-
*
|
|
1559
|
+
* SENSITIVE: public key metadata must not enter diagnostics.
|
|
1560
|
+
*
|
|
1561
|
+
* @generated from field: bytes public_key = 3;
|
|
1037
1562
|
*/
|
|
1038
|
-
|
|
1563
|
+
publicKey: Uint8Array;
|
|
1039
1564
|
/**
|
|
1040
|
-
*
|
|
1565
|
+
* SENSITIVE: fixed-width signature bytes.
|
|
1041
1566
|
*
|
|
1042
|
-
* @generated from
|
|
1567
|
+
* @generated from field: bytes signature = 4;
|
|
1043
1568
|
*/
|
|
1044
|
-
|
|
1569
|
+
signature: Uint8Array;
|
|
1570
|
+
};
|
|
1571
|
+
/**
|
|
1572
|
+
* Describes the message reallyme.jose.v1.JoseSignatureVerifyRequest.
|
|
1573
|
+
* Use `create(JoseSignatureVerifyRequestSchema)` to create a new message.
|
|
1574
|
+
*/
|
|
1575
|
+
export declare const JoseSignatureVerifyRequestSchema: GenMessage<JoseSignatureVerifyRequest>;
|
|
1576
|
+
/**
|
|
1577
|
+
* @generated from message reallyme.jose.v1.JoseSignatureResult
|
|
1578
|
+
*/
|
|
1579
|
+
export type JoseSignatureResult = Message<"reallyme.jose.v1.JoseSignatureResult"> & {
|
|
1045
1580
|
/**
|
|
1046
|
-
*
|
|
1581
|
+
* SENSITIVE: fixed-width signature bytes.
|
|
1582
|
+
*
|
|
1583
|
+
* @generated from field: bytes signature = 1;
|
|
1047
1584
|
*/
|
|
1048
|
-
|
|
1585
|
+
signature: Uint8Array;
|
|
1586
|
+
};
|
|
1587
|
+
/**
|
|
1588
|
+
* Describes the message reallyme.jose.v1.JoseSignatureResult.
|
|
1589
|
+
* Use `create(JoseSignatureResultSchema)` to create a new message.
|
|
1590
|
+
*/
|
|
1591
|
+
export declare const JoseSignatureResultSchema: GenMessage<JoseSignatureResult>;
|
|
1592
|
+
/**
|
|
1593
|
+
* @generated from message reallyme.jose.v1.JoseValidationResult
|
|
1594
|
+
*/
|
|
1595
|
+
export type JoseValidationResult = Message<"reallyme.jose.v1.JoseValidationResult"> & {};
|
|
1596
|
+
/**
|
|
1597
|
+
* Describes the message reallyme.jose.v1.JoseValidationResult.
|
|
1598
|
+
* Use `create(JoseValidationResultSchema)` to create a new message.
|
|
1599
|
+
*/
|
|
1600
|
+
export declare const JoseValidationResultSchema: GenMessage<JoseValidationResult>;
|
|
1601
|
+
/**
|
|
1602
|
+
* @generated from message reallyme.jose.v1.JoseSignatureSuiteInfoRequest
|
|
1603
|
+
*/
|
|
1604
|
+
export type JoseSignatureSuiteInfoRequest = Message<"reallyme.jose.v1.JoseSignatureSuiteInfoRequest"> & {
|
|
1049
1605
|
/**
|
|
1050
|
-
* @generated from
|
|
1606
|
+
* @generated from field: reallyme.jose.v1.JoseSignatureAlgorithm algorithm = 1;
|
|
1051
1607
|
*/
|
|
1052
|
-
|
|
1608
|
+
algorithm: JoseSignatureAlgorithm;
|
|
1609
|
+
};
|
|
1610
|
+
/**
|
|
1611
|
+
* Describes the message reallyme.jose.v1.JoseSignatureSuiteInfoRequest.
|
|
1612
|
+
* Use `create(JoseSignatureSuiteInfoRequestSchema)` to create a new message.
|
|
1613
|
+
*/
|
|
1614
|
+
export declare const JoseSignatureSuiteInfoRequestSchema: GenMessage<JoseSignatureSuiteInfoRequest>;
|
|
1615
|
+
/**
|
|
1616
|
+
* @generated from message reallyme.jose.v1.JoseSignatureSuiteInfoResult
|
|
1617
|
+
*/
|
|
1618
|
+
export type JoseSignatureSuiteInfoResult = Message<"reallyme.jose.v1.JoseSignatureSuiteInfoResult"> & {
|
|
1053
1619
|
/**
|
|
1054
|
-
*
|
|
1055
|
-
*
|
|
1056
|
-
* @generated from enum value: JOSE_ERROR_REASON_JWS_BAD_SIGNATURE_BASE64 = 140;
|
|
1620
|
+
* @generated from field: reallyme.jose.v1.JoseSignatureAlgorithm algorithm = 1;
|
|
1057
1621
|
*/
|
|
1058
|
-
|
|
1622
|
+
algorithm: JoseSignatureAlgorithm;
|
|
1059
1623
|
/**
|
|
1060
|
-
* @generated from
|
|
1624
|
+
* @generated from field: reallyme.jose.v1.JoseNamedCurve curve = 2;
|
|
1061
1625
|
*/
|
|
1062
|
-
|
|
1626
|
+
curve: JoseNamedCurve;
|
|
1063
1627
|
/**
|
|
1064
|
-
* @generated from
|
|
1628
|
+
* @generated from field: reallyme.jose.v1.JoseSignatureEncoding encoding = 3;
|
|
1065
1629
|
*/
|
|
1066
|
-
|
|
1630
|
+
encoding: JoseSignatureEncoding;
|
|
1067
1631
|
/**
|
|
1068
|
-
*
|
|
1632
|
+
* @generated from field: uint32 signature_bytes = 4;
|
|
1633
|
+
*/
|
|
1634
|
+
signatureBytes: number;
|
|
1635
|
+
/**
|
|
1636
|
+
* Whether standalone signature_sign/signature_verify have a built-in provider.
|
|
1637
|
+
* Other operations such as JWT may support additional algorithms.
|
|
1069
1638
|
*
|
|
1070
|
-
* @generated from
|
|
1639
|
+
* @generated from field: bool builtin_provider = 5;
|
|
1071
1640
|
*/
|
|
1072
|
-
|
|
1641
|
+
builtinProvider: boolean;
|
|
1642
|
+
};
|
|
1643
|
+
/**
|
|
1644
|
+
* Describes the message reallyme.jose.v1.JoseSignatureSuiteInfoResult.
|
|
1645
|
+
* Use `create(JoseSignatureSuiteInfoResultSchema)` to create a new message.
|
|
1646
|
+
*/
|
|
1647
|
+
export declare const JoseSignatureSuiteInfoResultSchema: GenMessage<JoseSignatureSuiteInfoResult>;
|
|
1648
|
+
/**
|
|
1649
|
+
* Rust capability: lib.rs#Algorithm
|
|
1650
|
+
* Rust capability: lib.rs#Jwk
|
|
1651
|
+
* Rust capability: lib.rs#SecureRandom
|
|
1652
|
+
* Rust capability: lib.rs#OsSecureRandom
|
|
1653
|
+
* Rust capability: lib.rs#JsonValue
|
|
1654
|
+
* Rust capability: lib.rs#Zeroizing
|
|
1655
|
+
* Rust capability: lib.rs#Signer
|
|
1656
|
+
*
|
|
1657
|
+
* @generated from message reallyme.jose.v1.JoseJwtSignWithProviderRequest
|
|
1658
|
+
*/
|
|
1659
|
+
export type JoseJwtSignWithProviderRequest = Message<"reallyme.jose.v1.JoseJwtSignWithProviderRequest"> & {
|
|
1073
1660
|
/**
|
|
1074
|
-
*
|
|
1661
|
+
* SENSITIVE: exact claims document; JSON can contain identifying information.
|
|
1662
|
+
*
|
|
1663
|
+
* @generated from field: bytes claims_json = 1;
|
|
1075
1664
|
*/
|
|
1076
|
-
|
|
1665
|
+
claimsJson: Uint8Array;
|
|
1077
1666
|
/**
|
|
1078
|
-
*
|
|
1667
|
+
* SENSITIVE: JWK public metadata bound to the selected signer.
|
|
1079
1668
|
*
|
|
1080
|
-
* @generated from
|
|
1669
|
+
* @generated from field: bytes jwk_json = 2;
|
|
1081
1670
|
*/
|
|
1082
|
-
|
|
1671
|
+
jwkJson: Uint8Array;
|
|
1083
1672
|
/**
|
|
1084
|
-
*
|
|
1673
|
+
* SENSITIVE: nonzero handle scoped to the caller's injected provider context.
|
|
1674
|
+
*
|
|
1675
|
+
* @generated from field: optional uint64 signer_handle = 3;
|
|
1085
1676
|
*/
|
|
1086
|
-
|
|
1677
|
+
signerHandle?: bigint | undefined;
|
|
1087
1678
|
/**
|
|
1088
|
-
* @generated from
|
|
1679
|
+
* @generated from field: reallyme.jose.v1.JoseJwtHeaderEncodeOptions header_options = 4;
|
|
1089
1680
|
*/
|
|
1090
|
-
|
|
1681
|
+
headerOptions?: JoseJwtHeaderEncodeOptions | undefined;
|
|
1682
|
+
};
|
|
1683
|
+
/**
|
|
1684
|
+
* Describes the message reallyme.jose.v1.JoseJwtSignWithProviderRequest.
|
|
1685
|
+
* Use `create(JoseJwtSignWithProviderRequestSchema)` to create a new message.
|
|
1686
|
+
*/
|
|
1687
|
+
export declare const JoseJwtSignWithProviderRequestSchema: GenMessage<JoseJwtSignWithProviderRequest>;
|
|
1688
|
+
/**
|
|
1689
|
+
* Native CompactJweProtectedHeader is a borrowed/owned view of these fields.
|
|
1690
|
+
* Party information is decoded bytes here and Base64URL in JOSE JSON.
|
|
1691
|
+
* Rust view: jwe/validate_header.rs#CompactJweProtectedHeader
|
|
1692
|
+
*
|
|
1693
|
+
* @generated from message reallyme.jose.v1.JoseJweProtectedHeader
|
|
1694
|
+
*/
|
|
1695
|
+
export type JoseJweProtectedHeader = Message<"reallyme.jose.v1.JoseJweProtectedHeader"> & {
|
|
1091
1696
|
/**
|
|
1092
|
-
*
|
|
1697
|
+
* Rust field: jwe/validate_header.rs#CompactJweProtectedHeader.alg = algorithm
|
|
1698
|
+
* Rust field: jwe/validate_header.rs#CompactJweProtectedHeader.enc = content_encryption_algorithm
|
|
1699
|
+
* Rust field: jwe/validate_header.rs#CompactJweProtectedHeader.zip = compression_algorithm
|
|
1700
|
+
* Rust field: jwe/validate_header.rs#CompactJweProtectedHeader.epk = epk_json
|
|
1093
1701
|
*
|
|
1094
|
-
* @generated from
|
|
1702
|
+
* @generated from field: reallyme.jose.v1.JoseJweHeaderAlgorithm algorithm = 1;
|
|
1095
1703
|
*/
|
|
1096
|
-
|
|
1704
|
+
algorithm: JoseJweHeaderAlgorithm;
|
|
1097
1705
|
/**
|
|
1098
|
-
* @generated from
|
|
1706
|
+
* @generated from field: reallyme.jose.v1.JoseJweContentEncryptionAlgorithm content_encryption_algorithm = 2;
|
|
1099
1707
|
*/
|
|
1100
|
-
|
|
1708
|
+
contentEncryptionAlgorithm: JoseJweContentEncryptionAlgorithm;
|
|
1101
1709
|
/**
|
|
1102
|
-
* @generated from
|
|
1710
|
+
* @generated from field: optional reallyme.jose.v1.JoseJweCompressionAlgorithm compression_algorithm = 3;
|
|
1103
1711
|
*/
|
|
1104
|
-
|
|
1712
|
+
compressionAlgorithm?: JoseJweCompressionAlgorithm | undefined;
|
|
1105
1713
|
/**
|
|
1106
|
-
*
|
|
1714
|
+
* SENSITIVE: correlating key identifier.
|
|
1715
|
+
*
|
|
1716
|
+
* @generated from field: optional string kid = 4;
|
|
1107
1717
|
*/
|
|
1108
|
-
|
|
1718
|
+
kid?: string | undefined;
|
|
1109
1719
|
/**
|
|
1110
|
-
*
|
|
1720
|
+
* SENSITIVE: Agreement PartyUInfo.
|
|
1721
|
+
*
|
|
1722
|
+
* @generated from field: optional bytes apu = 5;
|
|
1111
1723
|
*/
|
|
1112
|
-
|
|
1724
|
+
apu?: Uint8Array | undefined;
|
|
1113
1725
|
/**
|
|
1114
|
-
*
|
|
1726
|
+
* SENSITIVE: Agreement PartyVInfo.
|
|
1727
|
+
*
|
|
1728
|
+
* @generated from field: optional bytes apv = 6;
|
|
1115
1729
|
*/
|
|
1116
|
-
|
|
1730
|
+
apv?: Uint8Array | undefined;
|
|
1117
1731
|
/**
|
|
1118
|
-
*
|
|
1732
|
+
* SENSITIVE: encoded ephemeral public-only JWK.
|
|
1733
|
+
*
|
|
1734
|
+
* @generated from field: optional bytes epk_json = 7;
|
|
1119
1735
|
*/
|
|
1120
|
-
|
|
1736
|
+
epkJson?: Uint8Array | undefined;
|
|
1121
1737
|
/**
|
|
1122
|
-
*
|
|
1738
|
+
* SENSITIVE: application context metadata.
|
|
1739
|
+
*
|
|
1740
|
+
* @generated from field: optional string typ = 8;
|
|
1123
1741
|
*/
|
|
1124
|
-
|
|
1742
|
+
typ?: string | undefined;
|
|
1125
1743
|
/**
|
|
1126
|
-
*
|
|
1744
|
+
* SENSITIVE: application context metadata.
|
|
1745
|
+
*
|
|
1746
|
+
* @generated from field: optional string cty = 9;
|
|
1127
1747
|
*/
|
|
1128
|
-
|
|
1748
|
+
cty?: string | undefined;
|
|
1749
|
+
};
|
|
1750
|
+
/**
|
|
1751
|
+
* Describes the message reallyme.jose.v1.JoseJweProtectedHeader.
|
|
1752
|
+
* Use `create(JoseJweProtectedHeaderSchema)` to create a new message.
|
|
1753
|
+
*/
|
|
1754
|
+
export declare const JoseJweProtectedHeaderSchema: GenMessage<JoseJweProtectedHeader>;
|
|
1755
|
+
/**
|
|
1756
|
+
* @generated from message reallyme.jose.v1.JoseJweDeriveKeyRequest
|
|
1757
|
+
*/
|
|
1758
|
+
export type JoseJweDeriveKeyRequest = Message<"reallyme.jose.v1.JoseJweDeriveKeyRequest"> & {
|
|
1129
1759
|
/**
|
|
1130
|
-
*
|
|
1760
|
+
* SENSITIVE: caller-computed ECDH shared secret.
|
|
1131
1761
|
*
|
|
1132
|
-
* @generated from
|
|
1762
|
+
* @generated from field: bytes shared_secret = 1;
|
|
1133
1763
|
*/
|
|
1134
|
-
|
|
1764
|
+
sharedSecret: Uint8Array;
|
|
1135
1765
|
/**
|
|
1136
|
-
* @generated from
|
|
1766
|
+
* @generated from field: reallyme.jose.v1.JoseJweProtectedHeader header = 2;
|
|
1137
1767
|
*/
|
|
1138
|
-
|
|
1768
|
+
header?: JoseJweProtectedHeader | undefined;
|
|
1769
|
+
};
|
|
1770
|
+
/**
|
|
1771
|
+
* Describes the message reallyme.jose.v1.JoseJweDeriveKeyRequest.
|
|
1772
|
+
* Use `create(JoseJweDeriveKeyRequestSchema)` to create a new message.
|
|
1773
|
+
*/
|
|
1774
|
+
export declare const JoseJweDeriveKeyRequestSchema: GenMessage<JoseJweDeriveKeyRequest>;
|
|
1775
|
+
/**
|
|
1776
|
+
* @generated from message reallyme.jose.v1.JoseSecretBytes
|
|
1777
|
+
*/
|
|
1778
|
+
export type JoseSecretBytes = Message<"reallyme.jose.v1.JoseSecretBytes"> & {
|
|
1139
1779
|
/**
|
|
1140
|
-
*
|
|
1780
|
+
* SENSITIVE: derived key material; every owner must wipe on drop.
|
|
1781
|
+
*
|
|
1782
|
+
* @generated from field: bytes value = 1;
|
|
1141
1783
|
*/
|
|
1142
|
-
|
|
1784
|
+
value: Uint8Array;
|
|
1785
|
+
};
|
|
1786
|
+
/**
|
|
1787
|
+
* Describes the message reallyme.jose.v1.JoseSecretBytes.
|
|
1788
|
+
* Use `create(JoseSecretBytesSchema)` to create a new message.
|
|
1789
|
+
*/
|
|
1790
|
+
export declare const JoseSecretBytesSchema: GenMessage<JoseSecretBytes>;
|
|
1791
|
+
/**
|
|
1792
|
+
* Rust capability: jwe/encrypt/key_management.rs#JweContentEncryptionKeyEncryptor
|
|
1793
|
+
* Rust capability: jwe/encrypt/key_management.rs#PreparedJweEncryptionKey
|
|
1794
|
+
* Rust capability: jwe/encrypt/key_management.rs#DirectJweKeyEncryptor
|
|
1795
|
+
* Rust capability: jwe/encrypt/key_management.rs#P256EcdhEsJweKeyEncryptor
|
|
1796
|
+
* Rust capability: jwe/encrypt/key_management.rs#P384EcdhEsJweKeyEncryptor
|
|
1797
|
+
* Rust capability: jwe/encrypt/key_management.rs#P521EcdhEsJweKeyEncryptor
|
|
1798
|
+
*
|
|
1799
|
+
* @generated from message reallyme.jose.v1.JoseJweEncryptWithProviderRequest
|
|
1800
|
+
*/
|
|
1801
|
+
export type JoseJweEncryptWithProviderRequest = Message<"reallyme.jose.v1.JoseJweEncryptWithProviderRequest"> & {
|
|
1143
1802
|
/**
|
|
1144
|
-
*
|
|
1803
|
+
* Inline key must be empty; the injected encryptor owns key selection.
|
|
1804
|
+
*
|
|
1805
|
+
* @generated from field: reallyme.jose.v1.JoseJweEncryptRequest parameters = 1;
|
|
1145
1806
|
*/
|
|
1146
|
-
|
|
1807
|
+
parameters?: JoseJweEncryptRequest | undefined;
|
|
1147
1808
|
/**
|
|
1148
|
-
*
|
|
1809
|
+
* SENSITIVE: application-local, nonzero capability handle.
|
|
1810
|
+
*
|
|
1811
|
+
* @generated from field: optional uint64 provider_handle = 2;
|
|
1149
1812
|
*/
|
|
1150
|
-
|
|
1813
|
+
providerHandle?: bigint | undefined;
|
|
1814
|
+
};
|
|
1815
|
+
/**
|
|
1816
|
+
* Describes the message reallyme.jose.v1.JoseJweEncryptWithProviderRequest.
|
|
1817
|
+
* Use `create(JoseJweEncryptWithProviderRequestSchema)` to create a new message.
|
|
1818
|
+
*/
|
|
1819
|
+
export declare const JoseJweEncryptWithProviderRequestSchema: GenMessage<JoseJweEncryptWithProviderRequest>;
|
|
1820
|
+
/**
|
|
1821
|
+
* Rust view: jwe/validate_header.rs#CompactJwePolicy
|
|
1822
|
+
* Contract preset: JoseJwePolicy openid4vp = {"allowedKeyManagementAlgorithms":["JOSE_JWE_HEADER_ALGORITHM_ECDH_ES","JOSE_JWE_HEADER_ALGORITHM_DIRECT"],"allowedContentEncryptionAlgorithms":["JOSE_JWE_CONTENT_ENCRYPTION_ALGORITHM_A128GCM","JOSE_JWE_CONTENT_ENCRYPTION_ALGORITHM_A192GCM","JOSE_JWE_CONTENT_ENCRYPTION_ALGORITHM_A256GCM"],"headerPolicy":{}}
|
|
1823
|
+
*
|
|
1824
|
+
* @generated from message reallyme.jose.v1.JoseJwePolicy
|
|
1825
|
+
*/
|
|
1826
|
+
export type JoseJwePolicy = Message<"reallyme.jose.v1.JoseJwePolicy"> & {
|
|
1151
1827
|
/**
|
|
1152
|
-
* @generated from
|
|
1828
|
+
* @generated from field: repeated reallyme.jose.v1.JoseJweHeaderAlgorithm allowed_key_management_algorithms = 1;
|
|
1153
1829
|
*/
|
|
1154
|
-
|
|
1830
|
+
allowedKeyManagementAlgorithms: JoseJweHeaderAlgorithm[];
|
|
1155
1831
|
/**
|
|
1156
|
-
* @generated from
|
|
1832
|
+
* @generated from field: repeated reallyme.jose.v1.JoseJweContentEncryptionAlgorithm allowed_content_encryption_algorithms = 2;
|
|
1157
1833
|
*/
|
|
1158
|
-
|
|
1834
|
+
allowedContentEncryptionAlgorithms: JoseJweContentEncryptionAlgorithm[];
|
|
1159
1835
|
/**
|
|
1160
|
-
* @generated from
|
|
1836
|
+
* @generated from field: reallyme.jose.v1.JoseJweHeaderValidationPolicy header_policy = 3;
|
|
1161
1837
|
*/
|
|
1162
|
-
|
|
1838
|
+
headerPolicy?: JoseJweHeaderValidationPolicy | undefined;
|
|
1839
|
+
};
|
|
1840
|
+
/**
|
|
1841
|
+
* Describes the message reallyme.jose.v1.JoseJwePolicy.
|
|
1842
|
+
* Use `create(JoseJwePolicySchema)` to create a new message.
|
|
1843
|
+
*/
|
|
1844
|
+
export declare const JoseJwePolicySchema: GenMessage<JoseJwePolicy>;
|
|
1845
|
+
/**
|
|
1846
|
+
* Rust capability: jwe/decrypt.rs#JweContentEncryptionKeyResolver
|
|
1847
|
+
* Rust capability: jwe/decrypt.rs#DirectJweKeyResolver
|
|
1848
|
+
* Rust capability: jwe/encrypt/key_management.rs#P256EcdhEsJweKeyResolver
|
|
1849
|
+
* Rust capability: jwe/encrypt/key_management.rs#P384EcdhEsJweKeyResolver
|
|
1850
|
+
* Rust capability: jwe/encrypt/key_management.rs#P521EcdhEsJweKeyResolver
|
|
1851
|
+
*
|
|
1852
|
+
* @generated from message reallyme.jose.v1.JoseJweDecryptWithProviderRequest
|
|
1853
|
+
*/
|
|
1854
|
+
export type JoseJweDecryptWithProviderRequest = Message<"reallyme.jose.v1.JoseJweDecryptWithProviderRequest"> & {
|
|
1163
1855
|
/**
|
|
1164
|
-
*
|
|
1856
|
+
* SENSITIVE: exact compact JWE bytes represented as UTF-8.
|
|
1165
1857
|
*
|
|
1166
|
-
* @generated from
|
|
1858
|
+
* @generated from field: string compact = 1;
|
|
1167
1859
|
*/
|
|
1168
|
-
|
|
1860
|
+
compact: string;
|
|
1169
1861
|
/**
|
|
1170
|
-
* @generated from
|
|
1862
|
+
* @generated from field: reallyme.jose.v1.JoseJwePolicy policy = 2;
|
|
1171
1863
|
*/
|
|
1172
|
-
|
|
1864
|
+
policy?: JoseJwePolicy | undefined;
|
|
1173
1865
|
/**
|
|
1174
|
-
*
|
|
1866
|
+
* SENSITIVE: application-local, nonzero capability handle.
|
|
1867
|
+
*
|
|
1868
|
+
* @generated from field: optional uint64 provider_handle = 3;
|
|
1175
1869
|
*/
|
|
1176
|
-
|
|
1870
|
+
providerHandle?: bigint | undefined;
|
|
1871
|
+
};
|
|
1872
|
+
/**
|
|
1873
|
+
* Describes the message reallyme.jose.v1.JoseJweDecryptWithProviderRequest.
|
|
1874
|
+
* Use `create(JoseJweDecryptWithProviderRequestSchema)` to create a new message.
|
|
1875
|
+
*/
|
|
1876
|
+
export declare const JoseJweDecryptWithProviderRequestSchema: GenMessage<JoseJweDecryptWithProviderRequest>;
|
|
1877
|
+
/**
|
|
1878
|
+
* @generated from message reallyme.jose.v1.JoseContractInfoRequest
|
|
1879
|
+
*/
|
|
1880
|
+
export type JoseContractInfoRequest = Message<"reallyme.jose.v1.JoseContractInfoRequest"> & {};
|
|
1881
|
+
/**
|
|
1882
|
+
* Describes the message reallyme.jose.v1.JoseContractInfoRequest.
|
|
1883
|
+
* Use `create(JoseContractInfoRequestSchema)` to create a new message.
|
|
1884
|
+
*/
|
|
1885
|
+
export declare const JoseContractInfoRequestSchema: GenMessage<JoseContractInfoRequest>;
|
|
1886
|
+
/**
|
|
1887
|
+
* @generated from message reallyme.jose.v1.JoseContractInfoResult
|
|
1888
|
+
*/
|
|
1889
|
+
export type JoseContractInfoResult = Message<"reallyme.jose.v1.JoseContractInfoResult"> & {
|
|
1177
1890
|
/**
|
|
1178
|
-
* @generated from
|
|
1891
|
+
* @generated from field: repeated reallyme.jose.v1.JoseContractLimit limits = 1;
|
|
1179
1892
|
*/
|
|
1180
|
-
|
|
1893
|
+
limits: JoseContractLimit[];
|
|
1181
1894
|
/**
|
|
1182
|
-
*
|
|
1183
|
-
*
|
|
1184
|
-
* @generated from enum value: JOSE_ERROR_REASON_JWT_INVALID_COMPACT = 300;
|
|
1895
|
+
* @generated from field: repeated reallyme.jose.v1.JoseJwtClaim claim_identifiers = 2;
|
|
1185
1896
|
*/
|
|
1186
|
-
|
|
1897
|
+
claimIdentifiers: JoseJwtClaim[];
|
|
1187
1898
|
/**
|
|
1188
|
-
* @generated from
|
|
1899
|
+
* @generated from field: repeated reallyme.jose.v1.JoseErrorBranch error_branches = 3;
|
|
1189
1900
|
*/
|
|
1190
|
-
|
|
1901
|
+
errorBranches: JoseErrorBranch[];
|
|
1191
1902
|
/**
|
|
1192
|
-
* @generated from
|
|
1903
|
+
* @generated from field: repeated reallyme.jose.v1.JoseOperationKind operation_kinds = 4;
|
|
1193
1904
|
*/
|
|
1194
|
-
|
|
1905
|
+
operationKinds: JoseOperationKind[];
|
|
1195
1906
|
/**
|
|
1196
|
-
* @generated from
|
|
1907
|
+
* @generated from field: repeated reallyme.jose.v1.JoseTransportStatus transport_statuses = 5;
|
|
1197
1908
|
*/
|
|
1198
|
-
|
|
1909
|
+
transportStatuses: JoseTransportStatus[];
|
|
1199
1910
|
/**
|
|
1200
|
-
*
|
|
1201
|
-
*
|
|
1202
|
-
* @generated from enum value: JOSE_ERROR_REASON_JWT_INVALID_HEADER = 320;
|
|
1911
|
+
* @generated from field: reallyme.jose.v1.JoseNativeAbiVersion native_abi_version = 6;
|
|
1203
1912
|
*/
|
|
1204
|
-
|
|
1913
|
+
nativeAbiVersion: JoseNativeAbiVersion;
|
|
1205
1914
|
/**
|
|
1206
|
-
* @generated from
|
|
1915
|
+
* @generated from field: repeated reallyme.jose.v1.JoseJwtPolicyLimit jwt_policy_limits = 7;
|
|
1207
1916
|
*/
|
|
1208
|
-
|
|
1917
|
+
jwtPolicyLimits: JoseJwtPolicyLimit[];
|
|
1918
|
+
};
|
|
1919
|
+
/**
|
|
1920
|
+
* Describes the message reallyme.jose.v1.JoseContractInfoResult.
|
|
1921
|
+
* Use `create(JoseContractInfoResultSchema)` to create a new message.
|
|
1922
|
+
*/
|
|
1923
|
+
export declare const JoseContractInfoResultSchema: GenMessage<JoseContractInfoResult>;
|
|
1924
|
+
/**
|
|
1925
|
+
* @generated from message reallyme.jose.v1.JoseSignatureSignResponse
|
|
1926
|
+
*/
|
|
1927
|
+
export type JoseSignatureSignResponse = Message<"reallyme.jose.v1.JoseSignatureSignResponse"> & {
|
|
1209
1928
|
/**
|
|
1210
|
-
* @generated from
|
|
1929
|
+
* @generated from oneof reallyme.jose.v1.JoseSignatureSignResponse.outcome
|
|
1930
|
+
*/
|
|
1931
|
+
outcome: {
|
|
1932
|
+
/**
|
|
1933
|
+
* @generated from field: reallyme.jose.v1.JoseSignatureResult result = 1;
|
|
1934
|
+
*/
|
|
1935
|
+
value: JoseSignatureResult;
|
|
1936
|
+
case: "result";
|
|
1937
|
+
} | {
|
|
1938
|
+
/**
|
|
1939
|
+
* @generated from field: reallyme.jose.v1.JoseError error = 2;
|
|
1940
|
+
*/
|
|
1941
|
+
value: JoseError;
|
|
1942
|
+
case: "error";
|
|
1943
|
+
} | {
|
|
1944
|
+
case: undefined;
|
|
1945
|
+
value?: undefined;
|
|
1946
|
+
};
|
|
1947
|
+
};
|
|
1948
|
+
/**
|
|
1949
|
+
* Describes the message reallyme.jose.v1.JoseSignatureSignResponse.
|
|
1950
|
+
* Use `create(JoseSignatureSignResponseSchema)` to create a new message.
|
|
1951
|
+
*/
|
|
1952
|
+
export declare const JoseSignatureSignResponseSchema: GenMessage<JoseSignatureSignResponse>;
|
|
1953
|
+
/**
|
|
1954
|
+
* @generated from message reallyme.jose.v1.JoseSignatureVerifyResponse
|
|
1955
|
+
*/
|
|
1956
|
+
export type JoseSignatureVerifyResponse = Message<"reallyme.jose.v1.JoseSignatureVerifyResponse"> & {
|
|
1957
|
+
/**
|
|
1958
|
+
* @generated from oneof reallyme.jose.v1.JoseSignatureVerifyResponse.outcome
|
|
1959
|
+
*/
|
|
1960
|
+
outcome: {
|
|
1961
|
+
/**
|
|
1962
|
+
* @generated from field: reallyme.jose.v1.JoseValidationResult result = 1;
|
|
1963
|
+
*/
|
|
1964
|
+
value: JoseValidationResult;
|
|
1965
|
+
case: "result";
|
|
1966
|
+
} | {
|
|
1967
|
+
/**
|
|
1968
|
+
* @generated from field: reallyme.jose.v1.JoseError error = 2;
|
|
1969
|
+
*/
|
|
1970
|
+
value: JoseError;
|
|
1971
|
+
case: "error";
|
|
1972
|
+
} | {
|
|
1973
|
+
case: undefined;
|
|
1974
|
+
value?: undefined;
|
|
1975
|
+
};
|
|
1976
|
+
};
|
|
1977
|
+
/**
|
|
1978
|
+
* Describes the message reallyme.jose.v1.JoseSignatureVerifyResponse.
|
|
1979
|
+
* Use `create(JoseSignatureVerifyResponseSchema)` to create a new message.
|
|
1980
|
+
*/
|
|
1981
|
+
export declare const JoseSignatureVerifyResponseSchema: GenMessage<JoseSignatureVerifyResponse>;
|
|
1982
|
+
/**
|
|
1983
|
+
* @generated from message reallyme.jose.v1.JoseSignatureSuiteInfoResponse
|
|
1984
|
+
*/
|
|
1985
|
+
export type JoseSignatureSuiteInfoResponse = Message<"reallyme.jose.v1.JoseSignatureSuiteInfoResponse"> & {
|
|
1986
|
+
/**
|
|
1987
|
+
* @generated from oneof reallyme.jose.v1.JoseSignatureSuiteInfoResponse.outcome
|
|
1988
|
+
*/
|
|
1989
|
+
outcome: {
|
|
1990
|
+
/**
|
|
1991
|
+
* @generated from field: reallyme.jose.v1.JoseSignatureSuiteInfoResult result = 1;
|
|
1992
|
+
*/
|
|
1993
|
+
value: JoseSignatureSuiteInfoResult;
|
|
1994
|
+
case: "result";
|
|
1995
|
+
} | {
|
|
1996
|
+
/**
|
|
1997
|
+
* @generated from field: reallyme.jose.v1.JoseError error = 2;
|
|
1998
|
+
*/
|
|
1999
|
+
value: JoseError;
|
|
2000
|
+
case: "error";
|
|
2001
|
+
} | {
|
|
2002
|
+
case: undefined;
|
|
2003
|
+
value?: undefined;
|
|
2004
|
+
};
|
|
2005
|
+
};
|
|
2006
|
+
/**
|
|
2007
|
+
* Describes the message reallyme.jose.v1.JoseSignatureSuiteInfoResponse.
|
|
2008
|
+
* Use `create(JoseSignatureSuiteInfoResponseSchema)` to create a new message.
|
|
2009
|
+
*/
|
|
2010
|
+
export declare const JoseSignatureSuiteInfoResponseSchema: GenMessage<JoseSignatureSuiteInfoResponse>;
|
|
2011
|
+
/**
|
|
2012
|
+
* @generated from message reallyme.jose.v1.JoseJwtSignWithProviderResponse
|
|
2013
|
+
*/
|
|
2014
|
+
export type JoseJwtSignWithProviderResponse = Message<"reallyme.jose.v1.JoseJwtSignWithProviderResponse"> & {
|
|
2015
|
+
/**
|
|
2016
|
+
* @generated from oneof reallyme.jose.v1.JoseJwtSignWithProviderResponse.outcome
|
|
2017
|
+
*/
|
|
2018
|
+
outcome: {
|
|
2019
|
+
/**
|
|
2020
|
+
* @generated from field: reallyme.jose.v1.JoseCompactResult result = 1;
|
|
2021
|
+
*/
|
|
2022
|
+
value: JoseCompactResult;
|
|
2023
|
+
case: "result";
|
|
2024
|
+
} | {
|
|
2025
|
+
/**
|
|
2026
|
+
* @generated from field: reallyme.jose.v1.JoseError error = 2;
|
|
2027
|
+
*/
|
|
2028
|
+
value: JoseError;
|
|
2029
|
+
case: "error";
|
|
2030
|
+
} | {
|
|
2031
|
+
case: undefined;
|
|
2032
|
+
value?: undefined;
|
|
2033
|
+
};
|
|
2034
|
+
};
|
|
2035
|
+
/**
|
|
2036
|
+
* Describes the message reallyme.jose.v1.JoseJwtSignWithProviderResponse.
|
|
2037
|
+
* Use `create(JoseJwtSignWithProviderResponseSchema)` to create a new message.
|
|
2038
|
+
*/
|
|
2039
|
+
export declare const JoseJwtSignWithProviderResponseSchema: GenMessage<JoseJwtSignWithProviderResponse>;
|
|
2040
|
+
/**
|
|
2041
|
+
* @generated from message reallyme.jose.v1.JoseJweDeriveKeyResponse
|
|
2042
|
+
*/
|
|
2043
|
+
export type JoseJweDeriveKeyResponse = Message<"reallyme.jose.v1.JoseJweDeriveKeyResponse"> & {
|
|
2044
|
+
/**
|
|
2045
|
+
* @generated from oneof reallyme.jose.v1.JoseJweDeriveKeyResponse.outcome
|
|
2046
|
+
*/
|
|
2047
|
+
outcome: {
|
|
2048
|
+
/**
|
|
2049
|
+
* @generated from field: reallyme.jose.v1.JoseSecretBytes result = 1;
|
|
2050
|
+
*/
|
|
2051
|
+
value: JoseSecretBytes;
|
|
2052
|
+
case: "result";
|
|
2053
|
+
} | {
|
|
2054
|
+
/**
|
|
2055
|
+
* @generated from field: reallyme.jose.v1.JoseError error = 2;
|
|
2056
|
+
*/
|
|
2057
|
+
value: JoseError;
|
|
2058
|
+
case: "error";
|
|
2059
|
+
} | {
|
|
2060
|
+
case: undefined;
|
|
2061
|
+
value?: undefined;
|
|
2062
|
+
};
|
|
2063
|
+
};
|
|
2064
|
+
/**
|
|
2065
|
+
* Describes the message reallyme.jose.v1.JoseJweDeriveKeyResponse.
|
|
2066
|
+
* Use `create(JoseJweDeriveKeyResponseSchema)` to create a new message.
|
|
2067
|
+
*/
|
|
2068
|
+
export declare const JoseJweDeriveKeyResponseSchema: GenMessage<JoseJweDeriveKeyResponse>;
|
|
2069
|
+
/**
|
|
2070
|
+
* @generated from message reallyme.jose.v1.JoseJweEncryptWithProviderResponse
|
|
2071
|
+
*/
|
|
2072
|
+
export type JoseJweEncryptWithProviderResponse = Message<"reallyme.jose.v1.JoseJweEncryptWithProviderResponse"> & {
|
|
2073
|
+
/**
|
|
2074
|
+
* @generated from oneof reallyme.jose.v1.JoseJweEncryptWithProviderResponse.outcome
|
|
2075
|
+
*/
|
|
2076
|
+
outcome: {
|
|
2077
|
+
/**
|
|
2078
|
+
* @generated from field: reallyme.jose.v1.JoseCompactResult result = 1;
|
|
2079
|
+
*/
|
|
2080
|
+
value: JoseCompactResult;
|
|
2081
|
+
case: "result";
|
|
2082
|
+
} | {
|
|
2083
|
+
/**
|
|
2084
|
+
* @generated from field: reallyme.jose.v1.JoseError error = 2;
|
|
2085
|
+
*/
|
|
2086
|
+
value: JoseError;
|
|
2087
|
+
case: "error";
|
|
2088
|
+
} | {
|
|
2089
|
+
case: undefined;
|
|
2090
|
+
value?: undefined;
|
|
2091
|
+
};
|
|
2092
|
+
};
|
|
2093
|
+
/**
|
|
2094
|
+
* Describes the message reallyme.jose.v1.JoseJweEncryptWithProviderResponse.
|
|
2095
|
+
* Use `create(JoseJweEncryptWithProviderResponseSchema)` to create a new message.
|
|
2096
|
+
*/
|
|
2097
|
+
export declare const JoseJweEncryptWithProviderResponseSchema: GenMessage<JoseJweEncryptWithProviderResponse>;
|
|
2098
|
+
/**
|
|
2099
|
+
* @generated from message reallyme.jose.v1.JoseJweDecryptWithProviderResponse
|
|
2100
|
+
*/
|
|
2101
|
+
export type JoseJweDecryptWithProviderResponse = Message<"reallyme.jose.v1.JoseJweDecryptWithProviderResponse"> & {
|
|
2102
|
+
/**
|
|
2103
|
+
* @generated from oneof reallyme.jose.v1.JoseJweDecryptWithProviderResponse.outcome
|
|
2104
|
+
*/
|
|
2105
|
+
outcome: {
|
|
2106
|
+
/**
|
|
2107
|
+
* @generated from field: reallyme.jose.v1.JoseJwePlaintextResult result = 1;
|
|
2108
|
+
*/
|
|
2109
|
+
value: JoseJwePlaintextResult;
|
|
2110
|
+
case: "result";
|
|
2111
|
+
} | {
|
|
2112
|
+
/**
|
|
2113
|
+
* @generated from field: reallyme.jose.v1.JoseError error = 2;
|
|
2114
|
+
*/
|
|
2115
|
+
value: JoseError;
|
|
2116
|
+
case: "error";
|
|
2117
|
+
} | {
|
|
2118
|
+
case: undefined;
|
|
2119
|
+
value?: undefined;
|
|
2120
|
+
};
|
|
2121
|
+
};
|
|
2122
|
+
/**
|
|
2123
|
+
* Describes the message reallyme.jose.v1.JoseJweDecryptWithProviderResponse.
|
|
2124
|
+
* Use `create(JoseJweDecryptWithProviderResponseSchema)` to create a new message.
|
|
2125
|
+
*/
|
|
2126
|
+
export declare const JoseJweDecryptWithProviderResponseSchema: GenMessage<JoseJweDecryptWithProviderResponse>;
|
|
2127
|
+
/**
|
|
2128
|
+
* @generated from message reallyme.jose.v1.JoseContractInfoResponse
|
|
2129
|
+
*/
|
|
2130
|
+
export type JoseContractInfoResponse = Message<"reallyme.jose.v1.JoseContractInfoResponse"> & {
|
|
2131
|
+
/**
|
|
2132
|
+
* @generated from oneof reallyme.jose.v1.JoseContractInfoResponse.outcome
|
|
2133
|
+
*/
|
|
2134
|
+
outcome: {
|
|
2135
|
+
/**
|
|
2136
|
+
* @generated from field: reallyme.jose.v1.JoseContractInfoResult result = 1;
|
|
2137
|
+
*/
|
|
2138
|
+
value: JoseContractInfoResult;
|
|
2139
|
+
case: "result";
|
|
2140
|
+
} | {
|
|
2141
|
+
/**
|
|
2142
|
+
* @generated from field: reallyme.jose.v1.JoseError error = 2;
|
|
2143
|
+
*/
|
|
2144
|
+
value: JoseError;
|
|
2145
|
+
case: "error";
|
|
2146
|
+
} | {
|
|
2147
|
+
case: undefined;
|
|
2148
|
+
value?: undefined;
|
|
2149
|
+
};
|
|
2150
|
+
};
|
|
2151
|
+
/**
|
|
2152
|
+
* Describes the message reallyme.jose.v1.JoseContractInfoResponse.
|
|
2153
|
+
* Use `create(JoseContractInfoResponseSchema)` to create a new message.
|
|
2154
|
+
*/
|
|
2155
|
+
export declare const JoseContractInfoResponseSchema: GenMessage<JoseContractInfoResponse>;
|
|
2156
|
+
/**
|
|
2157
|
+
* Native NumericDate and StringOrURI are scalar views of these optional signed
|
|
2158
|
+
* seconds and string fields. Parsing this document never authenticates it.
|
|
2159
|
+
* Rust view: jwt/claims/registered.rs#RegisteredClaims
|
|
2160
|
+
* Rust view: jwt/datatype/numeric_date.rs#NumericDate
|
|
2161
|
+
* Rust view: jwt/datatype/string_or_uri.rs#StringOrURI
|
|
2162
|
+
*
|
|
2163
|
+
* @generated from message reallyme.jose.v1.JoseJwtRegisteredClaims
|
|
2164
|
+
*/
|
|
2165
|
+
export type JoseJwtRegisteredClaims = Message<"reallyme.jose.v1.JoseJwtRegisteredClaims"> & {
|
|
2166
|
+
/**
|
|
2167
|
+
* SENSITIVE: registered issuer identifier.
|
|
2168
|
+
*
|
|
2169
|
+
* @generated from field: optional string iss = 1;
|
|
2170
|
+
*/
|
|
2171
|
+
iss?: string | undefined;
|
|
2172
|
+
/**
|
|
2173
|
+
* SENSITIVE: registered subject identifier.
|
|
2174
|
+
*
|
|
2175
|
+
* @generated from field: optional string sub = 2;
|
|
2176
|
+
*/
|
|
2177
|
+
sub?: string | undefined;
|
|
2178
|
+
/**
|
|
2179
|
+
* @generated from field: reallyme.jose.v1.JoseJwtAudience aud = 3;
|
|
2180
|
+
*/
|
|
2181
|
+
aud?: JoseJwtAudience | undefined;
|
|
2182
|
+
/**
|
|
2183
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
2184
|
+
*
|
|
2185
|
+
* @generated from field: optional sint64 exp = 4;
|
|
2186
|
+
*/
|
|
2187
|
+
exp?: bigint | undefined;
|
|
2188
|
+
/**
|
|
2189
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
2190
|
+
*
|
|
2191
|
+
* @generated from field: optional sint64 nbf = 5;
|
|
2192
|
+
*/
|
|
2193
|
+
nbf?: bigint | undefined;
|
|
2194
|
+
/**
|
|
2195
|
+
* SENSITIVE: caller-owned data; redact diagnostics and wipe owned storage.
|
|
2196
|
+
*
|
|
2197
|
+
* @generated from field: optional sint64 iat = 6;
|
|
2198
|
+
*/
|
|
2199
|
+
iat?: bigint | undefined;
|
|
2200
|
+
/**
|
|
2201
|
+
* SENSITIVE: registered token identifier.
|
|
2202
|
+
*
|
|
2203
|
+
* @generated from field: optional string jti = 7;
|
|
2204
|
+
*/
|
|
2205
|
+
jti?: string | undefined;
|
|
2206
|
+
};
|
|
2207
|
+
/**
|
|
2208
|
+
* Describes the message reallyme.jose.v1.JoseJwtRegisteredClaims.
|
|
2209
|
+
* Use `create(JoseJwtRegisteredClaimsSchema)` to create a new message.
|
|
2210
|
+
*/
|
|
2211
|
+
export declare const JoseJwtRegisteredClaimsSchema: GenMessage<JoseJwtRegisteredClaims>;
|
|
2212
|
+
/**
|
|
2213
|
+
* @generated from message reallyme.jose.v1.JoseJwtAudience
|
|
2214
|
+
*/
|
|
2215
|
+
export type JoseJwtAudience = Message<"reallyme.jose.v1.JoseJwtAudience"> & {
|
|
2216
|
+
/**
|
|
2217
|
+
* SENSITIVE: registered recipient identifiers, including an explicitly empty list.
|
|
2218
|
+
*
|
|
2219
|
+
* @generated from field: repeated string values = 1;
|
|
2220
|
+
*/
|
|
2221
|
+
values: string[];
|
|
2222
|
+
};
|
|
2223
|
+
/**
|
|
2224
|
+
* Describes the message reallyme.jose.v1.JoseJwtAudience.
|
|
2225
|
+
* Use `create(JoseJwtAudienceSchema)` to create a new message.
|
|
2226
|
+
*/
|
|
2227
|
+
export declare const JoseJwtAudienceSchema: GenMessage<JoseJwtAudience>;
|
|
2228
|
+
/**
|
|
2229
|
+
* @generated from message reallyme.jose.v1.JoseJwtClaimsParseRequest
|
|
2230
|
+
*/
|
|
2231
|
+
export type JoseJwtClaimsParseRequest = Message<"reallyme.jose.v1.JoseJwtClaimsParseRequest"> & {
|
|
2232
|
+
/**
|
|
2233
|
+
* SENSITIVE: JSON object represented by native RegisteredClaims and AnyClaims.
|
|
2234
|
+
*
|
|
2235
|
+
* @generated from field: bytes claims_json = 1;
|
|
2236
|
+
*/
|
|
2237
|
+
claimsJson: Uint8Array;
|
|
2238
|
+
};
|
|
2239
|
+
/**
|
|
2240
|
+
* Describes the message reallyme.jose.v1.JoseJwtClaimsParseRequest.
|
|
2241
|
+
* Use `create(JoseJwtClaimsParseRequestSchema)` to create a new message.
|
|
2242
|
+
*/
|
|
2243
|
+
export declare const JoseJwtClaimsParseRequestSchema: GenMessage<JoseJwtClaimsParseRequest>;
|
|
2244
|
+
/**
|
|
2245
|
+
* Rust view: jwt/claims/any.rs#AnyClaims
|
|
2246
|
+
*
|
|
2247
|
+
* @generated from message reallyme.jose.v1.JoseJwtClaimsParseResult
|
|
2248
|
+
*/
|
|
2249
|
+
export type JoseJwtClaimsParseResult = Message<"reallyme.jose.v1.JoseJwtClaimsParseResult"> & {
|
|
2250
|
+
/**
|
|
2251
|
+
* @generated from field: reallyme.jose.v1.JoseJwtRegisteredClaims registered = 1;
|
|
2252
|
+
*/
|
|
2253
|
+
registered?: JoseJwtRegisteredClaims | undefined;
|
|
2254
|
+
/**
|
|
2255
|
+
* SENSITIVE: original complete claims document; arbitrary claim values remain exact.
|
|
2256
|
+
*
|
|
2257
|
+
* @generated from field: bytes claims_json = 2;
|
|
2258
|
+
*/
|
|
2259
|
+
claimsJson: Uint8Array;
|
|
2260
|
+
};
|
|
2261
|
+
/**
|
|
2262
|
+
* Describes the message reallyme.jose.v1.JoseJwtClaimsParseResult.
|
|
2263
|
+
* Use `create(JoseJwtClaimsParseResultSchema)` to create a new message.
|
|
2264
|
+
*/
|
|
2265
|
+
export declare const JoseJwtClaimsParseResultSchema: GenMessage<JoseJwtClaimsParseResult>;
|
|
2266
|
+
/**
|
|
2267
|
+
* @generated from message reallyme.jose.v1.JoseJwtClaimsParseResponse
|
|
2268
|
+
*/
|
|
2269
|
+
export type JoseJwtClaimsParseResponse = Message<"reallyme.jose.v1.JoseJwtClaimsParseResponse"> & {
|
|
2270
|
+
/**
|
|
2271
|
+
* @generated from oneof reallyme.jose.v1.JoseJwtClaimsParseResponse.outcome
|
|
2272
|
+
*/
|
|
2273
|
+
outcome: {
|
|
2274
|
+
/**
|
|
2275
|
+
* @generated from field: reallyme.jose.v1.JoseJwtClaimsParseResult result = 1;
|
|
2276
|
+
*/
|
|
2277
|
+
value: JoseJwtClaimsParseResult;
|
|
2278
|
+
case: "result";
|
|
2279
|
+
} | {
|
|
2280
|
+
/**
|
|
2281
|
+
* @generated from field: reallyme.jose.v1.JoseError error = 2;
|
|
2282
|
+
*/
|
|
2283
|
+
value: JoseError;
|
|
2284
|
+
case: "error";
|
|
2285
|
+
} | {
|
|
2286
|
+
case: undefined;
|
|
2287
|
+
value?: undefined;
|
|
2288
|
+
};
|
|
2289
|
+
};
|
|
2290
|
+
/**
|
|
2291
|
+
* Describes the message reallyme.jose.v1.JoseJwtClaimsParseResponse.
|
|
2292
|
+
* Use `create(JoseJwtClaimsParseResponseSchema)` to create a new message.
|
|
2293
|
+
*/
|
|
2294
|
+
export declare const JoseJwtClaimsParseResponseSchema: GenMessage<JoseJwtClaimsParseResponse>;
|
|
2295
|
+
/**
|
|
2296
|
+
* Public SDK error discriminators. SDKs can raise these before an operation
|
|
2297
|
+
* starts or while validating its response. JOSE_FAILURE carries the branch
|
|
2298
|
+
* and JoseErrorReason of an operation failure in the SDK's error type.
|
|
2299
|
+
* Each SDK exposes the codes applicable to its public API and runtime.
|
|
2300
|
+
*
|
|
2301
|
+
* @generated from enum reallyme.jose.v1.JoseSdkErrorCode
|
|
2302
|
+
*/
|
|
2303
|
+
export declare enum JoseSdkErrorCode {
|
|
2304
|
+
/**
|
|
2305
|
+
* @generated from enum value: JOSE_SDK_ERROR_CODE_UNSPECIFIED = 0;
|
|
2306
|
+
*/
|
|
2307
|
+
UNSPECIFIED = 0,
|
|
2308
|
+
/**
|
|
2309
|
+
* Shared by the TypeScript and JVM facades for invalid managed input.
|
|
2310
|
+
* TypeScript SDK code: invalid-input
|
|
2311
|
+
*
|
|
2312
|
+
* @generated from enum value: JOSE_SDK_ERROR_CODE_INVALID_INPUT = 100;
|
|
2313
|
+
*/
|
|
2314
|
+
INVALID_INPUT = 100,
|
|
2315
|
+
/**
|
|
2316
|
+
* The TypeScript/WASM provider requires explicit installation.
|
|
2317
|
+
* TypeScript SDK code: provider-not-installed
|
|
2318
|
+
*
|
|
2319
|
+
* @generated from enum value: JOSE_SDK_ERROR_CODE_PROVIDER_NOT_INSTALLED = 200;
|
|
2320
|
+
*/
|
|
2321
|
+
PROVIDER_NOT_INSTALLED = 200,
|
|
2322
|
+
/**
|
|
2323
|
+
* Used by TypeScript for provider failures and by the JVM for native setup.
|
|
2324
|
+
* TypeScript SDK code: provider-failure
|
|
2325
|
+
*
|
|
2326
|
+
* @generated from enum value: JOSE_SDK_ERROR_CODE_PROVIDER_FAILURE = 210;
|
|
2327
|
+
*/
|
|
2328
|
+
PROVIDER_FAILURE = 210,
|
|
2329
|
+
/**
|
|
2330
|
+
* Shared by SDKs that validate a provider's response.
|
|
2331
|
+
* TypeScript SDK code: malformed-provider-response
|
|
2332
|
+
*
|
|
2333
|
+
* @generated from enum value: JOSE_SDK_ERROR_CODE_MALFORMED_PROVIDER_RESPONSE = 220;
|
|
2334
|
+
*/
|
|
2335
|
+
MALFORMED_PROVIDER_RESPONSE = 220,
|
|
2336
|
+
/**
|
|
2337
|
+
* The Swift native loader exposes these setup failures to its callers.
|
|
2338
|
+
*
|
|
2339
|
+
* @generated from enum value: JOSE_SDK_ERROR_CODE_UNSUPPORTED_PLATFORM = 300;
|
|
2340
|
+
*/
|
|
2341
|
+
UNSUPPORTED_PLATFORM = 300,
|
|
2342
|
+
/**
|
|
2343
|
+
* @generated from enum value: JOSE_SDK_ERROR_CODE_NATIVE_LIBRARY_NOT_FOUND = 310;
|
|
2344
|
+
*/
|
|
2345
|
+
NATIVE_LIBRARY_NOT_FOUND = 310,
|
|
2346
|
+
/**
|
|
2347
|
+
* @generated from enum value: JOSE_SDK_ERROR_CODE_NATIVE_LIBRARY_LOAD_FAILED = 320;
|
|
2348
|
+
*/
|
|
2349
|
+
NATIVE_LIBRARY_LOAD_FAILED = 320,
|
|
2350
|
+
/**
|
|
2351
|
+
* @generated from enum value: JOSE_SDK_ERROR_CODE_NATIVE_SYMBOL_MISSING = 330;
|
|
2352
|
+
*/
|
|
2353
|
+
NATIVE_SYMBOL_MISSING = 330,
|
|
2354
|
+
/**
|
|
2355
|
+
* @generated from enum value: JOSE_SDK_ERROR_CODE_INCOMPATIBLE_ABI = 340;
|
|
2356
|
+
*/
|
|
2357
|
+
INCOMPATIBLE_ABI = 340,
|
|
2358
|
+
/**
|
|
2359
|
+
* Shared by all SDKs for failures with a protobuf operation reason.
|
|
2360
|
+
* TypeScript SDK code: jose-failure
|
|
2361
|
+
*
|
|
2362
|
+
* @generated from enum value: JOSE_SDK_ERROR_CODE_JOSE_FAILURE = 400;
|
|
2363
|
+
*/
|
|
2364
|
+
JOSE_FAILURE = 400
|
|
2365
|
+
}
|
|
2366
|
+
/**
|
|
2367
|
+
* Describes the enum reallyme.jose.v1.JoseSdkErrorCode.
|
|
2368
|
+
*/
|
|
2369
|
+
export declare const JoseSdkErrorCodeSchema: GenEnum<JoseSdkErrorCode>;
|
|
2370
|
+
/**
|
|
2371
|
+
* JoseErrorReason is the component-owned reason-code enum for reallyme/jose.
|
|
2372
|
+
* Values are stable public boundary codes; internal Rust, Swift, Kotlin, and
|
|
2373
|
+
* TypeScript errors must map into one of these before crossing RPC, SDK, FFI,
|
|
2374
|
+
* storage, audit, or telemetry boundaries.
|
|
2375
|
+
*
|
|
2376
|
+
* @generated from enum reallyme.jose.v1.JoseErrorReason
|
|
2377
|
+
*/
|
|
2378
|
+
export declare enum JoseErrorReason {
|
|
2379
|
+
/**
|
|
2380
|
+
* @generated from enum value: JOSE_ERROR_REASON_UNSPECIFIED = 0;
|
|
2381
|
+
*/
|
|
2382
|
+
UNSPECIFIED = 0,
|
|
2383
|
+
/**
|
|
2384
|
+
* Compact JWS structure and parser policy: 100-119.
|
|
2385
|
+
*
|
|
2386
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWS_INVALID_PAYLOAD_UTF8 = 103;
|
|
2387
|
+
*/
|
|
2388
|
+
JWS_INVALID_PAYLOAD_UTF8 = 103,
|
|
2389
|
+
/**
|
|
2390
|
+
* Rust failure: JwsVerifyErrorReason::BadPayloadBase64
|
|
2391
|
+
* Rust failure: JwsEddsaError::BadPayloadBase64
|
|
2392
|
+
* Rust failure: JwsEs256Error::BadPayloadBase64
|
|
2393
|
+
*
|
|
2394
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWS_BAD_PAYLOAD_BASE64 = 104;
|
|
2395
|
+
*/
|
|
2396
|
+
JWS_BAD_PAYLOAD_BASE64 = 104,
|
|
2397
|
+
/**
|
|
2398
|
+
* Compact JWS protected-header policy: 120-139.
|
|
2399
|
+
* Rust failure: JwsVerifyErrorReason::BadHeaderBase64
|
|
2400
|
+
* Rust failure: JwsEddsaError::BadHeaderBase64
|
|
2401
|
+
* Rust failure: JwsEs256Error::BadHeaderBase64
|
|
2402
|
+
*
|
|
2403
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWS_BAD_HEADER_BASE64 = 120;
|
|
2404
|
+
*/
|
|
2405
|
+
JWS_BAD_HEADER_BASE64 = 120,
|
|
2406
|
+
/**
|
|
2407
|
+
* Rust failure: JwsVerifyErrorReason::BadHeaderUtf8
|
|
2408
|
+
* Rust failure: JwsEddsaError::BadHeaderUtf8
|
|
2409
|
+
* Rust failure: JwsEs256Error::BadHeaderUtf8
|
|
2410
|
+
*
|
|
2411
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWS_BAD_HEADER_UTF8 = 121;
|
|
2412
|
+
*/
|
|
2413
|
+
JWS_BAD_HEADER_UTF8 = 121,
|
|
2414
|
+
/**
|
|
2415
|
+
* Rust failure: JwsVerifyErrorReason::HeaderMismatch
|
|
2416
|
+
* Rust failure: JwsEddsaError::HeaderMismatch
|
|
2417
|
+
* Rust failure: JwsEs256Error::HeaderMismatch
|
|
2418
|
+
*
|
|
2419
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWS_HEADER_MISMATCH = 122;
|
|
2420
|
+
*/
|
|
2421
|
+
JWS_HEADER_MISMATCH = 122,
|
|
2422
|
+
/**
|
|
2423
|
+
* Compact JWS signature encoding and verification: 140-159.
|
|
2424
|
+
* Rust failure: JwsVerifyErrorReason::BadSignatureBase64
|
|
2425
|
+
* Rust failure: JwsEddsaError::BadSignatureBase64
|
|
2426
|
+
* Rust failure: JwsEs256Error::BadSignatureBase64
|
|
2427
|
+
*
|
|
2428
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWS_BAD_SIGNATURE_BASE64 = 140;
|
|
2429
|
+
*/
|
|
2430
|
+
JWS_BAD_SIGNATURE_BASE64 = 140,
|
|
2431
|
+
/**
|
|
2432
|
+
* Rust failure: JwsVerifyErrorReason::BadRawSignature
|
|
2433
|
+
* Rust failure: JwsEs256Error::BadRawSignature
|
|
2434
|
+
*
|
|
2435
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWS_BAD_RAW_SIGNATURE = 141;
|
|
2436
|
+
*/
|
|
2437
|
+
JWS_BAD_RAW_SIGNATURE = 141,
|
|
2438
|
+
/**
|
|
2439
|
+
* Rust failure: JwsVerifyErrorReason::InvalidSignature
|
|
2440
|
+
* Rust failure: JwsEddsaError::InvalidSignature
|
|
2441
|
+
* Rust failure: JwsEs256Error::InvalidSignature
|
|
2442
|
+
* Rust failure: JwsEs256Error::VerifyFailed
|
|
2443
|
+
*
|
|
2444
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWS_INVALID_SIGNATURE = 142;
|
|
2445
|
+
*/
|
|
2446
|
+
JWS_INVALID_SIGNATURE = 142,
|
|
2447
|
+
/**
|
|
2448
|
+
* Compact JWS signing: 160-179.
|
|
2449
|
+
* Rust failure: JwsSignErrorReason::SignFailed
|
|
2450
|
+
* Rust failure: JwsEddsaError::SignFailed
|
|
2451
|
+
* Rust failure: JwsEs256Error::SignFailed
|
|
2452
|
+
*
|
|
2453
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWS_SIGN_FAILED = 160;
|
|
2454
|
+
*/
|
|
2455
|
+
JWS_SIGN_FAILED = 160,
|
|
2456
|
+
/**
|
|
2457
|
+
* Rust failure: JwsSignErrorReason::BadDerSignature
|
|
2458
|
+
* Rust failure: JwsEs256Error::BadDerSignature
|
|
2459
|
+
*
|
|
2460
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWS_BAD_DER_SIGNATURE = 161;
|
|
2461
|
+
*/
|
|
2462
|
+
JWS_BAD_DER_SIGNATURE = 161,
|
|
2463
|
+
/**
|
|
2464
|
+
* Compact JWE protected-header policy: 220-239.
|
|
2465
|
+
* Rust failure: JweError::InvalidHeader
|
|
2466
|
+
*
|
|
2467
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_INVALID_HEADER = 220;
|
|
2468
|
+
*/
|
|
2469
|
+
JWE_INVALID_HEADER = 220,
|
|
2470
|
+
/**
|
|
2471
|
+
* Rust failure: JweError::UnsupportedKeyManagementAlgorithm
|
|
2472
|
+
*
|
|
2473
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_UNSUPPORTED_KEY_MANAGEMENT_ALGORITHM = 221;
|
|
2474
|
+
*/
|
|
2475
|
+
JWE_UNSUPPORTED_KEY_MANAGEMENT_ALGORITHM = 221,
|
|
2476
|
+
/**
|
|
2477
|
+
* Rust failure: JweError::UnsupportedContentEncryptionAlgorithm
|
|
2478
|
+
*
|
|
2479
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_UNSUPPORTED_CONTENT_ENCRYPTION_ALGORITHM = 222;
|
|
2480
|
+
*/
|
|
2481
|
+
JWE_UNSUPPORTED_CONTENT_ENCRYPTION_ALGORITHM = 222,
|
|
2482
|
+
/**
|
|
2483
|
+
* Rust failure: JweError::MissingRequiredHeaderParameter
|
|
2484
|
+
*
|
|
2485
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_MISSING_REQUIRED_HEADER_PARAMETER = 223;
|
|
2486
|
+
*/
|
|
2487
|
+
JWE_MISSING_REQUIRED_HEADER_PARAMETER = 223,
|
|
2488
|
+
/**
|
|
2489
|
+
* Rust failure: JweError::HeaderPolicyMismatch
|
|
2490
|
+
* Rust failure: JweError::TypPolicyMismatch
|
|
2491
|
+
* Rust failure: JweError::CtyPolicyMismatch
|
|
2492
|
+
*
|
|
2493
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_HEADER_POLICY_MISMATCH = 224;
|
|
2494
|
+
*/
|
|
2495
|
+
JWE_HEADER_POLICY_MISMATCH = 224,
|
|
2496
|
+
/**
|
|
2497
|
+
* Rust failure: JweError::KidPolicyMismatch
|
|
2498
|
+
*
|
|
2499
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_KID_POLICY_MISMATCH = 225;
|
|
2500
|
+
*/
|
|
2501
|
+
JWE_KID_POLICY_MISMATCH = 225,
|
|
2502
|
+
/**
|
|
2503
|
+
* Rust failure: JweError::ApuPolicyMismatch
|
|
2504
|
+
*
|
|
2505
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_APU_POLICY_MISMATCH = 226;
|
|
2506
|
+
*/
|
|
2507
|
+
JWE_APU_POLICY_MISMATCH = 226,
|
|
2508
|
+
/**
|
|
2509
|
+
* Rust failure: JweError::ApvPolicyMismatch
|
|
2510
|
+
*
|
|
2511
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_APV_POLICY_MISMATCH = 227;
|
|
2512
|
+
*/
|
|
2513
|
+
JWE_APV_POLICY_MISMATCH = 227,
|
|
2514
|
+
/**
|
|
2515
|
+
* Rust failure: JweError::UnsupportedCompressionAlgorithm
|
|
2516
|
+
*
|
|
2517
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_UNSUPPORTED_COMPRESSION_ALGORITHM = 228;
|
|
2518
|
+
*/
|
|
2519
|
+
JWE_UNSUPPORTED_COMPRESSION_ALGORITHM = 228,
|
|
2520
|
+
/**
|
|
2521
|
+
* Compact JWE key-management and content-encryption failures: 240-259.
|
|
2522
|
+
* Rust failure: JweError::InvalidEncryptedKey
|
|
2523
|
+
*
|
|
2524
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_INVALID_ENCRYPTED_KEY = 240;
|
|
2525
|
+
*/
|
|
2526
|
+
JWE_INVALID_ENCRYPTED_KEY = 240,
|
|
2527
|
+
/**
|
|
2528
|
+
* Rust failure: JweError::InvalidContentEncryptionKey
|
|
2529
|
+
*
|
|
2530
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_INVALID_CONTENT_ENCRYPTION_KEY = 241;
|
|
2531
|
+
*/
|
|
2532
|
+
JWE_INVALID_CONTENT_ENCRYPTION_KEY = 241,
|
|
2533
|
+
/**
|
|
2534
|
+
* Rust failure: JweError::InvalidContentCipherInput
|
|
2535
|
+
*
|
|
2536
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_INVALID_CONTENT_CIPHER_INPUT = 242;
|
|
2537
|
+
*/
|
|
2538
|
+
JWE_INVALID_CONTENT_CIPHER_INPUT = 242,
|
|
2539
|
+
/**
|
|
2540
|
+
* Rust failure: JweError::Decrypt
|
|
2541
|
+
*
|
|
2542
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_DECRYPT_FAILED = 243;
|
|
2543
|
+
*/
|
|
2544
|
+
JWE_DECRYPT_FAILED = 243,
|
|
2545
|
+
/**
|
|
2546
|
+
* Rust failure: JweError::Encrypt
|
|
2547
|
+
*
|
|
2548
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_ENCRYPT_FAILED = 244;
|
|
2549
|
+
*/
|
|
2550
|
+
JWE_ENCRYPT_FAILED = 244,
|
|
2551
|
+
/**
|
|
2552
|
+
* Rust failure: JweError::InvalidKeyAgreementKey
|
|
2553
|
+
*
|
|
2554
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_INVALID_KEY_AGREEMENT_KEY = 245;
|
|
2555
|
+
*/
|
|
2556
|
+
JWE_INVALID_KEY_AGREEMENT_KEY = 245,
|
|
2557
|
+
/**
|
|
2558
|
+
* Rust failure: JweError::InvalidSharedSecret
|
|
2559
|
+
*
|
|
2560
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_INVALID_SHARED_SECRET = 247;
|
|
2561
|
+
*/
|
|
2562
|
+
JWE_INVALID_SHARED_SECRET = 247,
|
|
2563
|
+
/**
|
|
2564
|
+
* Compact JWE plaintext handling: 260-279.
|
|
2565
|
+
* Rust failure: JweError::InvalidPayloadJson
|
|
2566
|
+
*
|
|
2567
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_INVALID_PAYLOAD_JSON = 260;
|
|
2568
|
+
*/
|
|
2569
|
+
JWE_INVALID_PAYLOAD_JSON = 260,
|
|
2570
|
+
/**
|
|
2571
|
+
* Rust failure: JweError::Compression
|
|
2572
|
+
*
|
|
2573
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_COMPRESSION_FAILED = 261;
|
|
2574
|
+
*/
|
|
2575
|
+
JWE_COMPRESSION_FAILED = 261,
|
|
2576
|
+
/**
|
|
2577
|
+
* Rust failure: JweError::Decompression
|
|
2578
|
+
*
|
|
2579
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_DECOMPRESSION_FAILED = 262;
|
|
2580
|
+
*/
|
|
2581
|
+
JWE_DECOMPRESSION_FAILED = 262,
|
|
2582
|
+
/**
|
|
2583
|
+
* Rust failure: JweError::DecompressedPlaintextTooLarge
|
|
2584
|
+
*
|
|
2585
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWE_DECOMPRESSED_PLAINTEXT_TOO_LARGE = 263;
|
|
2586
|
+
*/
|
|
2587
|
+
JWE_DECOMPRESSED_PLAINTEXT_TOO_LARGE = 263,
|
|
2588
|
+
/**
|
|
2589
|
+
* JWT JOSE-header policy and algorithm/key binding: 320-339.
|
|
2590
|
+
* Rust failure: JwtError::InvalidHeader
|
|
2591
|
+
*
|
|
2592
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_INVALID_HEADER = 320;
|
|
2593
|
+
*/
|
|
2594
|
+
JWT_INVALID_HEADER = 320,
|
|
2595
|
+
/**
|
|
2596
|
+
* Rust failure: JwtError::UnsupportedAlgorithm
|
|
2597
|
+
*
|
|
2598
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_UNSUPPORTED_ALGORITHM = 321;
|
|
2599
|
+
*/
|
|
2600
|
+
JWT_UNSUPPORTED_ALGORITHM = 321,
|
|
2601
|
+
/**
|
|
2602
|
+
* Rust failure: JwtError::AlgorithmMismatch
|
|
2603
|
+
*
|
|
2604
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_ALGORITHM_MISMATCH = 322;
|
|
1211
2605
|
*/
|
|
1212
2606
|
JWT_ALGORITHM_MISMATCH = 322,
|
|
1213
2607
|
/**
|
|
1214
|
-
*
|
|
2608
|
+
* Rust failure: JwtError::MissingAlgorithm
|
|
2609
|
+
*
|
|
2610
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_MISSING_ALGORITHM = 323;
|
|
2611
|
+
*/
|
|
2612
|
+
JWT_MISSING_ALGORITHM = 323,
|
|
2613
|
+
/**
|
|
2614
|
+
* Rust failure: JwtError::MissingPrivateKey
|
|
2615
|
+
*
|
|
2616
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_MISSING_PRIVATE_KEY = 324;
|
|
2617
|
+
*/
|
|
2618
|
+
JWT_MISSING_PRIVATE_KEY = 324,
|
|
2619
|
+
/**
|
|
2620
|
+
* Rust failure: JwtError::MissingPublicKey
|
|
2621
|
+
*
|
|
2622
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_MISSING_PUBLIC_KEY = 325;
|
|
2623
|
+
*/
|
|
2624
|
+
JWT_MISSING_PUBLIC_KEY = 325,
|
|
2625
|
+
/**
|
|
2626
|
+
* Rust failure: JwtError::KeyIdMismatch
|
|
2627
|
+
*
|
|
2628
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_KID_POLICY_MISMATCH = 326;
|
|
2629
|
+
*/
|
|
2630
|
+
JWT_KID_POLICY_MISMATCH = 326,
|
|
2631
|
+
/**
|
|
2632
|
+
* Rust failure: JwtError::PublicKeyMismatch
|
|
2633
|
+
*
|
|
2634
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_PUBLIC_KEY_MISMATCH = 327;
|
|
2635
|
+
*/
|
|
2636
|
+
JWT_PUBLIC_KEY_MISMATCH = 327,
|
|
2637
|
+
/**
|
|
2638
|
+
* Rust failure: JwtError::InvalidPublicKey
|
|
2639
|
+
*
|
|
2640
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_INVALID_PUBLIC_KEY = 328;
|
|
2641
|
+
*/
|
|
2642
|
+
JWT_INVALID_PUBLIC_KEY = 328,
|
|
2643
|
+
/**
|
|
2644
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_INVALID_JWK = 329;
|
|
2645
|
+
*/
|
|
2646
|
+
JWT_INVALID_JWK = 329,
|
|
2647
|
+
/**
|
|
2648
|
+
* JWT signature and cryptographic failures: 340-359.
|
|
2649
|
+
* Rust failure: JwtError::InvalidSignature
|
|
2650
|
+
*
|
|
2651
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_INVALID_SIGNATURE = 340;
|
|
2652
|
+
*/
|
|
2653
|
+
JWT_INVALID_SIGNATURE = 340,
|
|
2654
|
+
/**
|
|
2655
|
+
* Rust failure: JwtError::Crypto
|
|
2656
|
+
*
|
|
2657
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_CRYPTO_FAILED = 341;
|
|
2658
|
+
*/
|
|
2659
|
+
JWT_CRYPTO_FAILED = 341,
|
|
2660
|
+
/**
|
|
2661
|
+
* JWT claims and serialization failures: 360-379.
|
|
2662
|
+
* Rust failure: JwtError::InvalidClaims
|
|
2663
|
+
*
|
|
2664
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_INVALID_CLAIMS = 360;
|
|
2665
|
+
*/
|
|
2666
|
+
JWT_INVALID_CLAIMS = 360,
|
|
2667
|
+
/**
|
|
2668
|
+
* Rust failure: JwtError::Serialization
|
|
2669
|
+
*
|
|
2670
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_SERIALIZATION_FAILED = 361;
|
|
2671
|
+
*/
|
|
2672
|
+
JWT_SERIALIZATION_FAILED = 361,
|
|
2673
|
+
/**
|
|
2674
|
+
* JWT temporal claim policy: 380-399.
|
|
2675
|
+
* Rust failure: JwtError::MissingRequiredTemporalClaim(_)
|
|
2676
|
+
*
|
|
2677
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_MISSING_REQUIRED_TEMPORAL_CLAIM = 380;
|
|
2678
|
+
*/
|
|
2679
|
+
JWT_MISSING_REQUIRED_TEMPORAL_CLAIM = 380,
|
|
2680
|
+
/**
|
|
2681
|
+
* Rust failure: JwtError::InvalidTemporalClaimValue(_)
|
|
2682
|
+
*
|
|
2683
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_INVALID_TEMPORAL_CLAIM_VALUE = 381;
|
|
2684
|
+
*/
|
|
2685
|
+
JWT_INVALID_TEMPORAL_CLAIM_VALUE = 381,
|
|
2686
|
+
/**
|
|
2687
|
+
* Rust failure: JwtError::Expired
|
|
2688
|
+
*
|
|
2689
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_EXPIRED = 382;
|
|
2690
|
+
*/
|
|
2691
|
+
JWT_EXPIRED = 382,
|
|
2692
|
+
/**
|
|
2693
|
+
* Rust failure: JwtError::NotYetValid
|
|
2694
|
+
*
|
|
2695
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_NOT_YET_VALID = 383;
|
|
2696
|
+
*/
|
|
2697
|
+
JWT_NOT_YET_VALID = 383,
|
|
2698
|
+
/**
|
|
2699
|
+
* Rust failure: JwtError::IssuedAtInFuture
|
|
2700
|
+
*
|
|
2701
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_ISSUED_AT_IN_FUTURE = 384;
|
|
2702
|
+
*/
|
|
2703
|
+
JWT_ISSUED_AT_IN_FUTURE = 384,
|
|
2704
|
+
/**
|
|
2705
|
+
* Rust failure: JwtError::InvalidVerificationTime
|
|
2706
|
+
*
|
|
2707
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_INVALID_VERIFICATION_TIME = 385;
|
|
2708
|
+
*/
|
|
2709
|
+
JWT_INVALID_VERIFICATION_TIME = 385,
|
|
2710
|
+
/**
|
|
2711
|
+
* Rust failure: JwtError::InvalidTemporalPolicy
|
|
2712
|
+
* Rust failure: JwtError::InvalidClaimsPolicy
|
|
2713
|
+
*
|
|
2714
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_INVALID_VERIFICATION_POLICY = 386;
|
|
2715
|
+
*/
|
|
2716
|
+
JWT_INVALID_VERIFICATION_POLICY = 386,
|
|
2717
|
+
/**
|
|
2718
|
+
* Rust failure: JwtError::SigningKeyMismatch
|
|
2719
|
+
*
|
|
2720
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_SIGNING_KEY_MISMATCH = 387;
|
|
2721
|
+
*/
|
|
2722
|
+
JWT_SIGNING_KEY_MISMATCH = 387,
|
|
2723
|
+
/**
|
|
2724
|
+
* Rust failure: JwtError::MissingRequiredRegisteredClaim(_)
|
|
2725
|
+
*
|
|
2726
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_MISSING_REQUIRED_REGISTERED_CLAIM = 388;
|
|
2727
|
+
*/
|
|
2728
|
+
JWT_MISSING_REQUIRED_REGISTERED_CLAIM = 388,
|
|
2729
|
+
/**
|
|
2730
|
+
* Rust failure: JwtError::InvalidRegisteredClaimValue(_)
|
|
2731
|
+
*
|
|
2732
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_INVALID_REGISTERED_CLAIM_VALUE = 389;
|
|
2733
|
+
*/
|
|
2734
|
+
JWT_INVALID_REGISTERED_CLAIM_VALUE = 389,
|
|
2735
|
+
/**
|
|
2736
|
+
* Rust failure: JwtError::AudienceMismatch
|
|
2737
|
+
*
|
|
2738
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_AUDIENCE_MISMATCH = 390;
|
|
2739
|
+
*/
|
|
2740
|
+
JWT_AUDIENCE_MISMATCH = 390,
|
|
2741
|
+
/**
|
|
2742
|
+
* Rust failure: JwtError::IssuerMismatch
|
|
2743
|
+
*
|
|
2744
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_ISSUER_MISMATCH = 391;
|
|
2745
|
+
*/
|
|
2746
|
+
JWT_ISSUER_MISMATCH = 391,
|
|
2747
|
+
/**
|
|
2748
|
+
* Rust failure: JwtError::SubjectMismatch
|
|
2749
|
+
*
|
|
2750
|
+
* @generated from enum value: JOSE_ERROR_REASON_JWT_SUBJECT_MISMATCH = 392;
|
|
2751
|
+
*/
|
|
2752
|
+
JWT_SUBJECT_MISMATCH = 392,
|
|
2753
|
+
/**
|
|
2754
|
+
* Common operation execution boundary failures: 700-799.
|
|
2755
|
+
*
|
|
2756
|
+
* @generated from enum value: JOSE_ERROR_REASON_COMMON_MALFORMED_PROTOBUF = 700;
|
|
2757
|
+
*/
|
|
2758
|
+
COMMON_MALFORMED_PROTOBUF = 700,
|
|
2759
|
+
/**
|
|
2760
|
+
* @generated from enum value: JOSE_ERROR_REASON_COMMON_MALFORMED_JSON = 701;
|
|
2761
|
+
*/
|
|
2762
|
+
COMMON_MALFORMED_JSON = 701,
|
|
2763
|
+
/**
|
|
2764
|
+
* @generated from enum value: JOSE_ERROR_REASON_COMMON_MISSING_OPERATION = 702;
|
|
2765
|
+
*/
|
|
2766
|
+
COMMON_MISSING_OPERATION = 702,
|
|
2767
|
+
/**
|
|
2768
|
+
* Rust failure: JwsSignErrorReason::InputTooLarge
|
|
2769
|
+
* Rust failure: JwsEddsaError::InputTooLarge
|
|
2770
|
+
* Rust failure: JwsEs256Error::InputTooLarge
|
|
2771
|
+
* Rust failure: JweError::InputTooLarge
|
|
2772
|
+
* Rust failure: JwtError::InputTooLarge
|
|
2773
|
+
*
|
|
2774
|
+
* @generated from enum value: JOSE_ERROR_REASON_COMMON_RESOURCE_LIMIT_EXCEEDED = 703;
|
|
2775
|
+
*/
|
|
2776
|
+
COMMON_RESOURCE_LIMIT_EXCEEDED = 703,
|
|
2777
|
+
/**
|
|
2778
|
+
* Rust failure: JwsSignErrorReason::LengthOverflow
|
|
2779
|
+
* Rust failure: JwsVerifyErrorReason::LengthOverflow
|
|
2780
|
+
* Rust failure: JwsEddsaError::LengthOverflow
|
|
2781
|
+
* Rust failure: JwsEs256Error::LengthOverflow
|
|
2782
|
+
* Rust failure: JweError::LengthOverflow
|
|
2783
|
+
* Rust failure: JwtError::LengthOverflow
|
|
2784
|
+
*
|
|
2785
|
+
* @generated from enum value: JOSE_ERROR_REASON_COMMON_LENGTH_OVERFLOW = 704;
|
|
2786
|
+
*/
|
|
2787
|
+
COMMON_LENGTH_OVERFLOW = 704,
|
|
2788
|
+
/**
|
|
2789
|
+
* Rust failure: JwsVerifyErrorReason::InvalidCompact
|
|
2790
|
+
* Rust failure: JwsEddsaError::InvalidCompactEncoding
|
|
2791
|
+
* Rust failure: JwsEs256Error::InvalidCompactEncoding
|
|
2792
|
+
* Rust failure: JweError::InvalidCompact
|
|
2793
|
+
* Rust failure: JwtError::InvalidJwtFormat
|
|
2794
|
+
*
|
|
2795
|
+
* @generated from enum value: JOSE_ERROR_REASON_COMMON_INVALID_COMPACT = 705;
|
|
2796
|
+
*/
|
|
2797
|
+
COMMON_INVALID_COMPACT = 705,
|
|
2798
|
+
/**
|
|
2799
|
+
* Rust failure: JweError::InvalidEncoding
|
|
2800
|
+
* Rust failure: JwtError::Base64Url
|
|
2801
|
+
*
|
|
2802
|
+
* @generated from enum value: JOSE_ERROR_REASON_COMMON_INVALID_ENCODING = 706;
|
|
2803
|
+
*/
|
|
2804
|
+
COMMON_INVALID_ENCODING = 706,
|
|
2805
|
+
/**
|
|
2806
|
+
* Provider failures: 800-899.
|
|
2807
|
+
* Defined for service wrappers that own runtime provider selection. The
|
|
2808
|
+
* current Rust operation adapter only emits unsupported-provider and
|
|
2809
|
+
* randomness-unavailable provider failures directly.
|
|
2810
|
+
*
|
|
2811
|
+
* @generated from enum value: JOSE_ERROR_REASON_PROVIDER_UNAVAILABLE = 800;
|
|
2812
|
+
*/
|
|
2813
|
+
PROVIDER_UNAVAILABLE = 800,
|
|
2814
|
+
/**
|
|
2815
|
+
* @generated from enum value: JOSE_ERROR_REASON_PROVIDER_UNSUPPORTED = 801;
|
|
2816
|
+
*/
|
|
2817
|
+
PROVIDER_UNSUPPORTED = 801,
|
|
2818
|
+
/**
|
|
2819
|
+
* Rust failure: JweError::Randomness
|
|
2820
|
+
*
|
|
2821
|
+
* @generated from enum value: JOSE_ERROR_REASON_PROVIDER_RANDOMNESS_UNAVAILABLE = 802;
|
|
2822
|
+
*/
|
|
2823
|
+
PROVIDER_RANDOMNESS_UNAVAILABLE = 802,
|
|
2824
|
+
/**
|
|
2825
|
+
* Backend failures: 900-999.
|
|
2826
|
+
* Rust failure: JoseWireErrorConstructionError::BranchReasonMismatch
|
|
2827
|
+
*
|
|
2828
|
+
* @generated from enum value: JOSE_ERROR_REASON_BACKEND_INTERNAL = 900;
|
|
2829
|
+
*/
|
|
2830
|
+
BACKEND_INTERNAL = 900,
|
|
2831
|
+
/**
|
|
2832
|
+
* @generated from enum value: JOSE_ERROR_REASON_BACKEND_JSON_SERIALIZATION = 901;
|
|
2833
|
+
*/
|
|
2834
|
+
BACKEND_JSON_SERIALIZATION = 901,
|
|
2835
|
+
/**
|
|
2836
|
+
* Rust failure: JweError::KeyDerivation
|
|
2837
|
+
*
|
|
2838
|
+
* @generated from enum value: JOSE_ERROR_REASON_BACKEND_KEY_DERIVATION_FAILED = 902;
|
|
2839
|
+
*/
|
|
2840
|
+
BACKEND_KEY_DERIVATION_FAILED = 902
|
|
2841
|
+
}
|
|
2842
|
+
/**
|
|
2843
|
+
* Describes the enum reallyme.jose.v1.JoseErrorReason.
|
|
2844
|
+
*/
|
|
2845
|
+
export declare const JoseErrorReasonSchema: GenEnum<JoseErrorReason>;
|
|
2846
|
+
/**
|
|
2847
|
+
* Rust selector: JwsAlgorithm; crate; provider; PROVIDER_UNSUPPORTED
|
|
2848
|
+
* Rust selector: JwtAlgorithm; crate; provider; PROVIDER_UNSUPPORTED
|
|
2849
|
+
*
|
|
2850
|
+
* @generated from enum reallyme.jose.v1.JoseSignatureAlgorithm
|
|
2851
|
+
*/
|
|
2852
|
+
export declare enum JoseSignatureAlgorithm {
|
|
2853
|
+
/**
|
|
2854
|
+
* @generated from enum value: JOSE_SIGNATURE_ALGORITHM_UNSPECIFIED = 0;
|
|
2855
|
+
*/
|
|
2856
|
+
UNSPECIFIED = 0,
|
|
2857
|
+
/**
|
|
2858
|
+
* EdDSA: 100-199; elliptic-curve signatures: 200-299.
|
|
2859
|
+
* Rust variant: JwsAlgorithm.Eddsa; label=EdDSA
|
|
2860
|
+
* Rust variant: JwtAlgorithm.Eddsa; label=EdDSA; backend=Ed25519; curve=Ed25519; key_type=Okp; curve_id=JOSE_NAMED_CURVE_ED25519; signature_bytes=64; encoding_id=JOSE_SIGNATURE_ENCODING_FIXED_WIDTH; raw_provider=false
|
|
2861
|
+
*
|
|
2862
|
+
* @generated from enum value: JOSE_SIGNATURE_ALGORITHM_EDDSA = 100;
|
|
2863
|
+
*/
|
|
2864
|
+
EDDSA = 100,
|
|
2865
|
+
/**
|
|
2866
|
+
* Rust variant: JwsAlgorithm.Es256; label=ES256
|
|
2867
|
+
* Rust variant: JwtAlgorithm.Es256; label=ES256; backend=P256; curve=P-256; key_type=Ec; curve_id=JOSE_NAMED_CURVE_P256; signature_bytes=64; encoding_id=JOSE_SIGNATURE_ENCODING_FIXED_WIDTH; raw_provider=true
|
|
2868
|
+
*
|
|
2869
|
+
* @generated from enum value: JOSE_SIGNATURE_ALGORITHM_ES256 = 200;
|
|
2870
|
+
*/
|
|
2871
|
+
ES256 = 200,
|
|
2872
|
+
/**
|
|
2873
|
+
* Shared identity; compact JWS accepts only EdDSA and ES256.
|
|
2874
|
+
* Rust variant: JwtAlgorithm.Es256k; label=ES256K; backend=Secp256k1; curve=secp256k1; key_type=Ec; curve_id=JOSE_NAMED_CURVE_SECP256K1; signature_bytes=64; encoding_id=JOSE_SIGNATURE_ENCODING_FIXED_WIDTH; raw_provider=false
|
|
2875
|
+
*
|
|
2876
|
+
* @generated from enum value: JOSE_SIGNATURE_ALGORITHM_ES256K = 230;
|
|
2877
|
+
*/
|
|
2878
|
+
ES256K = 230
|
|
2879
|
+
}
|
|
2880
|
+
/**
|
|
2881
|
+
* Describes the enum reallyme.jose.v1.JoseSignatureAlgorithm.
|
|
2882
|
+
*/
|
|
2883
|
+
export declare const JoseSignatureAlgorithmSchema: GenEnum<JoseSignatureAlgorithm>;
|
|
2884
|
+
/**
|
|
2885
|
+
* Rust selector: JweKeyManagementSuite; crate; provider; PROVIDER_UNSUPPORTED
|
|
2886
|
+
*
|
|
2887
|
+
* @generated from enum reallyme.jose.v1.JoseJweKeyManagementAlgorithm
|
|
2888
|
+
*/
|
|
2889
|
+
export declare enum JoseJweKeyManagementAlgorithm {
|
|
2890
|
+
/**
|
|
2891
|
+
* @generated from enum value: JOSE_JWE_KEY_MANAGEMENT_ALGORITHM_UNSPECIFIED = 0;
|
|
2892
|
+
*/
|
|
2893
|
+
UNSPECIFIED = 0,
|
|
2894
|
+
/**
|
|
2895
|
+
* Direct key use: 100-199; ECDH-ES: 200-299.
|
|
2896
|
+
* Rust variant: JweKeyManagementSuite.Direct; header=Direct
|
|
2897
|
+
*
|
|
2898
|
+
* @generated from enum value: JOSE_JWE_KEY_MANAGEMENT_ALGORITHM_DIRECT = 100;
|
|
2899
|
+
*/
|
|
2900
|
+
DIRECT = 100,
|
|
2901
|
+
/**
|
|
2902
|
+
* Rust variant: JweKeyManagementSuite.P256; curve=P-256; header=EcdhEs
|
|
2903
|
+
*
|
|
2904
|
+
* @generated from enum value: JOSE_JWE_KEY_MANAGEMENT_ALGORITHM_ECDH_ES_P256 = 200;
|
|
2905
|
+
*/
|
|
2906
|
+
ECDH_ES_P256 = 200,
|
|
2907
|
+
/**
|
|
2908
|
+
* Rust variant: JweKeyManagementSuite.P384; curve=P-384; header=EcdhEs
|
|
2909
|
+
*
|
|
2910
|
+
* @generated from enum value: JOSE_JWE_KEY_MANAGEMENT_ALGORITHM_ECDH_ES_P384 = 210;
|
|
2911
|
+
*/
|
|
2912
|
+
ECDH_ES_P384 = 210,
|
|
2913
|
+
/**
|
|
2914
|
+
* Rust variant: JweKeyManagementSuite.P521; curve=P-521; header=EcdhEs
|
|
2915
|
+
*
|
|
2916
|
+
* @generated from enum value: JOSE_JWE_KEY_MANAGEMENT_ALGORITHM_ECDH_ES_P521 = 220;
|
|
2917
|
+
*/
|
|
2918
|
+
ECDH_ES_P521 = 220
|
|
2919
|
+
}
|
|
2920
|
+
/**
|
|
2921
|
+
* Describes the enum reallyme.jose.v1.JoseJweKeyManagementAlgorithm.
|
|
2922
|
+
*/
|
|
2923
|
+
export declare const JoseJweKeyManagementAlgorithmSchema: GenEnum<JoseJweKeyManagementAlgorithm>;
|
|
2924
|
+
/**
|
|
2925
|
+
* Header algorithm identity is separate from the curve-specific execution
|
|
2926
|
+
* suites above. ECDH-ES on the JOSE wire does not identify a named curve.
|
|
2927
|
+
* Rust selector: JweKeyManagementAlgorithm; public; provider; PROVIDER_UNSUPPORTED
|
|
2928
|
+
*
|
|
2929
|
+
* @generated from enum reallyme.jose.v1.JoseJweHeaderAlgorithm
|
|
2930
|
+
*/
|
|
2931
|
+
export declare enum JoseJweHeaderAlgorithm {
|
|
2932
|
+
/**
|
|
2933
|
+
* @generated from enum value: JOSE_JWE_HEADER_ALGORITHM_UNSPECIFIED = 0;
|
|
2934
|
+
*/
|
|
2935
|
+
UNSPECIFIED = 0,
|
|
2936
|
+
/**
|
|
2937
|
+
* Rust variant: JweKeyManagementAlgorithm.Direct; label=dir
|
|
2938
|
+
*
|
|
2939
|
+
* @generated from enum value: JOSE_JWE_HEADER_ALGORITHM_DIRECT = 100;
|
|
2940
|
+
*/
|
|
2941
|
+
DIRECT = 100,
|
|
2942
|
+
/**
|
|
2943
|
+
* Rust variant: JweKeyManagementAlgorithm.EcdhEs; label=ECDH-ES
|
|
2944
|
+
*
|
|
2945
|
+
* @generated from enum value: JOSE_JWE_HEADER_ALGORITHM_ECDH_ES = 200;
|
|
2946
|
+
*/
|
|
2947
|
+
ECDH_ES = 200
|
|
2948
|
+
}
|
|
2949
|
+
/**
|
|
2950
|
+
* Describes the enum reallyme.jose.v1.JoseJweHeaderAlgorithm.
|
|
2951
|
+
*/
|
|
2952
|
+
export declare const JoseJweHeaderAlgorithmSchema: GenEnum<JoseJweHeaderAlgorithm>;
|
|
2953
|
+
/**
|
|
2954
|
+
* Rust selector: JweContentEncryptionAlgorithm; public; provider; PROVIDER_UNSUPPORTED
|
|
2955
|
+
*
|
|
2956
|
+
* @generated from enum reallyme.jose.v1.JoseJweContentEncryptionAlgorithm
|
|
2957
|
+
*/
|
|
2958
|
+
export declare enum JoseJweContentEncryptionAlgorithm {
|
|
2959
|
+
/**
|
|
2960
|
+
* @generated from enum value: JOSE_JWE_CONTENT_ENCRYPTION_ALGORITHM_UNSPECIFIED = 0;
|
|
2961
|
+
*/
|
|
2962
|
+
UNSPECIFIED = 0,
|
|
2963
|
+
/**
|
|
2964
|
+
* AES-GCM content encryption: 100-199.
|
|
2965
|
+
* Rust variant: JweContentEncryptionAlgorithm.A128Gcm; label=A128GCM; key=16; nonce=12; tag=16
|
|
2966
|
+
*
|
|
2967
|
+
* @generated from enum value: JOSE_JWE_CONTENT_ENCRYPTION_ALGORITHM_A128GCM = 100;
|
|
2968
|
+
*/
|
|
2969
|
+
A128GCM = 100,
|
|
2970
|
+
/**
|
|
2971
|
+
* Rust variant: JweContentEncryptionAlgorithm.A192Gcm; label=A192GCM; key=24; nonce=12; tag=16
|
|
2972
|
+
*
|
|
2973
|
+
* @generated from enum value: JOSE_JWE_CONTENT_ENCRYPTION_ALGORITHM_A192GCM = 110;
|
|
2974
|
+
*/
|
|
2975
|
+
A192GCM = 110,
|
|
2976
|
+
/**
|
|
2977
|
+
* Rust variant: JweContentEncryptionAlgorithm.A256Gcm; label=A256GCM; key=32; nonce=12; tag=16
|
|
2978
|
+
*
|
|
2979
|
+
* @generated from enum value: JOSE_JWE_CONTENT_ENCRYPTION_ALGORITHM_A256GCM = 120;
|
|
2980
|
+
*/
|
|
2981
|
+
A256GCM = 120
|
|
2982
|
+
}
|
|
2983
|
+
/**
|
|
2984
|
+
* Describes the enum reallyme.jose.v1.JoseJweContentEncryptionAlgorithm.
|
|
2985
|
+
*/
|
|
2986
|
+
export declare const JoseJweContentEncryptionAlgorithmSchema: GenEnum<JoseJweContentEncryptionAlgorithm>;
|
|
2987
|
+
/**
|
|
2988
|
+
* Rust selector: JweCompressionAlgorithm; public; primitive; JWE_UNSUPPORTED_COMPRESSION_ALGORITHM
|
|
2989
|
+
*
|
|
2990
|
+
* @generated from enum reallyme.jose.v1.JoseJweCompressionAlgorithm
|
|
2991
|
+
*/
|
|
2992
|
+
export declare enum JoseJweCompressionAlgorithm {
|
|
2993
|
+
/**
|
|
2994
|
+
* @generated from enum value: JOSE_JWE_COMPRESSION_ALGORITHM_UNSPECIFIED = 0;
|
|
2995
|
+
*/
|
|
2996
|
+
UNSPECIFIED = 0,
|
|
2997
|
+
/**
|
|
2998
|
+
* RFC 7518 raw DEFLATE compression: 100-199.
|
|
2999
|
+
* Rust variant: JweCompressionAlgorithm.Deflate; label=DEF
|
|
3000
|
+
*
|
|
3001
|
+
* @generated from enum value: JOSE_JWE_COMPRESSION_ALGORITHM_DEFLATE = 100;
|
|
3002
|
+
*/
|
|
3003
|
+
DEFLATE = 100
|
|
3004
|
+
}
|
|
3005
|
+
/**
|
|
3006
|
+
* Describes the enum reallyme.jose.v1.JoseJweCompressionAlgorithm.
|
|
3007
|
+
*/
|
|
3008
|
+
export declare const JoseJweCompressionAlgorithmSchema: GenEnum<JoseJweCompressionAlgorithm>;
|
|
3009
|
+
/**
|
|
3010
|
+
* JoseOperationContractVersion is validated exactly by every executable
|
|
3011
|
+
* response decoder. Unknown and unspecified versions fail closed.
|
|
3012
|
+
*
|
|
3013
|
+
* @generated from enum reallyme.jose.v1.JoseOperationContractVersion
|
|
3014
|
+
*/
|
|
3015
|
+
export declare enum JoseOperationContractVersion {
|
|
3016
|
+
/**
|
|
3017
|
+
* @generated from enum value: JOSE_OPERATION_CONTRACT_VERSION_UNSPECIFIED = 0;
|
|
3018
|
+
*/
|
|
3019
|
+
UNSPECIFIED = 0,
|
|
3020
|
+
/**
|
|
3021
|
+
* @generated from enum value: JOSE_OPERATION_CONTRACT_VERSION_V2 = 2;
|
|
3022
|
+
*/
|
|
3023
|
+
V2 = 2
|
|
3024
|
+
}
|
|
3025
|
+
/**
|
|
3026
|
+
* Describes the enum reallyme.jose.v1.JoseOperationContractVersion.
|
|
3027
|
+
*/
|
|
3028
|
+
export declare const JoseOperationContractVersionSchema: GenEnum<JoseOperationContractVersion>;
|
|
3029
|
+
/**
|
|
3030
|
+
* External signature registrations available to an injected provider. These
|
|
3031
|
+
* registrations do not enable a built-in signature implementation.
|
|
3032
|
+
* Rust selector: ExternalJwsAlgorithm; public; primitive; JWS_HEADER_MISMATCH
|
|
3033
|
+
*
|
|
3034
|
+
* @generated from enum reallyme.jose.v1.JoseExternalJwsAlgorithm
|
|
3035
|
+
*/
|
|
3036
|
+
export declare enum JoseExternalJwsAlgorithm {
|
|
3037
|
+
/**
|
|
3038
|
+
* @generated from enum value: JOSE_EXTERNAL_JWS_ALGORITHM_UNSPECIFIED = 0;
|
|
1215
3039
|
*/
|
|
1216
|
-
|
|
3040
|
+
UNSPECIFIED = 0,
|
|
1217
3041
|
/**
|
|
1218
|
-
*
|
|
3042
|
+
* Rust variant: ExternalJwsAlgorithm.Es256; label=ES256
|
|
3043
|
+
*
|
|
3044
|
+
* @generated from enum value: JOSE_EXTERNAL_JWS_ALGORITHM_ES256 = 100;
|
|
1219
3045
|
*/
|
|
1220
|
-
|
|
3046
|
+
ES256 = 100,
|
|
1221
3047
|
/**
|
|
1222
|
-
*
|
|
3048
|
+
* Rust variant: ExternalJwsAlgorithm.Es384; label=ES384
|
|
3049
|
+
*
|
|
3050
|
+
* @generated from enum value: JOSE_EXTERNAL_JWS_ALGORITHM_ES384 = 101;
|
|
1223
3051
|
*/
|
|
1224
|
-
|
|
3052
|
+
ES384 = 101,
|
|
1225
3053
|
/**
|
|
1226
|
-
*
|
|
3054
|
+
* Rust variant: ExternalJwsAlgorithm.Es512; label=ES512
|
|
3055
|
+
*
|
|
3056
|
+
* @generated from enum value: JOSE_EXTERNAL_JWS_ALGORITHM_ES512 = 102;
|
|
1227
3057
|
*/
|
|
1228
|
-
|
|
3058
|
+
ES512 = 102,
|
|
1229
3059
|
/**
|
|
1230
|
-
*
|
|
3060
|
+
* Rust variant: ExternalJwsAlgorithm.Es256k; label=ES256K
|
|
3061
|
+
*
|
|
3062
|
+
* @generated from enum value: JOSE_EXTERNAL_JWS_ALGORITHM_ES256K = 103;
|
|
1231
3063
|
*/
|
|
1232
|
-
|
|
3064
|
+
ES256K = 103,
|
|
1233
3065
|
/**
|
|
1234
|
-
*
|
|
3066
|
+
* Rust variant: ExternalJwsAlgorithm.EdDsa; label=EdDSA
|
|
3067
|
+
*
|
|
3068
|
+
* @generated from enum value: JOSE_EXTERNAL_JWS_ALGORITHM_EDDSA = 104;
|
|
1235
3069
|
*/
|
|
1236
|
-
|
|
3070
|
+
EDDSA = 104,
|
|
1237
3071
|
/**
|
|
1238
|
-
*
|
|
3072
|
+
* Rust variant: ExternalJwsAlgorithm.Ps256; label=PS256
|
|
3073
|
+
*
|
|
3074
|
+
* @generated from enum value: JOSE_EXTERNAL_JWS_ALGORITHM_PS256 = 105;
|
|
1239
3075
|
*/
|
|
1240
|
-
|
|
3076
|
+
PS256 = 105,
|
|
1241
3077
|
/**
|
|
1242
|
-
*
|
|
3078
|
+
* Rust variant: ExternalJwsAlgorithm.Ps384; label=PS384
|
|
1243
3079
|
*
|
|
1244
|
-
* @generated from enum value:
|
|
3080
|
+
* @generated from enum value: JOSE_EXTERNAL_JWS_ALGORITHM_PS384 = 106;
|
|
1245
3081
|
*/
|
|
1246
|
-
|
|
3082
|
+
PS384 = 106,
|
|
1247
3083
|
/**
|
|
1248
|
-
*
|
|
3084
|
+
* Rust variant: ExternalJwsAlgorithm.Ps512; label=PS512
|
|
3085
|
+
*
|
|
3086
|
+
* @generated from enum value: JOSE_EXTERNAL_JWS_ALGORITHM_PS512 = 107;
|
|
1249
3087
|
*/
|
|
1250
|
-
|
|
3088
|
+
PS512 = 107,
|
|
1251
3089
|
/**
|
|
1252
|
-
*
|
|
3090
|
+
* Rust variant: ExternalJwsAlgorithm.Rs256; label=RS256
|
|
1253
3091
|
*
|
|
1254
|
-
* @generated from enum value:
|
|
3092
|
+
* @generated from enum value: JOSE_EXTERNAL_JWS_ALGORITHM_RS256 = 108;
|
|
1255
3093
|
*/
|
|
1256
|
-
|
|
3094
|
+
RS256 = 108,
|
|
1257
3095
|
/**
|
|
1258
|
-
*
|
|
3096
|
+
* Rust variant: ExternalJwsAlgorithm.Rs384; label=RS384
|
|
3097
|
+
*
|
|
3098
|
+
* @generated from enum value: JOSE_EXTERNAL_JWS_ALGORITHM_RS384 = 109;
|
|
1259
3099
|
*/
|
|
1260
|
-
|
|
3100
|
+
RS384 = 109,
|
|
1261
3101
|
/**
|
|
1262
|
-
*
|
|
3102
|
+
* Rust variant: ExternalJwsAlgorithm.Rs512; label=RS512
|
|
1263
3103
|
*
|
|
1264
|
-
* @generated from enum value:
|
|
3104
|
+
* @generated from enum value: JOSE_EXTERNAL_JWS_ALGORITHM_RS512 = 110;
|
|
1265
3105
|
*/
|
|
1266
|
-
|
|
3106
|
+
RS512 = 110
|
|
3107
|
+
}
|
|
3108
|
+
/**
|
|
3109
|
+
* Describes the enum reallyme.jose.v1.JoseExternalJwsAlgorithm.
|
|
3110
|
+
*/
|
|
3111
|
+
export declare const JoseExternalJwsAlgorithmSchema: GenEnum<JoseExternalJwsAlgorithm>;
|
|
3112
|
+
/**
|
|
3113
|
+
* Exact named curves exposed through signature and agreement contracts.
|
|
3114
|
+
*
|
|
3115
|
+
* @generated from enum reallyme.jose.v1.JoseNamedCurve
|
|
3116
|
+
*/
|
|
3117
|
+
export declare enum JoseNamedCurve {
|
|
1267
3118
|
/**
|
|
1268
|
-
* @generated from enum value:
|
|
3119
|
+
* @generated from enum value: JOSE_NAMED_CURVE_UNSPECIFIED = 0;
|
|
1269
3120
|
*/
|
|
1270
|
-
|
|
3121
|
+
UNSPECIFIED = 0,
|
|
1271
3122
|
/**
|
|
1272
|
-
* @generated from enum value:
|
|
3123
|
+
* @generated from enum value: JOSE_NAMED_CURVE_ED25519 = 100;
|
|
1273
3124
|
*/
|
|
1274
|
-
|
|
3125
|
+
ED25519 = 100,
|
|
1275
3126
|
/**
|
|
1276
|
-
* @generated from enum value:
|
|
3127
|
+
* @generated from enum value: JOSE_NAMED_CURVE_P256 = 200;
|
|
1277
3128
|
*/
|
|
1278
|
-
|
|
3129
|
+
P256 = 200,
|
|
1279
3130
|
/**
|
|
1280
|
-
* @generated from enum value:
|
|
3131
|
+
* @generated from enum value: JOSE_NAMED_CURVE_P384 = 210;
|
|
1281
3132
|
*/
|
|
1282
|
-
|
|
3133
|
+
P384 = 210,
|
|
1283
3134
|
/**
|
|
1284
|
-
* @generated from enum value:
|
|
3135
|
+
* @generated from enum value: JOSE_NAMED_CURVE_P521 = 220;
|
|
1285
3136
|
*/
|
|
1286
|
-
|
|
3137
|
+
P521 = 220,
|
|
1287
3138
|
/**
|
|
1288
|
-
* @generated from enum value:
|
|
3139
|
+
* @generated from enum value: JOSE_NAMED_CURVE_SECP256K1 = 230;
|
|
1289
3140
|
*/
|
|
1290
|
-
|
|
3141
|
+
SECP256K1 = 230
|
|
3142
|
+
}
|
|
3143
|
+
/**
|
|
3144
|
+
* Describes the enum reallyme.jose.v1.JoseNamedCurve.
|
|
3145
|
+
*/
|
|
3146
|
+
export declare const JoseNamedCurveSchema: GenEnum<JoseNamedCurve>;
|
|
3147
|
+
/**
|
|
3148
|
+
* @generated from enum reallyme.jose.v1.JoseSignatureEncoding
|
|
3149
|
+
*/
|
|
3150
|
+
export declare enum JoseSignatureEncoding {
|
|
1291
3151
|
/**
|
|
1292
|
-
* @generated from enum value:
|
|
3152
|
+
* @generated from enum value: JOSE_SIGNATURE_ENCODING_UNSPECIFIED = 0;
|
|
1293
3153
|
*/
|
|
1294
|
-
|
|
3154
|
+
UNSPECIFIED = 0,
|
|
1295
3155
|
/**
|
|
1296
|
-
* @generated from enum value:
|
|
3156
|
+
* @generated from enum value: JOSE_SIGNATURE_ENCODING_FIXED_WIDTH = 100;
|
|
1297
3157
|
*/
|
|
1298
|
-
|
|
3158
|
+
FIXED_WIDTH = 100,
|
|
1299
3159
|
/**
|
|
1300
|
-
* @generated from enum value:
|
|
3160
|
+
* @generated from enum value: JOSE_SIGNATURE_ENCODING_DER = 200;
|
|
1301
3161
|
*/
|
|
1302
|
-
|
|
3162
|
+
DER = 200
|
|
3163
|
+
}
|
|
3164
|
+
/**
|
|
3165
|
+
* Describes the enum reallyme.jose.v1.JoseSignatureEncoding.
|
|
3166
|
+
*/
|
|
3167
|
+
export declare const JoseSignatureEncodingSchema: GenEnum<JoseSignatureEncoding>;
|
|
3168
|
+
/**
|
|
3169
|
+
* Fixed deployment ceilings and safe defaults. Generated consumers derive
|
|
3170
|
+
* constants from these values instead of maintaining independent numeric limits.
|
|
3171
|
+
*
|
|
3172
|
+
* @generated from enum reallyme.jose.v1.JoseContractLimit
|
|
3173
|
+
*/
|
|
3174
|
+
export declare enum JoseContractLimit {
|
|
1303
3175
|
/**
|
|
1304
|
-
*
|
|
3176
|
+
* Rust constant: jwe/parse_compact.rs#MAX_COMPACT_JWE_BYTES = COMPACT_BYTES
|
|
3177
|
+
* Rust constant: jws/parse_compact.rs#MAX_COMPACT_JWS_BYTES = COMPACT_BYTES
|
|
3178
|
+
* Rust constant: jwt/parse_compact.rs#MAX_COMPACT_JWT_BYTES = COMPACT_BYTES
|
|
3179
|
+
* Rust constant: jwe/compression.rs#MAX_DECOMPRESSED_JWE_BYTES = COMPACT_BYTES
|
|
3180
|
+
* Rust constant: wire.rs#MAX_JOSE_PROTO_MESSAGE_BYTES = COMPACT_BYTES
|
|
3181
|
+
* Rust constant: wire.rs#MAX_JOSE_PROTO_RESPONSE_OVERHEAD_BYTES = RESPONSE_OVERHEAD_BYTES
|
|
3182
|
+
* Rust constant: wire.rs#MAX_JOSE_PROTO_JSON_BYTES = PROTO_JSON_BYTES
|
|
3183
|
+
*
|
|
3184
|
+
* @generated from enum value: JOSE_CONTRACT_LIMIT_UNSPECIFIED = 0;
|
|
1305
3185
|
*/
|
|
1306
|
-
|
|
3186
|
+
UNSPECIFIED = 0,
|
|
1307
3187
|
/**
|
|
1308
|
-
* @generated from enum value:
|
|
3188
|
+
* @generated from enum value: JOSE_CONTRACT_LIMIT_COMPACT_BYTES = 1048576;
|
|
1309
3189
|
*/
|
|
1310
|
-
|
|
3190
|
+
COMPACT_BYTES = 1048576,
|
|
1311
3191
|
/**
|
|
1312
|
-
* @generated from enum value:
|
|
3192
|
+
* @generated from enum value: JOSE_CONTRACT_LIMIT_PROTO_JSON_BYTES = 1572864;
|
|
1313
3193
|
*/
|
|
1314
|
-
|
|
3194
|
+
PROTO_JSON_BYTES = 1572864,
|
|
1315
3195
|
/**
|
|
1316
|
-
*
|
|
1317
|
-
*
|
|
1318
|
-
* @generated from enum value: JOSE_ERROR_REASON_COMMON_MALFORMED_PROTOBUF = 700;
|
|
3196
|
+
* @generated from enum value: JOSE_CONTRACT_LIMIT_RESPONSE_OVERHEAD_BYTES = 32;
|
|
1319
3197
|
*/
|
|
1320
|
-
|
|
3198
|
+
RESPONSE_OVERHEAD_BYTES = 32,
|
|
1321
3199
|
/**
|
|
1322
|
-
* @generated from enum value:
|
|
3200
|
+
* @generated from enum value: JOSE_CONTRACT_LIMIT_PROTO_RECURSION_DEPTH = 64;
|
|
1323
3201
|
*/
|
|
1324
|
-
|
|
3202
|
+
PROTO_RECURSION_DEPTH = 64,
|
|
1325
3203
|
/**
|
|
1326
|
-
* @generated from enum value:
|
|
3204
|
+
* @generated from enum value: JOSE_CONTRACT_LIMIT_TEMPORAL_SKEW_SECONDS = 300;
|
|
1327
3205
|
*/
|
|
1328
|
-
|
|
3206
|
+
TEMPORAL_SKEW_SECONDS = 300,
|
|
1329
3207
|
/**
|
|
1330
|
-
* @generated from enum value:
|
|
3208
|
+
* @generated from enum value: JOSE_CONTRACT_LIMIT_DEFAULT_TEMPORAL_SKEW_SECONDS = 60;
|
|
1331
3209
|
*/
|
|
1332
|
-
|
|
3210
|
+
DEFAULT_TEMPORAL_SKEW_SECONDS = 60
|
|
3211
|
+
}
|
|
3212
|
+
/**
|
|
3213
|
+
* Describes the enum reallyme.jose.v1.JoseContractLimit.
|
|
3214
|
+
*/
|
|
3215
|
+
export declare const JoseContractLimitSchema: GenEnum<JoseContractLimit>;
|
|
3216
|
+
/**
|
|
3217
|
+
* Count limits are separate from byte and time ceilings, which may share the
|
|
3218
|
+
* same numeric magnitude without being aliases of one contract identity.
|
|
3219
|
+
*
|
|
3220
|
+
* @generated from enum reallyme.jose.v1.JoseJwtPolicyLimit
|
|
3221
|
+
*/
|
|
3222
|
+
export declare enum JoseJwtPolicyLimit {
|
|
1333
3223
|
/**
|
|
1334
|
-
*
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
3224
|
+
* @generated from enum value: JOSE_JWT_POLICY_LIMIT_UNSPECIFIED = 0;
|
|
3225
|
+
*/
|
|
3226
|
+
UNSPECIFIED = 0,
|
|
3227
|
+
/**
|
|
3228
|
+
* @generated from enum value: JOSE_JWT_POLICY_LIMIT_ACCEPTED_TYPE_VALUES = 32;
|
|
3229
|
+
*/
|
|
3230
|
+
ACCEPTED_TYPE_VALUES = 32
|
|
3231
|
+
}
|
|
3232
|
+
/**
|
|
3233
|
+
* Describes the enum reallyme.jose.v1.JoseJwtPolicyLimit.
|
|
3234
|
+
*/
|
|
3235
|
+
export declare const JoseJwtPolicyLimitSchema: GenEnum<JoseJwtPolicyLimit>;
|
|
3236
|
+
/**
|
|
3237
|
+
* Rust selector: JwtTemporalClaim; public; primitive; JWT_INVALID_VERIFICATION_POLICY
|
|
3238
|
+
* Rust selector: JwtRegisteredClaim; public; primitive; JWT_INVALID_VERIFICATION_POLICY
|
|
3239
|
+
*
|
|
3240
|
+
* @generated from enum reallyme.jose.v1.JoseJwtClaim
|
|
3241
|
+
*/
|
|
3242
|
+
export declare enum JoseJwtClaim {
|
|
3243
|
+
/**
|
|
3244
|
+
* @generated from enum value: JOSE_JWT_CLAIM_UNSPECIFIED = 0;
|
|
3245
|
+
*/
|
|
3246
|
+
UNSPECIFIED = 0,
|
|
3247
|
+
/**
|
|
3248
|
+
* Rust variant: JwtTemporalClaim.Exp; claim=exp
|
|
1338
3249
|
*
|
|
1339
|
-
* @generated from enum value:
|
|
3250
|
+
* @generated from enum value: JOSE_JWT_CLAIM_EXP = 100;
|
|
1340
3251
|
*/
|
|
1341
|
-
|
|
3252
|
+
EXP = 100,
|
|
1342
3253
|
/**
|
|
1343
|
-
*
|
|
3254
|
+
* Rust variant: JwtTemporalClaim.Nbf; claim=nbf
|
|
3255
|
+
*
|
|
3256
|
+
* @generated from enum value: JOSE_JWT_CLAIM_NBF = 110;
|
|
1344
3257
|
*/
|
|
1345
|
-
|
|
3258
|
+
NBF = 110,
|
|
1346
3259
|
/**
|
|
1347
|
-
*
|
|
3260
|
+
* Rust variant: JwtTemporalClaim.Iat; claim=iat
|
|
3261
|
+
*
|
|
3262
|
+
* @generated from enum value: JOSE_JWT_CLAIM_IAT = 120;
|
|
1348
3263
|
*/
|
|
1349
|
-
|
|
3264
|
+
IAT = 120,
|
|
1350
3265
|
/**
|
|
1351
|
-
*
|
|
3266
|
+
* Rust variant: JwtRegisteredClaim.Issuer; claim=iss
|
|
1352
3267
|
*
|
|
1353
|
-
* @generated from enum value:
|
|
3268
|
+
* @generated from enum value: JOSE_JWT_CLAIM_ISSUER = 200;
|
|
1354
3269
|
*/
|
|
1355
|
-
|
|
3270
|
+
ISSUER = 200,
|
|
1356
3271
|
/**
|
|
1357
|
-
*
|
|
3272
|
+
* Rust variant: JwtRegisteredClaim.Subject; claim=sub
|
|
3273
|
+
*
|
|
3274
|
+
* @generated from enum value: JOSE_JWT_CLAIM_SUBJECT = 210;
|
|
1358
3275
|
*/
|
|
1359
|
-
|
|
3276
|
+
SUBJECT = 210,
|
|
1360
3277
|
/**
|
|
1361
|
-
*
|
|
3278
|
+
* Rust variant: JwtRegisteredClaim.Audience; claim=aud
|
|
3279
|
+
*
|
|
3280
|
+
* @generated from enum value: JOSE_JWT_CLAIM_AUDIENCE = 220;
|
|
1362
3281
|
*/
|
|
1363
|
-
|
|
3282
|
+
AUDIENCE = 220
|
|
1364
3283
|
}
|
|
1365
3284
|
/**
|
|
1366
|
-
* Describes the enum reallyme.jose.v1.
|
|
3285
|
+
* Describes the enum reallyme.jose.v1.JoseJwtClaim.
|
|
1367
3286
|
*/
|
|
1368
|
-
export declare const
|
|
3287
|
+
export declare const JoseJwtClaimSchema: GenEnum<JoseJwtClaim>;
|
|
1369
3288
|
/**
|
|
1370
|
-
*
|
|
3289
|
+
* Rust selector: JoseWireErrorBranch; public; backend; BACKEND_INTERNAL
|
|
3290
|
+
*
|
|
3291
|
+
* @generated from enum reallyme.jose.v1.JoseErrorBranch
|
|
1371
3292
|
*/
|
|
1372
|
-
export declare enum
|
|
3293
|
+
export declare enum JoseErrorBranch {
|
|
1373
3294
|
/**
|
|
1374
|
-
* @generated from enum value:
|
|
3295
|
+
* @generated from enum value: JOSE_ERROR_BRANCH_UNSPECIFIED = 0;
|
|
1375
3296
|
*/
|
|
1376
3297
|
UNSPECIFIED = 0,
|
|
1377
3298
|
/**
|
|
1378
|
-
*
|
|
3299
|
+
* Rust variant: JoseWireErrorBranch.Primitive
|
|
1379
3300
|
*
|
|
1380
|
-
* @generated from enum value:
|
|
3301
|
+
* @generated from enum value: JOSE_ERROR_BRANCH_PRIMITIVE = 100;
|
|
1381
3302
|
*/
|
|
1382
|
-
|
|
3303
|
+
PRIMITIVE = 100,
|
|
1383
3304
|
/**
|
|
1384
|
-
*
|
|
3305
|
+
* Rust variant: JoseWireErrorBranch.Provider
|
|
3306
|
+
*
|
|
3307
|
+
* @generated from enum value: JOSE_ERROR_BRANCH_PROVIDER = 200;
|
|
3308
|
+
*/
|
|
3309
|
+
PROVIDER = 200,
|
|
3310
|
+
/**
|
|
3311
|
+
* Rust variant: JoseWireErrorBranch.Backend
|
|
3312
|
+
*
|
|
3313
|
+
* @generated from enum value: JOSE_ERROR_BRANCH_BACKEND = 300;
|
|
1385
3314
|
*/
|
|
1386
|
-
|
|
3315
|
+
BACKEND = 300
|
|
1387
3316
|
}
|
|
1388
3317
|
/**
|
|
1389
|
-
* Describes the enum reallyme.jose.v1.
|
|
3318
|
+
* Describes the enum reallyme.jose.v1.JoseErrorBranch.
|
|
1390
3319
|
*/
|
|
1391
|
-
export declare const
|
|
3320
|
+
export declare const JoseErrorBranchSchema: GenEnum<JoseErrorBranch>;
|
|
1392
3321
|
/**
|
|
1393
|
-
*
|
|
3322
|
+
* Native response expectation identities match the executable routing fields.
|
|
3323
|
+
* Rust selector: JoseOperationKind; public; backend; BACKEND_INTERNAL
|
|
3324
|
+
*
|
|
3325
|
+
* @generated from enum reallyme.jose.v1.JoseOperationKind
|
|
1394
3326
|
*/
|
|
1395
|
-
export declare enum
|
|
3327
|
+
export declare enum JoseOperationKind {
|
|
1396
3328
|
/**
|
|
1397
|
-
* @generated from enum value:
|
|
3329
|
+
* @generated from enum value: JOSE_OPERATION_KIND_UNSPECIFIED = 0;
|
|
1398
3330
|
*/
|
|
1399
3331
|
UNSPECIFIED = 0,
|
|
1400
3332
|
/**
|
|
1401
|
-
*
|
|
3333
|
+
* Rust variant: JoseOperationKind.JwsSign
|
|
1402
3334
|
*
|
|
1403
|
-
* @generated from enum value:
|
|
3335
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWS_SIGN = 1000;
|
|
1404
3336
|
*/
|
|
1405
|
-
|
|
3337
|
+
JWS_SIGN = 1000,
|
|
1406
3338
|
/**
|
|
1407
|
-
*
|
|
3339
|
+
* Rust variant: JoseOperationKind.JwsVerify
|
|
3340
|
+
*
|
|
3341
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWS_VERIFY = 1001;
|
|
1408
3342
|
*/
|
|
1409
|
-
|
|
3343
|
+
JWS_VERIFY = 1001,
|
|
1410
3344
|
/**
|
|
1411
|
-
*
|
|
3345
|
+
* Rust variant: JoseOperationKind.SignatureSign
|
|
3346
|
+
*
|
|
3347
|
+
* @generated from enum value: JOSE_OPERATION_KIND_SIGNATURE_SIGN = 1010;
|
|
1412
3348
|
*/
|
|
1413
|
-
|
|
3349
|
+
SIGNATURE_SIGN = 1010,
|
|
1414
3350
|
/**
|
|
1415
|
-
*
|
|
3351
|
+
* Rust variant: JoseOperationKind.SignatureVerify
|
|
3352
|
+
*
|
|
3353
|
+
* @generated from enum value: JOSE_OPERATION_KIND_SIGNATURE_VERIFY = 1011;
|
|
1416
3354
|
*/
|
|
1417
|
-
|
|
1418
|
-
}
|
|
1419
|
-
/**
|
|
1420
|
-
* Describes the enum reallyme.jose.v1.JoseJweKeyManagementAlgorithm.
|
|
1421
|
-
*/
|
|
1422
|
-
export declare const JoseJweKeyManagementAlgorithmSchema: GenEnum<JoseJweKeyManagementAlgorithm>;
|
|
1423
|
-
/**
|
|
1424
|
-
* @generated from enum reallyme.jose.v1.JoseJweContentEncryptionAlgorithm
|
|
1425
|
-
*/
|
|
1426
|
-
export declare enum JoseJweContentEncryptionAlgorithm {
|
|
3355
|
+
SIGNATURE_VERIFY = 1011,
|
|
1427
3356
|
/**
|
|
1428
|
-
*
|
|
3357
|
+
* Rust variant: JoseOperationKind.SignatureSuiteInfo
|
|
3358
|
+
*
|
|
3359
|
+
* @generated from enum value: JOSE_OPERATION_KIND_SIGNATURE_SUITE_INFO = 1012;
|
|
1429
3360
|
*/
|
|
1430
|
-
|
|
3361
|
+
SIGNATURE_SUITE_INFO = 1012,
|
|
1431
3362
|
/**
|
|
1432
|
-
*
|
|
3363
|
+
* Rust variant: JoseOperationKind.JwsSignWithProvider
|
|
1433
3364
|
*
|
|
1434
|
-
* @generated from enum value:
|
|
3365
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWS_SIGN_WITH_PROVIDER = 1013;
|
|
1435
3366
|
*/
|
|
1436
|
-
|
|
3367
|
+
JWS_SIGN_WITH_PROVIDER = 1013,
|
|
1437
3368
|
/**
|
|
1438
|
-
*
|
|
3369
|
+
* Rust variant: JoseOperationKind.JwsVerifyWithProvider
|
|
3370
|
+
*
|
|
3371
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWS_VERIFY_WITH_PROVIDER = 1014;
|
|
1439
3372
|
*/
|
|
1440
|
-
|
|
3373
|
+
JWS_VERIFY_WITH_PROVIDER = 1014,
|
|
1441
3374
|
/**
|
|
1442
|
-
*
|
|
3375
|
+
* Rust variant: JoseOperationKind.JwsInspect
|
|
3376
|
+
*
|
|
3377
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWS_INSPECT = 1015;
|
|
1443
3378
|
*/
|
|
1444
|
-
|
|
3379
|
+
JWS_INSPECT = 1015,
|
|
3380
|
+
/**
|
|
3381
|
+
* Rust variant: JoseOperationKind.JwtEncodeUnsigned
|
|
3382
|
+
*
|
|
3383
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWT_ENCODE_UNSIGNED = 2000;
|
|
3384
|
+
*/
|
|
3385
|
+
JWT_ENCODE_UNSIGNED = 2000,
|
|
3386
|
+
/**
|
|
3387
|
+
* Rust variant: JoseOperationKind.JwtDecodeUnsigned
|
|
3388
|
+
*
|
|
3389
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWT_DECODE_UNSIGNED = 2001;
|
|
3390
|
+
*/
|
|
3391
|
+
JWT_DECODE_UNSIGNED = 2001,
|
|
3392
|
+
/**
|
|
3393
|
+
* Rust variant: JoseOperationKind.JwtSign
|
|
3394
|
+
*
|
|
3395
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWT_SIGN = 2002;
|
|
3396
|
+
*/
|
|
3397
|
+
JWT_SIGN = 2002,
|
|
3398
|
+
/**
|
|
3399
|
+
* Rust variant: JoseOperationKind.JwtVerify
|
|
3400
|
+
*
|
|
3401
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWT_VERIFY = 2003;
|
|
3402
|
+
*/
|
|
3403
|
+
JWT_VERIFY = 2003,
|
|
3404
|
+
/**
|
|
3405
|
+
* Rust variant: JoseOperationKind.JwtSignWithProvider
|
|
3406
|
+
*
|
|
3407
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWT_SIGN_WITH_PROVIDER = 2010;
|
|
3408
|
+
*/
|
|
3409
|
+
JWT_SIGN_WITH_PROVIDER = 2010,
|
|
3410
|
+
/**
|
|
3411
|
+
* Rust variant: JoseOperationKind.JwtClaimsParse
|
|
3412
|
+
*
|
|
3413
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWT_CLAIMS_PARSE = 2011;
|
|
3414
|
+
*/
|
|
3415
|
+
JWT_CLAIMS_PARSE = 2011,
|
|
3416
|
+
/**
|
|
3417
|
+
* Rust variant: JoseOperationKind.JweEncrypt
|
|
3418
|
+
*
|
|
3419
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWE_ENCRYPT = 3000;
|
|
3420
|
+
*/
|
|
3421
|
+
JWE_ENCRYPT = 3000,
|
|
3422
|
+
/**
|
|
3423
|
+
* Rust variant: JoseOperationKind.JweDecrypt
|
|
3424
|
+
*
|
|
3425
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWE_DECRYPT = 3001;
|
|
3426
|
+
*/
|
|
3427
|
+
JWE_DECRYPT = 3001,
|
|
3428
|
+
/**
|
|
3429
|
+
* Rust variant: JoseOperationKind.JweDeriveKey
|
|
3430
|
+
*
|
|
3431
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWE_DERIVE_KEY = 3010;
|
|
3432
|
+
*/
|
|
3433
|
+
JWE_DERIVE_KEY = 3010,
|
|
3434
|
+
/**
|
|
3435
|
+
* Rust variant: JoseOperationKind.JweEncryptWithProvider
|
|
3436
|
+
*
|
|
3437
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWE_ENCRYPT_WITH_PROVIDER = 3011;
|
|
3438
|
+
*/
|
|
3439
|
+
JWE_ENCRYPT_WITH_PROVIDER = 3011,
|
|
3440
|
+
/**
|
|
3441
|
+
* Rust variant: JoseOperationKind.JweDecryptWithProvider
|
|
3442
|
+
*
|
|
3443
|
+
* @generated from enum value: JOSE_OPERATION_KIND_JWE_DECRYPT_WITH_PROVIDER = 3012;
|
|
3444
|
+
*/
|
|
3445
|
+
JWE_DECRYPT_WITH_PROVIDER = 3012,
|
|
3446
|
+
/**
|
|
3447
|
+
* Rust variant: JoseOperationKind.ContractInfo
|
|
3448
|
+
*
|
|
3449
|
+
* @generated from enum value: JOSE_OPERATION_KIND_CONTRACT_INFO = 7000;
|
|
3450
|
+
*/
|
|
3451
|
+
CONTRACT_INFO = 7000
|
|
1445
3452
|
}
|
|
1446
3453
|
/**
|
|
1447
|
-
* Describes the enum reallyme.jose.v1.
|
|
3454
|
+
* Describes the enum reallyme.jose.v1.JoseOperationKind.
|
|
1448
3455
|
*/
|
|
1449
|
-
export declare const
|
|
3456
|
+
export declare const JoseOperationKindSchema: GenEnum<JoseOperationKind>;
|
|
1450
3457
|
/**
|
|
1451
|
-
*
|
|
3458
|
+
* Semantic native transport classes; C ABI numeric representations remain an
|
|
3459
|
+
* adapter concern, separate from operation failures in JoseError.
|
|
3460
|
+
* Rust selector: JoseFfiStatus; ffi; self; CallerError
|
|
3461
|
+
*
|
|
3462
|
+
* @generated from enum reallyme.jose.v1.JoseTransportStatus
|
|
1452
3463
|
*/
|
|
1453
|
-
export declare enum
|
|
3464
|
+
export declare enum JoseTransportStatus {
|
|
1454
3465
|
/**
|
|
1455
|
-
* @generated from enum value:
|
|
3466
|
+
* @generated from enum value: JOSE_TRANSPORT_STATUS_UNSPECIFIED = 0;
|
|
1456
3467
|
*/
|
|
1457
3468
|
UNSPECIFIED = 0,
|
|
1458
3469
|
/**
|
|
1459
|
-
*
|
|
3470
|
+
* Rust variant: JoseFfiStatus.Success; code=0
|
|
1460
3471
|
*
|
|
1461
|
-
* @generated from enum value:
|
|
3472
|
+
* @generated from enum value: JOSE_TRANSPORT_STATUS_SUCCESS = 100;
|
|
1462
3473
|
*/
|
|
1463
|
-
|
|
3474
|
+
SUCCESS = 100,
|
|
3475
|
+
/**
|
|
3476
|
+
* Rust variant: JoseFfiStatus.CallerError; code=-1
|
|
3477
|
+
*
|
|
3478
|
+
* @generated from enum value: JOSE_TRANSPORT_STATUS_CALLER_ERROR = 200;
|
|
3479
|
+
*/
|
|
3480
|
+
CALLER_ERROR = 200,
|
|
3481
|
+
/**
|
|
3482
|
+
* Rust variant: JoseFfiStatus.ProviderError; code=-2
|
|
3483
|
+
*
|
|
3484
|
+
* @generated from enum value: JOSE_TRANSPORT_STATUS_PROVIDER_ERROR = 300;
|
|
3485
|
+
*/
|
|
3486
|
+
PROVIDER_ERROR = 300,
|
|
3487
|
+
/**
|
|
3488
|
+
* Rust variant: JoseFfiStatus.BackendError; code=-3
|
|
3489
|
+
*
|
|
3490
|
+
* @generated from enum value: JOSE_TRANSPORT_STATUS_BACKEND_ERROR = 400;
|
|
3491
|
+
*/
|
|
3492
|
+
BACKEND_ERROR = 400,
|
|
3493
|
+
/**
|
|
3494
|
+
* Rust variant: JoseFfiStatus.PanicCaught; code=-4
|
|
3495
|
+
*
|
|
3496
|
+
* @generated from enum value: JOSE_TRANSPORT_STATUS_PANIC_CAUGHT = 500;
|
|
3497
|
+
*/
|
|
3498
|
+
PANIC_CAUGHT = 500,
|
|
3499
|
+
/**
|
|
3500
|
+
* Rust variant: JoseFfiStatus.OutputCapacityMismatch; code=-5
|
|
3501
|
+
*
|
|
3502
|
+
* @generated from enum value: JOSE_TRANSPORT_STATUS_OUTPUT_CAPACITY_MISMATCH = 600;
|
|
3503
|
+
*/
|
|
3504
|
+
OUTPUT_CAPACITY_MISMATCH = 600,
|
|
3505
|
+
/**
|
|
3506
|
+
* Rust variant: JoseFfiStatus.UnsupportedAbi; code=-6
|
|
3507
|
+
*
|
|
3508
|
+
* @generated from enum value: JOSE_TRANSPORT_STATUS_UNSUPPORTED_ABI = 700;
|
|
3509
|
+
*/
|
|
3510
|
+
UNSUPPORTED_ABI = 700
|
|
1464
3511
|
}
|
|
1465
3512
|
/**
|
|
1466
|
-
* Describes the enum reallyme.jose.v1.
|
|
3513
|
+
* Describes the enum reallyme.jose.v1.JoseTransportStatus.
|
|
1467
3514
|
*/
|
|
1468
|
-
export declare const
|
|
3515
|
+
export declare const JoseTransportStatusSchema: GenEnum<JoseTransportStatus>;
|
|
1469
3516
|
/**
|
|
1470
|
-
*
|
|
1471
|
-
*
|
|
3517
|
+
* Native function signatures retain ABI V1. The operation response contract
|
|
3518
|
+
* version is independent and must also be checked by consumers.
|
|
1472
3519
|
*
|
|
1473
|
-
* @generated from enum reallyme.jose.v1.
|
|
3520
|
+
* @generated from enum reallyme.jose.v1.JoseNativeAbiVersion
|
|
1474
3521
|
*/
|
|
1475
|
-
export declare enum
|
|
3522
|
+
export declare enum JoseNativeAbiVersion {
|
|
1476
3523
|
/**
|
|
1477
|
-
* @generated from enum value:
|
|
3524
|
+
* @generated from enum value: JOSE_NATIVE_ABI_VERSION_UNSPECIFIED = 0;
|
|
1478
3525
|
*/
|
|
1479
3526
|
UNSPECIFIED = 0,
|
|
1480
3527
|
/**
|
|
1481
|
-
* @generated from enum value:
|
|
3528
|
+
* @generated from enum value: JOSE_NATIVE_ABI_VERSION_V1 = 1;
|
|
1482
3529
|
*/
|
|
1483
3530
|
V1 = 1
|
|
1484
3531
|
}
|
|
1485
3532
|
/**
|
|
1486
|
-
* Describes the enum reallyme.jose.v1.
|
|
3533
|
+
* Describes the enum reallyme.jose.v1.JoseNativeAbiVersion.
|
|
1487
3534
|
*/
|
|
1488
|
-
export declare const
|
|
3535
|
+
export declare const JoseNativeAbiVersionSchema: GenEnum<JoseNativeAbiVersion>;
|