@reallyme/crypto 0.1.6 → 0.1.8

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.
@@ -0,0 +1,253 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file reallyme/codec/v1/codec.proto.
5
+ */
6
+ export declare const file_reallyme_codec_v1_codec: GenFile;
7
+ /**
8
+ * CodecError is the public, non-PII error envelope for codec boundary failures.
9
+ * The oneof keeps base encoding, PEM, multiformat, and canonicalization
10
+ * failures distinct while the shared CodecErrorReason enum provides stable
11
+ * cross-language reason codes.
12
+ *
13
+ * @generated from message reallyme.codec.v1.CodecError
14
+ */
15
+ export type CodecError = Message<"reallyme.codec.v1.CodecError"> & {
16
+ /**
17
+ * @generated from oneof reallyme.codec.v1.CodecError.error
18
+ */
19
+ error: {
20
+ /**
21
+ * @generated from field: reallyme.codec.v1.CodecBaseEncodingError base_encoding = 1;
22
+ */
23
+ value: CodecBaseEncodingError;
24
+ case: "baseEncoding";
25
+ } | {
26
+ /**
27
+ * @generated from field: reallyme.codec.v1.CodecPemError pem = 2;
28
+ */
29
+ value: CodecPemError;
30
+ case: "pem";
31
+ } | {
32
+ /**
33
+ * @generated from field: reallyme.codec.v1.CodecMultiformatError multiformat = 3;
34
+ */
35
+ value: CodecMultiformatError;
36
+ case: "multiformat";
37
+ } | {
38
+ /**
39
+ * @generated from field: reallyme.codec.v1.CodecCanonicalizationError canonicalization = 4;
40
+ */
41
+ value: CodecCanonicalizationError;
42
+ case: "canonicalization";
43
+ } | {
44
+ case: undefined;
45
+ value?: undefined;
46
+ };
47
+ };
48
+ /**
49
+ * Describes the message reallyme.codec.v1.CodecError.
50
+ * Use `create(CodecErrorSchema)` to create a new message.
51
+ */
52
+ export declare const CodecErrorSchema: GenMessage<CodecError>;
53
+ /**
54
+ * CodecBaseEncodingError describes base64, base64url, hex, and generic byte
55
+ * encoding failures.
56
+ *
57
+ * @generated from message reallyme.codec.v1.CodecBaseEncodingError
58
+ */
59
+ export type CodecBaseEncodingError = Message<"reallyme.codec.v1.CodecBaseEncodingError"> & {
60
+ /**
61
+ * Reason must be one of the CODEC_ERROR_REASON_BASE_* values.
62
+ *
63
+ * @generated from field: reallyme.codec.v1.CodecErrorReason reason = 1;
64
+ */
65
+ reason: CodecErrorReason;
66
+ };
67
+ /**
68
+ * Describes the message reallyme.codec.v1.CodecBaseEncodingError.
69
+ * Use `create(CodecBaseEncodingErrorSchema)` to create a new message.
70
+ */
71
+ export declare const CodecBaseEncodingErrorSchema: GenMessage<CodecBaseEncodingError>;
72
+ /**
73
+ * CodecPemError describes RFC 7468-style PEM armor boundary and body failures.
74
+ *
75
+ * @generated from message reallyme.codec.v1.CodecPemError
76
+ */
77
+ export type CodecPemError = Message<"reallyme.codec.v1.CodecPemError"> & {
78
+ /**
79
+ * Reason must be one of the CODEC_ERROR_REASON_PEM_* values.
80
+ *
81
+ * @generated from field: reallyme.codec.v1.CodecErrorReason reason = 1;
82
+ */
83
+ reason: CodecErrorReason;
84
+ };
85
+ /**
86
+ * Describes the message reallyme.codec.v1.CodecPemError.
87
+ * Use `create(CodecPemErrorSchema)` to create a new message.
88
+ */
89
+ export declare const CodecPemErrorSchema: GenMessage<CodecPemError>;
90
+ /**
91
+ * CodecMultiformatError describes multibase, multicodec, and multikey
92
+ * envelope failures.
93
+ *
94
+ * @generated from message reallyme.codec.v1.CodecMultiformatError
95
+ */
96
+ export type CodecMultiformatError = Message<"reallyme.codec.v1.CodecMultiformatError"> & {
97
+ /**
98
+ * Reason must be one of the CODEC_ERROR_REASON_MULTIFORMAT_* values.
99
+ *
100
+ * @generated from field: reallyme.codec.v1.CodecErrorReason reason = 1;
101
+ */
102
+ reason: CodecErrorReason;
103
+ };
104
+ /**
105
+ * Describes the message reallyme.codec.v1.CodecMultiformatError.
106
+ * Use `create(CodecMultiformatErrorSchema)` to create a new message.
107
+ */
108
+ export declare const CodecMultiformatErrorSchema: GenMessage<CodecMultiformatError>;
109
+ /**
110
+ * CodecCanonicalizationError describes CBOR, DAG-CBOR, JCS, and JSON
111
+ * canonicalization failures.
112
+ *
113
+ * @generated from message reallyme.codec.v1.CodecCanonicalizationError
114
+ */
115
+ export type CodecCanonicalizationError = Message<"reallyme.codec.v1.CodecCanonicalizationError"> & {
116
+ /**
117
+ * Reason must be one of the CODEC_ERROR_REASON_CANONICAL_* values.
118
+ *
119
+ * @generated from field: reallyme.codec.v1.CodecErrorReason reason = 1;
120
+ */
121
+ reason: CodecErrorReason;
122
+ };
123
+ /**
124
+ * Describes the message reallyme.codec.v1.CodecCanonicalizationError.
125
+ * Use `create(CodecCanonicalizationErrorSchema)` to create a new message.
126
+ */
127
+ export declare const CodecCanonicalizationErrorSchema: GenMessage<CodecCanonicalizationError>;
128
+ /**
129
+ * CodecErrorReason is the component-owned reason-code enum for reallyme/codec.
130
+ * Values are stable public boundary codes; local parser errors must map into
131
+ * one of these before crossing RPC, SDK, FFI, storage, audit, or telemetry
132
+ * boundaries. Numeric ranges are intentionally split by codec subpart:
133
+ * 100-199: base encodings
134
+ * 200-299: PEM armor
135
+ * 300-399: multiformats and key envelopes
136
+ * 400-499: CBOR/JCS/JSON canonicalization
137
+ *
138
+ * @generated from enum reallyme.codec.v1.CodecErrorReason
139
+ */
140
+ export declare enum CodecErrorReason {
141
+ /**
142
+ * @generated from enum value: CODEC_ERROR_REASON_UNSPECIFIED = 0;
143
+ */
144
+ UNSPECIFIED = 0,
145
+ /**
146
+ * Base encodings and generic byte-envelope limits.
147
+ *
148
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_UNSUPPORTED_CODEC = 100;
149
+ */
150
+ BASE_UNSUPPORTED_CODEC = 100,
151
+ /**
152
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_INVALID_ENCODING = 101;
153
+ */
154
+ BASE_INVALID_ENCODING = 101,
155
+ /**
156
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_INVALID_LENGTH = 102;
157
+ */
158
+ BASE_INVALID_LENGTH = 102,
159
+ /**
160
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_INPUT_TOO_LARGE = 103;
161
+ */
162
+ BASE_INPUT_TOO_LARGE = 103,
163
+ /**
164
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_OUTPUT_TOO_LARGE = 104;
165
+ */
166
+ BASE_OUTPUT_TOO_LARGE = 104,
167
+ /**
168
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_INVALID_BASE64 = 110;
169
+ */
170
+ BASE_INVALID_BASE64 = 110,
171
+ /**
172
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_INVALID_BASE64URL = 111;
173
+ */
174
+ BASE_INVALID_BASE64URL = 111,
175
+ /**
176
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_NON_CANONICAL_BASE64URL = 112;
177
+ */
178
+ BASE_NON_CANONICAL_BASE64URL = 112,
179
+ /**
180
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_INVALID_HEX = 120;
181
+ */
182
+ BASE_INVALID_HEX = 120,
183
+ /**
184
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_NON_CANONICAL_HEX = 121;
185
+ */
186
+ BASE_NON_CANONICAL_HEX = 121,
187
+ /**
188
+ * PEM armor.
189
+ *
190
+ * @generated from enum value: CODEC_ERROR_REASON_PEM_INVALID_BOUNDARY = 200;
191
+ */
192
+ PEM_INVALID_BOUNDARY = 200,
193
+ /**
194
+ * @generated from enum value: CODEC_ERROR_REASON_PEM_LABEL_MISMATCH = 201;
195
+ */
196
+ PEM_LABEL_MISMATCH = 201,
197
+ /**
198
+ * @generated from enum value: CODEC_ERROR_REASON_PEM_UNSUPPORTED_LABEL = 202;
199
+ */
200
+ PEM_UNSUPPORTED_LABEL = 202,
201
+ /**
202
+ * @generated from enum value: CODEC_ERROR_REASON_PEM_INVALID_BODY = 203;
203
+ */
204
+ PEM_INVALID_BODY = 203,
205
+ /**
206
+ * @generated from enum value: CODEC_ERROR_REASON_PEM_DER_TOO_LARGE = 204;
207
+ */
208
+ PEM_DER_TOO_LARGE = 204,
209
+ /**
210
+ * Multiformats and key envelopes.
211
+ *
212
+ * @generated from enum value: CODEC_ERROR_REASON_MULTIFORMAT_INVALID_MULTIBASE_PREFIX = 300;
213
+ */
214
+ MULTIFORMAT_INVALID_MULTIBASE_PREFIX = 300,
215
+ /**
216
+ * @generated from enum value: CODEC_ERROR_REASON_MULTIFORMAT_INVALID_MULTICODEC_PREFIX = 301;
217
+ */
218
+ MULTIFORMAT_INVALID_MULTICODEC_PREFIX = 301,
219
+ /**
220
+ * @generated from enum value: CODEC_ERROR_REASON_MULTIFORMAT_UNKNOWN_MULTICODEC = 302;
221
+ */
222
+ MULTIFORMAT_UNKNOWN_MULTICODEC = 302,
223
+ /**
224
+ * @generated from enum value: CODEC_ERROR_REASON_MULTIFORMAT_INVALID_MULTIKEY = 303;
225
+ */
226
+ MULTIFORMAT_INVALID_MULTIKEY = 303,
227
+ /**
228
+ * CBOR, DAG-CBOR, JCS, and JSON canonicalization.
229
+ *
230
+ * @generated from enum value: CODEC_ERROR_REASON_CANONICAL_INVALID_CBOR = 400;
231
+ */
232
+ CANONICAL_INVALID_CBOR = 400,
233
+ /**
234
+ * @generated from enum value: CODEC_ERROR_REASON_CANONICAL_NON_CANONICAL_CBOR = 401;
235
+ */
236
+ CANONICAL_NON_CANONICAL_CBOR = 401,
237
+ /**
238
+ * @generated from enum value: CODEC_ERROR_REASON_CANONICAL_INVALID_JSON = 402;
239
+ */
240
+ CANONICAL_INVALID_JSON = 402,
241
+ /**
242
+ * @generated from enum value: CODEC_ERROR_REASON_CANONICAL_NON_CANONICAL_JSON = 403;
243
+ */
244
+ CANONICAL_NON_CANONICAL_JSON = 403,
245
+ /**
246
+ * @generated from enum value: CODEC_ERROR_REASON_CANONICAL_INTERNAL = 404;
247
+ */
248
+ CANONICAL_INTERNAL = 404
249
+ }
250
+ /**
251
+ * Describes the enum reallyme.codec.v1.CodecErrorReason.
252
+ */
253
+ export declare const CodecErrorReasonSchema: GenEnum<CodecErrorReason>;
@@ -0,0 +1,160 @@
1
+ // SPDX-FileCopyrightText: Copyright © 2026 ReallyMe LLC. All rights reserved
2
+ //
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
+ /**
6
+ * Describes the file reallyme/codec/v1/codec.proto.
7
+ */
8
+ export const file_reallyme_codec_v1_codec = /*@__PURE__*/ fileDesc("Ch1yZWFsbHltZS9jb2RlYy92MS9jb2RlYy5wcm90bxIRcmVhbGx5bWUuY29kZWMudjEilgIKCkNvZGVjRXJyb3ISQgoNYmFzZV9lbmNvZGluZxgBIAEoCzIpLnJlYWxseW1lLmNvZGVjLnYxLkNvZGVjQmFzZUVuY29kaW5nRXJyb3JIABIvCgNwZW0YAiABKAsyIC5yZWFsbHltZS5jb2RlYy52MS5Db2RlY1BlbUVycm9ySAASPwoLbXVsdGlmb3JtYXQYAyABKAsyKC5yZWFsbHltZS5jb2RlYy52MS5Db2RlY011bHRpZm9ybWF0RXJyb3JIABJJChBjYW5vbmljYWxpemF0aW9uGAQgASgLMi0ucmVhbGx5bWUuY29kZWMudjEuQ29kZWNDYW5vbmljYWxpemF0aW9uRXJyb3JIAEIHCgVlcnJvciJNChZDb2RlY0Jhc2VFbmNvZGluZ0Vycm9yEjMKBnJlYXNvbhgBIAEoDjIjLnJlYWxseW1lLmNvZGVjLnYxLkNvZGVjRXJyb3JSZWFzb24iRAoNQ29kZWNQZW1FcnJvchIzCgZyZWFzb24YASABKA4yIy5yZWFsbHltZS5jb2RlYy52MS5Db2RlY0Vycm9yUmVhc29uIkwKFUNvZGVjTXVsdGlmb3JtYXRFcnJvchIzCgZyZWFzb24YASABKA4yIy5yZWFsbHltZS5jb2RlYy52MS5Db2RlY0Vycm9yUmVhc29uIlEKGkNvZGVjQ2Fub25pY2FsaXphdGlvbkVycm9yEj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NVUxUSUZPUk1BVF9JTlZBTElEX01VTFRJQkFTRV9QUkVGSVgQrAISPQo4Q09ERUNfRVJST1JfUkVBU09OX01VTFRJRk9STUFUX0lOVkFMSURfTVVMVElDT0RFQ19QUkVGSVgQrQISNgoxQ09ERUNfRVJST1JfUkVBU09OX01VTFRJRk9STUFUX1VOS05PV05fTVVMVElDT0RFQxCuAhI0Ci9DT0RFQ19FUlJPUl9SRUFTT05fTVVMVElGT1JNQVRfSU5WQUxJRF9NVUxUSUtFWRCvAhIuCilDT0RFQ19FUlJPUl9SRUFTT05fQ0FOT05JQ0FMX0lOVkFMSURfQ0JPUhCQAxI0Ci9DT0RFQ19FUlJPUl9SRUFTT05fQ0FOT05JQ0FMX05PTl9DQU5PTklDQUxfQ0JPUhCRAxIuCilDT0RFQ19FUlJPUl9SRUFTT05fQ0FOT05JQ0FMX0lOVkFMSURfSlNPThCSAxI0Ci9DT0RFQ19FUlJPUl9SRUFTT05fQ0FOT05JQ0FMX05PTl9DQU5PTklDQUxfSlNPThCTAxIqCiVDT0RFQ19FUlJPUl9SRUFTT05fQ0FOT05JQ0FMX0lOVEVSTkFMEJQDQiYKEm1lLnJlYWxseS5jb2RlYy52MVABugINUmVhbGx5TWVQcm90b2IGcHJvdG8z");
9
+ /**
10
+ * Describes the message reallyme.codec.v1.CodecError.
11
+ * Use `create(CodecErrorSchema)` to create a new message.
12
+ */
13
+ export const CodecErrorSchema = /*@__PURE__*/ messageDesc(file_reallyme_codec_v1_codec, 0);
14
+ /**
15
+ * Describes the message reallyme.codec.v1.CodecBaseEncodingError.
16
+ * Use `create(CodecBaseEncodingErrorSchema)` to create a new message.
17
+ */
18
+ export const CodecBaseEncodingErrorSchema = /*@__PURE__*/ messageDesc(file_reallyme_codec_v1_codec, 1);
19
+ /**
20
+ * Describes the message reallyme.codec.v1.CodecPemError.
21
+ * Use `create(CodecPemErrorSchema)` to create a new message.
22
+ */
23
+ export const CodecPemErrorSchema = /*@__PURE__*/ messageDesc(file_reallyme_codec_v1_codec, 2);
24
+ /**
25
+ * Describes the message reallyme.codec.v1.CodecMultiformatError.
26
+ * Use `create(CodecMultiformatErrorSchema)` to create a new message.
27
+ */
28
+ export const CodecMultiformatErrorSchema = /*@__PURE__*/ messageDesc(file_reallyme_codec_v1_codec, 3);
29
+ /**
30
+ * Describes the message reallyme.codec.v1.CodecCanonicalizationError.
31
+ * Use `create(CodecCanonicalizationErrorSchema)` to create a new message.
32
+ */
33
+ export const CodecCanonicalizationErrorSchema = /*@__PURE__*/ messageDesc(file_reallyme_codec_v1_codec, 4);
34
+ /**
35
+ * CodecErrorReason is the component-owned reason-code enum for reallyme/codec.
36
+ * Values are stable public boundary codes; local parser errors must map into
37
+ * one of these before crossing RPC, SDK, FFI, storage, audit, or telemetry
38
+ * boundaries. Numeric ranges are intentionally split by codec subpart:
39
+ * 100-199: base encodings
40
+ * 200-299: PEM armor
41
+ * 300-399: multiformats and key envelopes
42
+ * 400-499: CBOR/JCS/JSON canonicalization
43
+ *
44
+ * @generated from enum reallyme.codec.v1.CodecErrorReason
45
+ */
46
+ export var CodecErrorReason;
47
+ (function (CodecErrorReason) {
48
+ /**
49
+ * @generated from enum value: CODEC_ERROR_REASON_UNSPECIFIED = 0;
50
+ */
51
+ CodecErrorReason[CodecErrorReason["UNSPECIFIED"] = 0] = "UNSPECIFIED";
52
+ /**
53
+ * Base encodings and generic byte-envelope limits.
54
+ *
55
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_UNSUPPORTED_CODEC = 100;
56
+ */
57
+ CodecErrorReason[CodecErrorReason["BASE_UNSUPPORTED_CODEC"] = 100] = "BASE_UNSUPPORTED_CODEC";
58
+ /**
59
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_INVALID_ENCODING = 101;
60
+ */
61
+ CodecErrorReason[CodecErrorReason["BASE_INVALID_ENCODING"] = 101] = "BASE_INVALID_ENCODING";
62
+ /**
63
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_INVALID_LENGTH = 102;
64
+ */
65
+ CodecErrorReason[CodecErrorReason["BASE_INVALID_LENGTH"] = 102] = "BASE_INVALID_LENGTH";
66
+ /**
67
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_INPUT_TOO_LARGE = 103;
68
+ */
69
+ CodecErrorReason[CodecErrorReason["BASE_INPUT_TOO_LARGE"] = 103] = "BASE_INPUT_TOO_LARGE";
70
+ /**
71
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_OUTPUT_TOO_LARGE = 104;
72
+ */
73
+ CodecErrorReason[CodecErrorReason["BASE_OUTPUT_TOO_LARGE"] = 104] = "BASE_OUTPUT_TOO_LARGE";
74
+ /**
75
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_INVALID_BASE64 = 110;
76
+ */
77
+ CodecErrorReason[CodecErrorReason["BASE_INVALID_BASE64"] = 110] = "BASE_INVALID_BASE64";
78
+ /**
79
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_INVALID_BASE64URL = 111;
80
+ */
81
+ CodecErrorReason[CodecErrorReason["BASE_INVALID_BASE64URL"] = 111] = "BASE_INVALID_BASE64URL";
82
+ /**
83
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_NON_CANONICAL_BASE64URL = 112;
84
+ */
85
+ CodecErrorReason[CodecErrorReason["BASE_NON_CANONICAL_BASE64URL"] = 112] = "BASE_NON_CANONICAL_BASE64URL";
86
+ /**
87
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_INVALID_HEX = 120;
88
+ */
89
+ CodecErrorReason[CodecErrorReason["BASE_INVALID_HEX"] = 120] = "BASE_INVALID_HEX";
90
+ /**
91
+ * @generated from enum value: CODEC_ERROR_REASON_BASE_NON_CANONICAL_HEX = 121;
92
+ */
93
+ CodecErrorReason[CodecErrorReason["BASE_NON_CANONICAL_HEX"] = 121] = "BASE_NON_CANONICAL_HEX";
94
+ /**
95
+ * PEM armor.
96
+ *
97
+ * @generated from enum value: CODEC_ERROR_REASON_PEM_INVALID_BOUNDARY = 200;
98
+ */
99
+ CodecErrorReason[CodecErrorReason["PEM_INVALID_BOUNDARY"] = 200] = "PEM_INVALID_BOUNDARY";
100
+ /**
101
+ * @generated from enum value: CODEC_ERROR_REASON_PEM_LABEL_MISMATCH = 201;
102
+ */
103
+ CodecErrorReason[CodecErrorReason["PEM_LABEL_MISMATCH"] = 201] = "PEM_LABEL_MISMATCH";
104
+ /**
105
+ * @generated from enum value: CODEC_ERROR_REASON_PEM_UNSUPPORTED_LABEL = 202;
106
+ */
107
+ CodecErrorReason[CodecErrorReason["PEM_UNSUPPORTED_LABEL"] = 202] = "PEM_UNSUPPORTED_LABEL";
108
+ /**
109
+ * @generated from enum value: CODEC_ERROR_REASON_PEM_INVALID_BODY = 203;
110
+ */
111
+ CodecErrorReason[CodecErrorReason["PEM_INVALID_BODY"] = 203] = "PEM_INVALID_BODY";
112
+ /**
113
+ * @generated from enum value: CODEC_ERROR_REASON_PEM_DER_TOO_LARGE = 204;
114
+ */
115
+ CodecErrorReason[CodecErrorReason["PEM_DER_TOO_LARGE"] = 204] = "PEM_DER_TOO_LARGE";
116
+ /**
117
+ * Multiformats and key envelopes.
118
+ *
119
+ * @generated from enum value: CODEC_ERROR_REASON_MULTIFORMAT_INVALID_MULTIBASE_PREFIX = 300;
120
+ */
121
+ CodecErrorReason[CodecErrorReason["MULTIFORMAT_INVALID_MULTIBASE_PREFIX"] = 300] = "MULTIFORMAT_INVALID_MULTIBASE_PREFIX";
122
+ /**
123
+ * @generated from enum value: CODEC_ERROR_REASON_MULTIFORMAT_INVALID_MULTICODEC_PREFIX = 301;
124
+ */
125
+ CodecErrorReason[CodecErrorReason["MULTIFORMAT_INVALID_MULTICODEC_PREFIX"] = 301] = "MULTIFORMAT_INVALID_MULTICODEC_PREFIX";
126
+ /**
127
+ * @generated from enum value: CODEC_ERROR_REASON_MULTIFORMAT_UNKNOWN_MULTICODEC = 302;
128
+ */
129
+ CodecErrorReason[CodecErrorReason["MULTIFORMAT_UNKNOWN_MULTICODEC"] = 302] = "MULTIFORMAT_UNKNOWN_MULTICODEC";
130
+ /**
131
+ * @generated from enum value: CODEC_ERROR_REASON_MULTIFORMAT_INVALID_MULTIKEY = 303;
132
+ */
133
+ CodecErrorReason[CodecErrorReason["MULTIFORMAT_INVALID_MULTIKEY"] = 303] = "MULTIFORMAT_INVALID_MULTIKEY";
134
+ /**
135
+ * CBOR, DAG-CBOR, JCS, and JSON canonicalization.
136
+ *
137
+ * @generated from enum value: CODEC_ERROR_REASON_CANONICAL_INVALID_CBOR = 400;
138
+ */
139
+ CodecErrorReason[CodecErrorReason["CANONICAL_INVALID_CBOR"] = 400] = "CANONICAL_INVALID_CBOR";
140
+ /**
141
+ * @generated from enum value: CODEC_ERROR_REASON_CANONICAL_NON_CANONICAL_CBOR = 401;
142
+ */
143
+ CodecErrorReason[CodecErrorReason["CANONICAL_NON_CANONICAL_CBOR"] = 401] = "CANONICAL_NON_CANONICAL_CBOR";
144
+ /**
145
+ * @generated from enum value: CODEC_ERROR_REASON_CANONICAL_INVALID_JSON = 402;
146
+ */
147
+ CodecErrorReason[CodecErrorReason["CANONICAL_INVALID_JSON"] = 402] = "CANONICAL_INVALID_JSON";
148
+ /**
149
+ * @generated from enum value: CODEC_ERROR_REASON_CANONICAL_NON_CANONICAL_JSON = 403;
150
+ */
151
+ CodecErrorReason[CodecErrorReason["CANONICAL_NON_CANONICAL_JSON"] = 403] = "CANONICAL_NON_CANONICAL_JSON";
152
+ /**
153
+ * @generated from enum value: CODEC_ERROR_REASON_CANONICAL_INTERNAL = 404;
154
+ */
155
+ CodecErrorReason[CodecErrorReason["CANONICAL_INTERNAL"] = 404] = "CANONICAL_INTERNAL";
156
+ })(CodecErrorReason || (CodecErrorReason = {}));
157
+ /**
158
+ * Describes the enum reallyme.codec.v1.CodecErrorReason.
159
+ */
160
+ export const CodecErrorReasonSchema = /*@__PURE__*/ enumDesc(file_reallyme_codec_v1_codec, 0);
@@ -4,6 +4,104 @@ import type { Message } from "@bufbuild/protobuf";
4
4
  * Describes the file reallyme/crypto/v1/crypto.proto.
5
5
  */
6
6
  export declare const file_reallyme_crypto_v1_crypto: GenFile;
7
+ /**
8
+ * CryptoError is the public, non-PII error envelope for crypto boundary
9
+ * failures. The oneof keeps primitive, provider, and backend failures distinct
10
+ * while the shared CryptoErrorReason enum provides stable cross-language reason
11
+ * codes.
12
+ *
13
+ * @generated from message reallyme.crypto.v1.CryptoError
14
+ */
15
+ export type CryptoError = Message<"reallyme.crypto.v1.CryptoError"> & {
16
+ /**
17
+ * @generated from oneof reallyme.crypto.v1.CryptoError.error
18
+ */
19
+ error: {
20
+ /**
21
+ * @generated from field: reallyme.crypto.v1.CryptoPrimitiveError primitive = 1;
22
+ */
23
+ value: CryptoPrimitiveError;
24
+ case: "primitive";
25
+ } | {
26
+ /**
27
+ * @generated from field: reallyme.crypto.v1.CryptoProviderError provider = 2;
28
+ */
29
+ value: CryptoProviderError;
30
+ case: "provider";
31
+ } | {
32
+ /**
33
+ * @generated from field: reallyme.crypto.v1.CryptoBackendError backend = 3;
34
+ */
35
+ value: CryptoBackendError;
36
+ case: "backend";
37
+ } | {
38
+ case: undefined;
39
+ value?: undefined;
40
+ };
41
+ };
42
+ /**
43
+ * Describes the message reallyme.crypto.v1.CryptoError.
44
+ * Use `create(CryptoErrorSchema)` to create a new message.
45
+ */
46
+ export declare const CryptoErrorSchema: GenMessage<CryptoError>;
47
+ /**
48
+ * CryptoPrimitiveError describes failures owned by primitive input validation,
49
+ * key handling, encryption, decryption, signing, verification, KEM, KDF, MAC,
50
+ * and key-wrap operations.
51
+ *
52
+ * @generated from message reallyme.crypto.v1.CryptoPrimitiveError
53
+ */
54
+ export type CryptoPrimitiveError = Message<"reallyme.crypto.v1.CryptoPrimitiveError"> & {
55
+ /**
56
+ * Reason must be one of the CRYPTO_ERROR_REASON_PRIMITIVE_* values.
57
+ *
58
+ * @generated from field: reallyme.crypto.v1.CryptoErrorReason reason = 1;
59
+ */
60
+ reason: CryptoErrorReason;
61
+ };
62
+ /**
63
+ * Describes the message reallyme.crypto.v1.CryptoPrimitiveError.
64
+ * Use `create(CryptoPrimitiveErrorSchema)` to create a new message.
65
+ */
66
+ export declare const CryptoPrimitiveErrorSchema: GenMessage<CryptoPrimitiveError>;
67
+ /**
68
+ * CryptoProviderError describes provider selection and platform-provider
69
+ * availability failures.
70
+ *
71
+ * @generated from message reallyme.crypto.v1.CryptoProviderError
72
+ */
73
+ export type CryptoProviderError = Message<"reallyme.crypto.v1.CryptoProviderError"> & {
74
+ /**
75
+ * Reason must be one of the CRYPTO_ERROR_REASON_PROVIDER_* values.
76
+ *
77
+ * @generated from field: reallyme.crypto.v1.CryptoErrorReason reason = 1;
78
+ */
79
+ reason: CryptoErrorReason;
80
+ };
81
+ /**
82
+ * Describes the message reallyme.crypto.v1.CryptoProviderError.
83
+ * Use `create(CryptoProviderErrorSchema)` to create a new message.
84
+ */
85
+ export declare const CryptoProviderErrorSchema: GenMessage<CryptoProviderError>;
86
+ /**
87
+ * CryptoBackendError describes dispatch, FFI, WASM, and internal backend
88
+ * failures that are not safe to expose as backend exception text.
89
+ *
90
+ * @generated from message reallyme.crypto.v1.CryptoBackendError
91
+ */
92
+ export type CryptoBackendError = Message<"reallyme.crypto.v1.CryptoBackendError"> & {
93
+ /**
94
+ * Reason must be one of the CRYPTO_ERROR_REASON_BACKEND_* values.
95
+ *
96
+ * @generated from field: reallyme.crypto.v1.CryptoErrorReason reason = 1;
97
+ */
98
+ reason: CryptoErrorReason;
99
+ };
100
+ /**
101
+ * Describes the message reallyme.crypto.v1.CryptoBackendError.
102
+ * Use `create(CryptoBackendErrorSchema)` to create a new message.
103
+ */
104
+ export declare const CryptoBackendErrorSchema: GenMessage<CryptoBackendError>;
7
105
  /**
8
106
  * CryptoAlgorithmIdentifier is a oneof wrapper for protocol messages that need
9
107
  * to carry a typed algorithm choice without using free-form strings.
@@ -127,6 +225,120 @@ export type JsonWebKeySet = Message<"reallyme.crypto.v1.JsonWebKeySet"> & {
127
225
  * Use `create(JsonWebKeySetSchema)` to create a new message.
128
226
  */
129
227
  export declare const JsonWebKeySetSchema: GenMessage<JsonWebKeySet>;
228
+ /**
229
+ * CryptoErrorReason is the component-owned reason-code enum for reallyme/crypto.
230
+ * Values are stable public boundary codes; internal Rust, Swift, Kotlin, and
231
+ * TypeScript errors must map into one of these before crossing RPC, SDK, FFI,
232
+ * storage, audit, or telemetry boundaries. Numeric ranges are intentionally
233
+ * split by crypto subpart:
234
+ * 100-199: primitive operations and validation
235
+ * 200-299: provider selection and availability
236
+ * 300-399: backend dispatch and internal failures
237
+ *
238
+ * @generated from enum reallyme.crypto.v1.CryptoErrorReason
239
+ */
240
+ export declare enum CryptoErrorReason {
241
+ /**
242
+ * @generated from enum value: CRYPTO_ERROR_REASON_UNSPECIFIED = 0;
243
+ */
244
+ UNSPECIFIED = 0,
245
+ /**
246
+ * Primitive input, key material, and byte-format validation.
247
+ *
248
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_PARAMETER = 100;
249
+ */
250
+ PRIMITIVE_INVALID_PARAMETER = 100,
251
+ /**
252
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_LENGTH = 101;
253
+ */
254
+ PRIMITIVE_INVALID_LENGTH = 101,
255
+ /**
256
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_KEY = 102;
257
+ */
258
+ PRIMITIVE_INVALID_KEY = 102,
259
+ /**
260
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_PUBLIC_KEY = 103;
261
+ */
262
+ PRIMITIVE_INVALID_PUBLIC_KEY = 103,
263
+ /**
264
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_PRIVATE_KEY = 104;
265
+ */
266
+ PRIMITIVE_INVALID_PRIVATE_KEY = 104,
267
+ /**
268
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_NONCE = 105;
269
+ */
270
+ PRIMITIVE_INVALID_NONCE = 105,
271
+ /**
272
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_SALT = 106;
273
+ */
274
+ PRIMITIVE_INVALID_SALT = 106,
275
+ /**
276
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_PASSWORD = 107;
277
+ */
278
+ PRIMITIVE_INVALID_PASSWORD = 107,
279
+ /**
280
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_ENCODING = 108;
281
+ */
282
+ PRIMITIVE_INVALID_ENCODING = 108,
283
+ /**
284
+ * Primitive operation failures.
285
+ *
286
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_SIGNATURE = 120;
287
+ */
288
+ PRIMITIVE_INVALID_SIGNATURE = 120,
289
+ /**
290
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_VERIFICATION_FAILED = 121;
291
+ */
292
+ PRIMITIVE_VERIFICATION_FAILED = 121,
293
+ /**
294
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_AUTHENTICATION_FAILED = 122;
295
+ */
296
+ PRIMITIVE_AUTHENTICATION_FAILED = 122,
297
+ /**
298
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_MALFORMED_CIPHERTEXT = 123;
299
+ */
300
+ PRIMITIVE_MALFORMED_CIPHERTEXT = 123,
301
+ /**
302
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_TAG = 124;
303
+ */
304
+ PRIMITIVE_INVALID_TAG = 124,
305
+ /**
306
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_SHARED_SECRET = 125;
307
+ */
308
+ PRIMITIVE_INVALID_SHARED_SECRET = 125,
309
+ /**
310
+ * Provider policy and availability.
311
+ *
312
+ * @generated from enum value: CRYPTO_ERROR_REASON_PROVIDER_UNSUPPORTED_ALGORITHM = 200;
313
+ */
314
+ PROVIDER_UNSUPPORTED_ALGORITHM = 200,
315
+ /**
316
+ * @generated from enum value: CRYPTO_ERROR_REASON_PROVIDER_UNSUPPORTED_BACKEND = 201;
317
+ */
318
+ PROVIDER_UNSUPPORTED_BACKEND = 201,
319
+ /**
320
+ * @generated from enum value: CRYPTO_ERROR_REASON_PROVIDER_UNAVAILABLE = 202;
321
+ */
322
+ PROVIDER_UNAVAILABLE = 202,
323
+ /**
324
+ * @generated from enum value: CRYPTO_ERROR_REASON_PROVIDER_RANDOMNESS_UNAVAILABLE = 203;
325
+ */
326
+ PROVIDER_RANDOMNESS_UNAVAILABLE = 203,
327
+ /**
328
+ * Backend dispatch and internal state.
329
+ *
330
+ * @generated from enum value: CRYPTO_ERROR_REASON_BACKEND_INVALID_STATE = 300;
331
+ */
332
+ BACKEND_INVALID_STATE = 300,
333
+ /**
334
+ * @generated from enum value: CRYPTO_ERROR_REASON_BACKEND_INTERNAL = 301;
335
+ */
336
+ BACKEND_INTERNAL = 301
337
+ }
338
+ /**
339
+ * Describes the enum reallyme.crypto.v1.CryptoErrorReason.
340
+ */
341
+ export declare const CryptoErrorReasonSchema: GenEnum<CryptoErrorReason>;
130
342
  /**
131
343
  * CryptoAlgorithmFamily classifies an algorithm identifier without implying
132
344
  * that the identifier is valid for a specific operation.
@@ -5,22 +5,157 @@ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
5
  /**
6
6
  * Describes the file reallyme/crypto/v1/crypto.proto.
7
7
  */
8
- export const file_reallyme_crypto_v1_crypto = /*@__PURE__*/ fileDesc("Ch9yZWFsbHltZS9jcnlwdG8vdjEvY3J5cHRvLnByb3RvEhJyZWFsbHltZS5jcnlwdG8udjEi0QQKGUNyeXB0b0FsZ29yaXRobUlkZW50aWZpZXISOwoJc2lnbmF0dXJlGAEgASgOMiYucmVhbGx5bWUuY3J5cHRvLnYxLlNpZ25hdHVyZUFsZ29yaXRobUgAEkIKDWtleV9hZ3JlZW1lbnQYAiABKA4yKS5yZWFsbHltZS5jcnlwdG8udj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1BSSVYQDxIoCiRNVUxUSUNPREVDX0tFWV9BTEdPUklUSE1fWDI1NTE5X1BSSVYQEBIrCidNVUxUSUNPREVDX0tFWV9BTEdPUklUSE1fU0VDUDI1NksxX1BSSVYQERImCiJNVUxUSUNPREVDX0tFWV9BTEdPUklUSE1fUDI1Nl9QUklWEBISJgoiTVVMVElDT0RFQ19LRVlfQUxHT1JJVEhNX1AzODRfUFJJVhATEiYKIk1VTFRJQ09ERUNfS0VZX0FMR09SSVRITV9QNTIxX1BSSVYQFBInCiNNVUxUSUNPREVDX0tFWV9BTEdPUklUSE1fRUQ0NDhfUFJJVhAVEiUKIU1VTFRJQ09ERUNfS0VZX0FMR09SSVRITV9SU0FfUFJJVhAWEiwKKE1VTFRJQ09ERUNfS0VZX0FMR09SSVRITV9NTF9LRU1fNTEyX1BSSVYQFxIsCihNVUxUSUNPREVDX0tFWV9BTEdPUklUSE1fTUxfS0VNXzc2OF9QUklWEBgSLQopTVVMVElDT0RFQ19LRVlfQUxHT1JJVEhNX01MX0tFTV8xMDI0X1BSSVYQGUInChNtZS5yZWFsbHkuY3J5cHRvLnYxUAG6Ag1SZWFsbHlNZVByb3RvYgZwcm90bzM");
9
+ /**
10
+ * Describes the message reallyme.crypto.v1.CryptoError.
11
+ * Use `create(CryptoErrorSchema)` to create a new message.
12
+ */
13
+ export const CryptoErrorSchema = /*@__PURE__*/ messageDesc(file_reallyme_crypto_v1_crypto, 0);
14
+ /**
15
+ * Describes the message reallyme.crypto.v1.CryptoPrimitiveError.
16
+ * Use `create(CryptoPrimitiveErrorSchema)` to create a new message.
17
+ */
18
+ export const CryptoPrimitiveErrorSchema = /*@__PURE__*/ messageDesc(file_reallyme_crypto_v1_crypto, 1);
19
+ /**
20
+ * Describes the message reallyme.crypto.v1.CryptoProviderError.
21
+ * Use `create(CryptoProviderErrorSchema)` to create a new message.
22
+ */
23
+ export const CryptoProviderErrorSchema = /*@__PURE__*/ messageDesc(file_reallyme_crypto_v1_crypto, 2);
24
+ /**
25
+ * Describes the message reallyme.crypto.v1.CryptoBackendError.
26
+ * Use `create(CryptoBackendErrorSchema)` to create a new message.
27
+ */
28
+ export const CryptoBackendErrorSchema = /*@__PURE__*/ messageDesc(file_reallyme_crypto_v1_crypto, 3);
9
29
  /**
10
30
  * Describes the message reallyme.crypto.v1.CryptoAlgorithmIdentifier.
11
31
  * Use `create(CryptoAlgorithmIdentifierSchema)` to create a new message.
12
32
  */
13
- export const CryptoAlgorithmIdentifierSchema = /*@__PURE__*/ messageDesc(file_reallyme_crypto_v1_crypto, 0);
33
+ export const CryptoAlgorithmIdentifierSchema = /*@__PURE__*/ messageDesc(file_reallyme_crypto_v1_crypto, 4);
14
34
  /**
15
35
  * Describes the message reallyme.crypto.v1.JsonWebKey.
16
36
  * Use `create(JsonWebKeySchema)` to create a new message.
17
37
  */
18
- export const JsonWebKeySchema = /*@__PURE__*/ messageDesc(file_reallyme_crypto_v1_crypto, 1);
38
+ export const JsonWebKeySchema = /*@__PURE__*/ messageDesc(file_reallyme_crypto_v1_crypto, 5);
19
39
  /**
20
40
  * Describes the message reallyme.crypto.v1.JsonWebKeySet.
21
41
  * Use `create(JsonWebKeySetSchema)` to create a new message.
22
42
  */
23
- export const JsonWebKeySetSchema = /*@__PURE__*/ messageDesc(file_reallyme_crypto_v1_crypto, 2);
43
+ export const JsonWebKeySetSchema = /*@__PURE__*/ messageDesc(file_reallyme_crypto_v1_crypto, 6);
44
+ /**
45
+ * CryptoErrorReason is the component-owned reason-code enum for reallyme/crypto.
46
+ * Values are stable public boundary codes; internal Rust, Swift, Kotlin, and
47
+ * TypeScript errors must map into one of these before crossing RPC, SDK, FFI,
48
+ * storage, audit, or telemetry boundaries. Numeric ranges are intentionally
49
+ * split by crypto subpart:
50
+ * 100-199: primitive operations and validation
51
+ * 200-299: provider selection and availability
52
+ * 300-399: backend dispatch and internal failures
53
+ *
54
+ * @generated from enum reallyme.crypto.v1.CryptoErrorReason
55
+ */
56
+ export var CryptoErrorReason;
57
+ (function (CryptoErrorReason) {
58
+ /**
59
+ * @generated from enum value: CRYPTO_ERROR_REASON_UNSPECIFIED = 0;
60
+ */
61
+ CryptoErrorReason[CryptoErrorReason["UNSPECIFIED"] = 0] = "UNSPECIFIED";
62
+ /**
63
+ * Primitive input, key material, and byte-format validation.
64
+ *
65
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_PARAMETER = 100;
66
+ */
67
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_INVALID_PARAMETER"] = 100] = "PRIMITIVE_INVALID_PARAMETER";
68
+ /**
69
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_LENGTH = 101;
70
+ */
71
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_INVALID_LENGTH"] = 101] = "PRIMITIVE_INVALID_LENGTH";
72
+ /**
73
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_KEY = 102;
74
+ */
75
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_INVALID_KEY"] = 102] = "PRIMITIVE_INVALID_KEY";
76
+ /**
77
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_PUBLIC_KEY = 103;
78
+ */
79
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_INVALID_PUBLIC_KEY"] = 103] = "PRIMITIVE_INVALID_PUBLIC_KEY";
80
+ /**
81
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_PRIVATE_KEY = 104;
82
+ */
83
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_INVALID_PRIVATE_KEY"] = 104] = "PRIMITIVE_INVALID_PRIVATE_KEY";
84
+ /**
85
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_NONCE = 105;
86
+ */
87
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_INVALID_NONCE"] = 105] = "PRIMITIVE_INVALID_NONCE";
88
+ /**
89
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_SALT = 106;
90
+ */
91
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_INVALID_SALT"] = 106] = "PRIMITIVE_INVALID_SALT";
92
+ /**
93
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_PASSWORD = 107;
94
+ */
95
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_INVALID_PASSWORD"] = 107] = "PRIMITIVE_INVALID_PASSWORD";
96
+ /**
97
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_ENCODING = 108;
98
+ */
99
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_INVALID_ENCODING"] = 108] = "PRIMITIVE_INVALID_ENCODING";
100
+ /**
101
+ * Primitive operation failures.
102
+ *
103
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_SIGNATURE = 120;
104
+ */
105
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_INVALID_SIGNATURE"] = 120] = "PRIMITIVE_INVALID_SIGNATURE";
106
+ /**
107
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_VERIFICATION_FAILED = 121;
108
+ */
109
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_VERIFICATION_FAILED"] = 121] = "PRIMITIVE_VERIFICATION_FAILED";
110
+ /**
111
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_AUTHENTICATION_FAILED = 122;
112
+ */
113
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_AUTHENTICATION_FAILED"] = 122] = "PRIMITIVE_AUTHENTICATION_FAILED";
114
+ /**
115
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_MALFORMED_CIPHERTEXT = 123;
116
+ */
117
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_MALFORMED_CIPHERTEXT"] = 123] = "PRIMITIVE_MALFORMED_CIPHERTEXT";
118
+ /**
119
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_TAG = 124;
120
+ */
121
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_INVALID_TAG"] = 124] = "PRIMITIVE_INVALID_TAG";
122
+ /**
123
+ * @generated from enum value: CRYPTO_ERROR_REASON_PRIMITIVE_INVALID_SHARED_SECRET = 125;
124
+ */
125
+ CryptoErrorReason[CryptoErrorReason["PRIMITIVE_INVALID_SHARED_SECRET"] = 125] = "PRIMITIVE_INVALID_SHARED_SECRET";
126
+ /**
127
+ * Provider policy and availability.
128
+ *
129
+ * @generated from enum value: CRYPTO_ERROR_REASON_PROVIDER_UNSUPPORTED_ALGORITHM = 200;
130
+ */
131
+ CryptoErrorReason[CryptoErrorReason["PROVIDER_UNSUPPORTED_ALGORITHM"] = 200] = "PROVIDER_UNSUPPORTED_ALGORITHM";
132
+ /**
133
+ * @generated from enum value: CRYPTO_ERROR_REASON_PROVIDER_UNSUPPORTED_BACKEND = 201;
134
+ */
135
+ CryptoErrorReason[CryptoErrorReason["PROVIDER_UNSUPPORTED_BACKEND"] = 201] = "PROVIDER_UNSUPPORTED_BACKEND";
136
+ /**
137
+ * @generated from enum value: CRYPTO_ERROR_REASON_PROVIDER_UNAVAILABLE = 202;
138
+ */
139
+ CryptoErrorReason[CryptoErrorReason["PROVIDER_UNAVAILABLE"] = 202] = "PROVIDER_UNAVAILABLE";
140
+ /**
141
+ * @generated from enum value: CRYPTO_ERROR_REASON_PROVIDER_RANDOMNESS_UNAVAILABLE = 203;
142
+ */
143
+ CryptoErrorReason[CryptoErrorReason["PROVIDER_RANDOMNESS_UNAVAILABLE"] = 203] = "PROVIDER_RANDOMNESS_UNAVAILABLE";
144
+ /**
145
+ * Backend dispatch and internal state.
146
+ *
147
+ * @generated from enum value: CRYPTO_ERROR_REASON_BACKEND_INVALID_STATE = 300;
148
+ */
149
+ CryptoErrorReason[CryptoErrorReason["BACKEND_INVALID_STATE"] = 300] = "BACKEND_INVALID_STATE";
150
+ /**
151
+ * @generated from enum value: CRYPTO_ERROR_REASON_BACKEND_INTERNAL = 301;
152
+ */
153
+ CryptoErrorReason[CryptoErrorReason["BACKEND_INTERNAL"] = 301] = "BACKEND_INTERNAL";
154
+ })(CryptoErrorReason || (CryptoErrorReason = {}));
155
+ /**
156
+ * Describes the enum reallyme.crypto.v1.CryptoErrorReason.
157
+ */
158
+ export const CryptoErrorReasonSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 0);
24
159
  /**
25
160
  * CryptoAlgorithmFamily classifies an algorithm identifier without implying
26
161
  * that the identifier is valid for a specific operation.
@@ -73,7 +208,7 @@ export var CryptoAlgorithmFamily;
73
208
  /**
74
209
  * Describes the enum reallyme.crypto.v1.CryptoAlgorithmFamily.
75
210
  */
76
- export const CryptoAlgorithmFamilySchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 0);
211
+ export const CryptoAlgorithmFamilySchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 1);
77
212
  /**
78
213
  * SignatureAlgorithm identifies signature suites supported or reserved by the
79
214
  * crypto repository. RSA values identify verification suites; RSA signing is
@@ -163,7 +298,7 @@ export var SignatureAlgorithm;
163
298
  /**
164
299
  * Describes the enum reallyme.crypto.v1.SignatureAlgorithm.
165
300
  */
166
- export const SignatureAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 1);
301
+ export const SignatureAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 2);
167
302
  /**
168
303
  * KeyAgreementAlgorithm identifies direct shared-secret derivation suites.
169
304
  * Callers must still feed derived shared secrets through a protocol KDF.
@@ -196,7 +331,7 @@ export var KeyAgreementAlgorithm;
196
331
  /**
197
332
  * Describes the enum reallyme.crypto.v1.KeyAgreementAlgorithm.
198
333
  */
199
- export const KeyAgreementAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 2);
334
+ export const KeyAgreementAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 3);
200
335
  /**
201
336
  * KemAlgorithm identifies encapsulation suites. X-Wing values are ReallyMe's
202
337
  * supported hybrid KEM variants over X25519 and ML-KEM.
@@ -233,7 +368,7 @@ export var KemAlgorithm;
233
368
  /**
234
369
  * Describes the enum reallyme.crypto.v1.KemAlgorithm.
235
370
  */
236
- export const KemAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 3);
371
+ export const KemAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 4);
237
372
  /**
238
373
  * HpkeSuite identifies supported RFC 9180 HPKE Base-mode ciphersuites.
239
374
  *
@@ -257,7 +392,7 @@ export var HpkeSuite;
257
392
  /**
258
393
  * Describes the enum reallyme.crypto.v1.HpkeSuite.
259
394
  */
260
- export const HpkeSuiteSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 4);
395
+ export const HpkeSuiteSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 5);
261
396
  /**
262
397
  * AeadAlgorithm identifies authenticated-encryption suites.
263
398
  *
@@ -297,7 +432,7 @@ export var AeadAlgorithm;
297
432
  /**
298
433
  * Describes the enum reallyme.crypto.v1.AeadAlgorithm.
299
434
  */
300
- export const AeadAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 5);
435
+ export const AeadAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 6);
301
436
  /**
302
437
  * HashAlgorithm identifies digest algorithms exposed by the hash primitives.
303
438
  *
@@ -341,7 +476,7 @@ export var HashAlgorithm;
341
476
  /**
342
477
  * Describes the enum reallyme.crypto.v1.HashAlgorithm.
343
478
  */
344
- export const HashAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 6);
479
+ export const HashAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 7);
345
480
  /**
346
481
  * MacAlgorithm identifies message-authentication-code suites.
347
482
  *
@@ -365,7 +500,7 @@ export var MacAlgorithm;
365
500
  /**
366
501
  * Describes the enum reallyme.crypto.v1.MacAlgorithm.
367
502
  */
368
- export const MacAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 7);
503
+ export const MacAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 8);
369
504
  /**
370
505
  * KdfAlgorithm identifies key-derivation functions. PBKDF2 values are retained
371
506
  * for legacy interoperability; new password storage should prefer Argon2id.
@@ -402,7 +537,7 @@ export var KdfAlgorithm;
402
537
  /**
403
538
  * Describes the enum reallyme.crypto.v1.KdfAlgorithm.
404
539
  */
405
- export const KdfAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 8);
540
+ export const KdfAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 9);
406
541
  /**
407
542
  * KeyWrapAlgorithm identifies key-wrapping algorithms.
408
543
  *
@@ -422,7 +557,7 @@ export var KeyWrapAlgorithm;
422
557
  /**
423
558
  * Describes the enum reallyme.crypto.v1.KeyWrapAlgorithm.
424
559
  */
425
- export const KeyWrapAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 9);
560
+ export const KeyWrapAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 10);
426
561
  /**
427
562
  * MulticodecKeyAlgorithm identifies table-backed key codecs that ReallyMe
428
563
  * recognizes. These are codec identifiers, not permission to expose private key
@@ -540,4 +675,4 @@ export var MulticodecKeyAlgorithm;
540
675
  /**
541
676
  * Describes the enum reallyme.crypto.v1.MulticodecKeyAlgorithm.
542
677
  */
543
- export const MulticodecKeyAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 10);
678
+ export const MulticodecKeyAlgorithmSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_crypto, 11);
package/dist/proto.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import type { ReallyMeAeadAlgorithm, ReallyMeHashAlgorithm, ReallyMeHpkeSuite, ReallyMeKdfAlgorithm, ReallyMeKemAlgorithm, ReallyMeKeyAgreementAlgorithm, ReallyMeKeyWrapAlgorithm, ReallyMeMacAlgorithm, ReallyMeSignatureAlgorithm } from "./algorithms.js";
2
- export { AeadAlgorithm, AeadAlgorithmSchema, CryptoAlgorithmFamily, CryptoAlgorithmIdentifierSchema, CryptoAlgorithmFamilySchema, HashAlgorithm, HashAlgorithmSchema, HpkeSuite, HpkeSuiteSchema, JsonWebKeySchema, JsonWebKeySetSchema, KdfAlgorithm, KdfAlgorithmSchema, KemAlgorithm, KemAlgorithmSchema, KeyAgreementAlgorithm, KeyAgreementAlgorithmSchema, KeyWrapAlgorithm, KeyWrapAlgorithmSchema, MacAlgorithm, MacAlgorithmSchema, MulticodecKeyAlgorithm, MulticodecKeyAlgorithmSchema, SignatureAlgorithm, SignatureAlgorithmSchema, file_reallyme_crypto_v1_crypto, } from "./proto/generated/reallyme/crypto/v1/crypto_pb.js";
3
- export type { CryptoAlgorithmIdentifier, JsonWebKey, JsonWebKeySet, } from "./proto/generated/reallyme/crypto/v1/crypto_pb.js";
2
+ export { AeadAlgorithm, AeadAlgorithmSchema, CryptoAlgorithmFamily, CryptoAlgorithmFamilySchema, CryptoAlgorithmIdentifierSchema, CryptoBackendErrorSchema, CryptoErrorSchema, CryptoErrorReason, CryptoErrorReasonSchema, CryptoPrimitiveErrorSchema, CryptoProviderErrorSchema, HashAlgorithm, HashAlgorithmSchema, HpkeSuite, HpkeSuiteSchema, JsonWebKeySchema, JsonWebKeySetSchema, KdfAlgorithm, KdfAlgorithmSchema, KemAlgorithm, KemAlgorithmSchema, KeyAgreementAlgorithm, KeyAgreementAlgorithmSchema, KeyWrapAlgorithm, KeyWrapAlgorithmSchema, MacAlgorithm, MacAlgorithmSchema, MulticodecKeyAlgorithm, MulticodecKeyAlgorithmSchema, SignatureAlgorithm, SignatureAlgorithmSchema, file_reallyme_crypto_v1_crypto, } from "./proto/generated/reallyme/crypto/v1/crypto_pb.js";
3
+ export { CodecBaseEncodingErrorSchema, CodecCanonicalizationErrorSchema, CodecErrorSchema, CodecErrorReason, CodecErrorReasonSchema, CodecMultiformatErrorSchema, CodecPemErrorSchema, file_reallyme_codec_v1_codec, } from "./proto/generated/reallyme/codec/v1/codec_pb.js";
4
+ export type { CryptoAlgorithmIdentifier, CryptoBackendError, CryptoError, CryptoPrimitiveError, CryptoProviderError, JsonWebKey, JsonWebKeySet, } from "./proto/generated/reallyme/crypto/v1/crypto_pb.js";
5
+ export type { CodecBaseEncodingError, CodecCanonicalizationError, CodecError, CodecMultiformatError, CodecPemError, } from "./proto/generated/reallyme/codec/v1/codec_pb.js";
4
6
  import { AeadAlgorithm, HashAlgorithm, HpkeSuite, KdfAlgorithm, KemAlgorithm, KeyAgreementAlgorithm, KeyWrapAlgorithm, MacAlgorithm, MulticodecKeyAlgorithm, SignatureAlgorithm } from "./proto/generated/reallyme/crypto/v1/crypto_pb.js";
5
7
  export type ReallyMeMulticodecKeyAlgorithm = "ed25519-pub" | "x25519-pub" | "secp256k1-pub" | "p256-pub" | "p384-pub" | "p521-pub" | "ed448-pub" | "rsa-pub" | "mlkem-512-pub" | "mlkem-768-pub" | "mlkem-1024-pub" | "mldsa-44-pub" | "mldsa-65-pub" | "mldsa-87-pub";
6
8
  export declare const signatureAlgorithmFromProto: (value: SignatureAlgorithm) => ReallyMeSignatureAlgorithm;
package/dist/proto.js CHANGED
@@ -2,7 +2,8 @@
2
2
  //
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
  import { ReallyMeCryptoError } from "./errors.js";
5
- export { AeadAlgorithm, AeadAlgorithmSchema, CryptoAlgorithmFamily, CryptoAlgorithmIdentifierSchema, CryptoAlgorithmFamilySchema, HashAlgorithm, HashAlgorithmSchema, HpkeSuite, HpkeSuiteSchema, JsonWebKeySchema, JsonWebKeySetSchema, KdfAlgorithm, KdfAlgorithmSchema, KemAlgorithm, KemAlgorithmSchema, KeyAgreementAlgorithm, KeyAgreementAlgorithmSchema, KeyWrapAlgorithm, KeyWrapAlgorithmSchema, MacAlgorithm, MacAlgorithmSchema, MulticodecKeyAlgorithm, MulticodecKeyAlgorithmSchema, SignatureAlgorithm, SignatureAlgorithmSchema, file_reallyme_crypto_v1_crypto, } from "./proto/generated/reallyme/crypto/v1/crypto_pb.js";
5
+ export { AeadAlgorithm, AeadAlgorithmSchema, CryptoAlgorithmFamily, CryptoAlgorithmFamilySchema, CryptoAlgorithmIdentifierSchema, CryptoBackendErrorSchema, CryptoErrorSchema, CryptoErrorReason, CryptoErrorReasonSchema, CryptoPrimitiveErrorSchema, CryptoProviderErrorSchema, HashAlgorithm, HashAlgorithmSchema, HpkeSuite, HpkeSuiteSchema, JsonWebKeySchema, JsonWebKeySetSchema, KdfAlgorithm, KdfAlgorithmSchema, KemAlgorithm, KemAlgorithmSchema, KeyAgreementAlgorithm, KeyAgreementAlgorithmSchema, KeyWrapAlgorithm, KeyWrapAlgorithmSchema, MacAlgorithm, MacAlgorithmSchema, MulticodecKeyAlgorithm, MulticodecKeyAlgorithmSchema, SignatureAlgorithm, SignatureAlgorithmSchema, file_reallyme_crypto_v1_crypto, } from "./proto/generated/reallyme/crypto/v1/crypto_pb.js";
6
+ export { CodecBaseEncodingErrorSchema, CodecCanonicalizationErrorSchema, CodecErrorSchema, CodecErrorReason, CodecErrorReasonSchema, CodecMultiformatErrorSchema, CodecPemErrorSchema, file_reallyme_codec_v1_codec, } from "./proto/generated/reallyme/codec/v1/codec_pb.js";
6
7
  import { AeadAlgorithm, HashAlgorithm, HpkeSuite, KdfAlgorithm, KemAlgorithm, KeyAgreementAlgorithm, KeyWrapAlgorithm, MacAlgorithm, MulticodecKeyAlgorithm, SignatureAlgorithm, } from "./proto/generated/reallyme/crypto/v1/crypto_pb.js";
7
8
  export const signatureAlgorithmFromProto = (value) => {
8
9
  switch (value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reallyme/crypto",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "ReallyMe crypto SDK for TypeScript/JavaScript with an explicit, pinned provider set.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",