@reallyme/crypto 0.3.16 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/dist/aead.js +1 -1
- package/dist/aesKw.js +1 -1
- package/dist/algorithms.js +1 -1
- package/dist/argon2id.js +1 -1
- package/dist/bip340Schnorr.js +1 -1
- package/dist/cryptoFacade.js +1 -1
- package/dist/cryptoFacadeAsymmetric.js +1 -1
- package/dist/cryptoFacadeSymmetric.js +1 -1
- package/dist/digest.js +1 -1
- package/dist/ed25519.js +1 -1
- package/dist/encodeEcdsaDer.js +1 -1
- package/dist/errors.js +1 -1
- package/dist/hkdf.js +1 -1
- package/dist/hmac.js +1 -1
- package/dist/hpke.js +1 -1
- package/dist/index.js +1 -1
- package/dist/jwaConcatKdf.js +1 -1
- package/dist/jwk.js +1 -1
- package/dist/kmac.js +1 -1
- package/dist/memory.js +1 -1
- package/dist/mlDsa.js +1 -1
- package/dist/mlKem.js +1 -1
- package/dist/operationResponse.js +1 -1
- package/dist/p256Ecdh.js +1 -1
- package/dist/p256Ecdsa.js +1 -1
- package/dist/p384Ecdh.js +1 -1
- package/dist/p384Ecdsa.js +1 -1
- package/dist/p521Ecdh.js +1 -1
- package/dist/p521Ecdsa.js +1 -1
- package/dist/pbkdf2.js +1 -1
- package/dist/proto/generated/reallyme/crypto/v1/crypto_pb.d.ts +4346 -1113
- package/dist/proto/generated/reallyme/crypto/v1/crypto_pb.js +1058 -99
- package/dist/proto/generated/reallyme/crypto/v1/native_formats_pb.d.ts +101 -0
- package/dist/proto/generated/reallyme/crypto/v1/native_formats_pb.js +106 -0
- package/dist/proto/generated/reallyme/crypto/v1/native_options_pb.d.ts +112 -0
- package/dist/proto/generated/reallyme/crypto/v1/native_options_pb.js +77 -0
- package/dist/proto/generated/reallyme/crypto/v1/native_primitives_pb.d.ts +87 -0
- package/dist/proto/generated/reallyme/crypto/v1/native_primitives_pb.js +93 -0
- package/dist/proto/generated/reallyme/crypto/v1/native_protocols_pb.d.ts +30 -0
- package/dist/proto/generated/reallyme/crypto/v1/native_protocols_pb.js +34 -0
- package/dist/proto/generated/reallyme/crypto/v1/policy_pb.d.ts +964 -0
- package/dist/proto/generated/reallyme/crypto/v1/policy_pb.js +925 -0
- package/dist/proto.js +1 -1
- package/dist/protoAlgorithms.js +1 -1
- package/dist/protoErrors.js +54 -181
- package/dist/protoIdentifiers.js +1 -1
- package/dist/protoJwk.js +1 -1
- package/dist/protoValues.js +1 -1
- package/dist/providerCatalog.js +1 -1
- package/dist/rsa.js +1 -1
- package/dist/secp256k1.js +1 -1
- package/dist/slhDsa.js +1 -1
- package/dist/validateBytes.js +1 -1
- package/dist/verifyBundledWasmModule.js +1 -1
- package/dist/wasm/LICENSE +1 -1
- package/dist/wasm/reallyme_crypto_wasm.js +4 -0
- package/dist/wasm/reallyme_crypto_wasm_bg.wasm +0 -0
- package/dist/wasmModuleTypes.js +1 -1
- package/dist/wasmProvider.js +1 -1
- package/dist/x25519.js +1 -1
- package/dist/xWing.js +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the file reallyme/crypto/v1/native_formats.proto.
|
|
4
|
+
*/
|
|
5
|
+
export declare const file_reallyme_crypto_v1_native_formats: GenFile;
|
|
6
|
+
/**
|
|
7
|
+
* Exact existing P-256 import formats. DER occupies 100-199 and PEM 200-299.
|
|
8
|
+
* No content sniffing is implied except the explicitly selected private PEM
|
|
9
|
+
* policy, which accepts the two existing private-key labels and nothing else.
|
|
10
|
+
*
|
|
11
|
+
* @generated from enum reallyme.crypto.v1.P256KeyContainerFormat
|
|
12
|
+
*/
|
|
13
|
+
export declare enum P256KeyContainerFormat {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_UNSPECIFIED = 0;
|
|
16
|
+
*/
|
|
17
|
+
UNSPECIFIED = 0,
|
|
18
|
+
/**
|
|
19
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_PKCS8_DER = 100;
|
|
20
|
+
*/
|
|
21
|
+
PKCS8_DER = 100,
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_SEC1_DER = 110;
|
|
24
|
+
*/
|
|
25
|
+
SEC1_DER = 110,
|
|
26
|
+
/**
|
|
27
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_SPKI_DER = 120;
|
|
28
|
+
*/
|
|
29
|
+
SPKI_DER = 120,
|
|
30
|
+
/**
|
|
31
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_PKCS8_PEM = 200;
|
|
32
|
+
*/
|
|
33
|
+
PKCS8_PEM = 200,
|
|
34
|
+
/**
|
|
35
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_SEC1_PEM = 210;
|
|
36
|
+
*/
|
|
37
|
+
SEC1_PEM = 210,
|
|
38
|
+
/**
|
|
39
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_SPKI_PEM = 220;
|
|
40
|
+
*/
|
|
41
|
+
SPKI_PEM = 220,
|
|
42
|
+
/**
|
|
43
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_PRIVATE_PEM = 230;
|
|
44
|
+
*/
|
|
45
|
+
PRIVATE_PEM = 230
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Describes the enum reallyme.crypto.v1.P256KeyContainerFormat.
|
|
49
|
+
*/
|
|
50
|
+
export declare const P256KeyContainerFormatSchema: GenEnum<P256KeyContainerFormat>;
|
|
51
|
+
/**
|
|
52
|
+
* Each value names an existing public-key helper, not a generic stronger
|
|
53
|
+
* validator. Encode/decode occupy 100-199, SEC1 transforms 200-299, explicit
|
|
54
|
+
* assertion/identity validation 300-399 and BIP-340 representation 400-499.
|
|
55
|
+
* In particular secp256k1 encode/decode/assert check compressed shape only;
|
|
56
|
+
* decompression parses the curve point. The algorithm remains separately typed.
|
|
57
|
+
*
|
|
58
|
+
* @generated from enum reallyme.crypto.v1.PublicKeyFormatOperation
|
|
59
|
+
*/
|
|
60
|
+
export declare enum PublicKeyFormatOperation {
|
|
61
|
+
/**
|
|
62
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_UNSPECIFIED = 0;
|
|
63
|
+
*/
|
|
64
|
+
UNSPECIFIED = 0,
|
|
65
|
+
/**
|
|
66
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_ENCODE = 100;
|
|
67
|
+
*/
|
|
68
|
+
ENCODE = 100,
|
|
69
|
+
/**
|
|
70
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_DECODE = 110;
|
|
71
|
+
*/
|
|
72
|
+
DECODE = 110,
|
|
73
|
+
/**
|
|
74
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_COMPRESS = 200;
|
|
75
|
+
*/
|
|
76
|
+
COMPRESS = 200,
|
|
77
|
+
/**
|
|
78
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_DECOMPRESS = 210;
|
|
79
|
+
*/
|
|
80
|
+
DECOMPRESS = 210,
|
|
81
|
+
/**
|
|
82
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_ASSERT = 300;
|
|
83
|
+
*/
|
|
84
|
+
ASSERT = 300,
|
|
85
|
+
/**
|
|
86
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_VALIDATE_IDENTITY = 310;
|
|
87
|
+
*/
|
|
88
|
+
VALIDATE_IDENTITY = 310,
|
|
89
|
+
/**
|
|
90
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_BIP340_ENCODE = 400;
|
|
91
|
+
*/
|
|
92
|
+
BIP340_ENCODE = 400,
|
|
93
|
+
/**
|
|
94
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_BIP340_DECODE = 410;
|
|
95
|
+
*/
|
|
96
|
+
BIP340_DECODE = 410
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Describes the enum reallyme.crypto.v1.PublicKeyFormatOperation.
|
|
100
|
+
*/
|
|
101
|
+
export declare const PublicKeyFormatOperationSchema: GenEnum<PublicKeyFormatOperation>;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: 2026 ReallyMe Technologies Limited
|
|
2
|
+
//
|
|
3
|
+
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
4
|
+
import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file reallyme/crypto/v1/native_formats.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_reallyme_crypto_v1_native_formats = /*@__PURE__*/ fileDesc("CidyZWFsbHltZS9jcnlwdG8vdjEvbmF0aXZlX2Zvcm1hdHMucHJvdG8SEnJlYWxseW1lLmNyeXB0by52MSrqAgoWUDI1NktleUNvbnRhaW5lckZvcm1hdBIpCiVQMjU2X0tFWV9DT05UQUlORVJfRk9STUFUX1VOU1BFQ0lGSUVEEAASJwojUDI1Nl9LRVlfQ09OVEFJTkVSX0ZPUk1BVF9QS0NTOF9ERVIQZBImCiJQMjU2X0tFWV9DT05UQUlORVJfRk9STUFUX1NFQzFfREVSEG4SJgoiUDI1Nl9LRVlfQ09OVEFJTkVSX0ZPUk1BVF9TUEtJX0RFUhB4EigKI1AyNTZfS0VZX0NPTlRBSU5FUl9GT1JNQVRfUEtDUzhfUEVNEMgBEicKIlAyNTZfS0VZX0NPTlRBSU5FUl9GT1JNQVRfU0VDMV9QRU0Q0gESJwoiUDI1Nl9LRVlfQ09OVEFJTkVSX0ZPUk1BVF9TUEtJX1BFTRDcARIqCiVQMjU2X0tFWV9DT05UQUlORVJfRk9STUFUX1BSSVZBVEVfUEVNEOYBIgQIARBjKrIDChhQdWJsaWNLZXlGb3JtYXRPcGVyYXRpb24SKwonUFVCTElDX0tFWV9GT1JNQVRfT1BFUkFUSU9OX1VOU1BFQ0lGSUVEEAASJgoiUFVCTElDX0tFWV9GT1JNQVRfT1BFUkFUSU9OX0VOQ09ERRBkEiYKIlBVQkxJQ19LRVlfRk9STUFUX09QRVJBVElPTl9ERUNPREUQbhIpCiRQVUJMSUNfS0VZX0ZPUk1BVF9PUEVSQVRJT05fQ09NUFJFU1MQyAESKwomUFVCTElDX0tFWV9GT1JNQVRfT1BFUkFUSU9OX0RFQ09NUFJFU1MQ0gESJwoiUFVCTElDX0tFWV9GT1JNQVRfT1BFUkFUSU9OX0FTU0VSVBCsAhIyCi1QVUJMSUNfS0VZX0ZPUk1BVF9PUEVSQVRJT05fVkFMSURBVEVfSURFTlRJVFkQtgISLgopUFVCTElDX0tFWV9GT1JNQVRfT1BFUkFUSU9OX0JJUDM0MF9FTkNPREUQkAMSLgopUFVCTElDX0tFWV9GT1JNQVRfT1BFUkFUSU9OX0JJUDM0MF9ERUNPREUQmgMiBAgBEGNCJwoTbWUucmVhbGx5LmNyeXB0by52MVABugINUmVhbGx5TWVQcm90b2IGcHJvdG8z");
|
|
9
|
+
/**
|
|
10
|
+
* Exact existing P-256 import formats. DER occupies 100-199 and PEM 200-299.
|
|
11
|
+
* No content sniffing is implied except the explicitly selected private PEM
|
|
12
|
+
* policy, which accepts the two existing private-key labels and nothing else.
|
|
13
|
+
*
|
|
14
|
+
* @generated from enum reallyme.crypto.v1.P256KeyContainerFormat
|
|
15
|
+
*/
|
|
16
|
+
export var P256KeyContainerFormat;
|
|
17
|
+
(function (P256KeyContainerFormat) {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_UNSPECIFIED = 0;
|
|
20
|
+
*/
|
|
21
|
+
P256KeyContainerFormat[P256KeyContainerFormat["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_PKCS8_DER = 100;
|
|
24
|
+
*/
|
|
25
|
+
P256KeyContainerFormat[P256KeyContainerFormat["PKCS8_DER"] = 100] = "PKCS8_DER";
|
|
26
|
+
/**
|
|
27
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_SEC1_DER = 110;
|
|
28
|
+
*/
|
|
29
|
+
P256KeyContainerFormat[P256KeyContainerFormat["SEC1_DER"] = 110] = "SEC1_DER";
|
|
30
|
+
/**
|
|
31
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_SPKI_DER = 120;
|
|
32
|
+
*/
|
|
33
|
+
P256KeyContainerFormat[P256KeyContainerFormat["SPKI_DER"] = 120] = "SPKI_DER";
|
|
34
|
+
/**
|
|
35
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_PKCS8_PEM = 200;
|
|
36
|
+
*/
|
|
37
|
+
P256KeyContainerFormat[P256KeyContainerFormat["PKCS8_PEM"] = 200] = "PKCS8_PEM";
|
|
38
|
+
/**
|
|
39
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_SEC1_PEM = 210;
|
|
40
|
+
*/
|
|
41
|
+
P256KeyContainerFormat[P256KeyContainerFormat["SEC1_PEM"] = 210] = "SEC1_PEM";
|
|
42
|
+
/**
|
|
43
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_SPKI_PEM = 220;
|
|
44
|
+
*/
|
|
45
|
+
P256KeyContainerFormat[P256KeyContainerFormat["SPKI_PEM"] = 220] = "SPKI_PEM";
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum value: P256_KEY_CONTAINER_FORMAT_PRIVATE_PEM = 230;
|
|
48
|
+
*/
|
|
49
|
+
P256KeyContainerFormat[P256KeyContainerFormat["PRIVATE_PEM"] = 230] = "PRIVATE_PEM";
|
|
50
|
+
})(P256KeyContainerFormat || (P256KeyContainerFormat = {}));
|
|
51
|
+
/**
|
|
52
|
+
* Describes the enum reallyme.crypto.v1.P256KeyContainerFormat.
|
|
53
|
+
*/
|
|
54
|
+
export const P256KeyContainerFormatSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_native_formats, 0);
|
|
55
|
+
/**
|
|
56
|
+
* Each value names an existing public-key helper, not a generic stronger
|
|
57
|
+
* validator. Encode/decode occupy 100-199, SEC1 transforms 200-299, explicit
|
|
58
|
+
* assertion/identity validation 300-399 and BIP-340 representation 400-499.
|
|
59
|
+
* In particular secp256k1 encode/decode/assert check compressed shape only;
|
|
60
|
+
* decompression parses the curve point. The algorithm remains separately typed.
|
|
61
|
+
*
|
|
62
|
+
* @generated from enum reallyme.crypto.v1.PublicKeyFormatOperation
|
|
63
|
+
*/
|
|
64
|
+
export var PublicKeyFormatOperation;
|
|
65
|
+
(function (PublicKeyFormatOperation) {
|
|
66
|
+
/**
|
|
67
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_UNSPECIFIED = 0;
|
|
68
|
+
*/
|
|
69
|
+
PublicKeyFormatOperation[PublicKeyFormatOperation["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
70
|
+
/**
|
|
71
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_ENCODE = 100;
|
|
72
|
+
*/
|
|
73
|
+
PublicKeyFormatOperation[PublicKeyFormatOperation["ENCODE"] = 100] = "ENCODE";
|
|
74
|
+
/**
|
|
75
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_DECODE = 110;
|
|
76
|
+
*/
|
|
77
|
+
PublicKeyFormatOperation[PublicKeyFormatOperation["DECODE"] = 110] = "DECODE";
|
|
78
|
+
/**
|
|
79
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_COMPRESS = 200;
|
|
80
|
+
*/
|
|
81
|
+
PublicKeyFormatOperation[PublicKeyFormatOperation["COMPRESS"] = 200] = "COMPRESS";
|
|
82
|
+
/**
|
|
83
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_DECOMPRESS = 210;
|
|
84
|
+
*/
|
|
85
|
+
PublicKeyFormatOperation[PublicKeyFormatOperation["DECOMPRESS"] = 210] = "DECOMPRESS";
|
|
86
|
+
/**
|
|
87
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_ASSERT = 300;
|
|
88
|
+
*/
|
|
89
|
+
PublicKeyFormatOperation[PublicKeyFormatOperation["ASSERT"] = 300] = "ASSERT";
|
|
90
|
+
/**
|
|
91
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_VALIDATE_IDENTITY = 310;
|
|
92
|
+
*/
|
|
93
|
+
PublicKeyFormatOperation[PublicKeyFormatOperation["VALIDATE_IDENTITY"] = 310] = "VALIDATE_IDENTITY";
|
|
94
|
+
/**
|
|
95
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_BIP340_ENCODE = 400;
|
|
96
|
+
*/
|
|
97
|
+
PublicKeyFormatOperation[PublicKeyFormatOperation["BIP340_ENCODE"] = 400] = "BIP340_ENCODE";
|
|
98
|
+
/**
|
|
99
|
+
* @generated from enum value: PUBLIC_KEY_FORMAT_OPERATION_BIP340_DECODE = 410;
|
|
100
|
+
*/
|
|
101
|
+
PublicKeyFormatOperation[PublicKeyFormatOperation["BIP340_DECODE"] = 410] = "BIP340_DECODE";
|
|
102
|
+
})(PublicKeyFormatOperation || (PublicKeyFormatOperation = {}));
|
|
103
|
+
/**
|
|
104
|
+
* Describes the enum reallyme.crypto.v1.PublicKeyFormatOperation.
|
|
105
|
+
*/
|
|
106
|
+
export const PublicKeyFormatOperationSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_native_formats, 1);
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file reallyme/crypto/v1/native_options.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_reallyme_crypto_v1_native_options: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* Read-only validation bounds reported by the existing native profile policy.
|
|
9
|
+
* This record is not a caller-overridable Argon2 cost configuration.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message reallyme.crypto.v1.Argon2Caps
|
|
12
|
+
*/
|
|
13
|
+
export type Argon2Caps = Message<"reallyme.crypto.v1.Argon2Caps"> & {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: uint32 mem_cap_kib = 1;
|
|
16
|
+
*/
|
|
17
|
+
memCapKib: number;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: uint32 time_cost_cap = 2;
|
|
20
|
+
*/
|
|
21
|
+
timeCostCap: number;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: uint32 lanes_cap = 3;
|
|
24
|
+
*/
|
|
25
|
+
lanesCap: number;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message reallyme.crypto.v1.Argon2Caps.
|
|
29
|
+
* Use `create(Argon2CapsSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export declare const Argon2CapsSchema: GenMessage<Argon2Caps>;
|
|
32
|
+
/**
|
|
33
|
+
* Read-only cost tuple resolved from an existing fixed native profile.
|
|
34
|
+
*
|
|
35
|
+
* @generated from message reallyme.crypto.v1.Argon2ParamsProfile
|
|
36
|
+
*/
|
|
37
|
+
export type Argon2ParamsProfile = Message<"reallyme.crypto.v1.Argon2ParamsProfile"> & {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: uint32 mem_kib = 1;
|
|
40
|
+
*/
|
|
41
|
+
memKib: number;
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: uint32 time_cost = 2;
|
|
44
|
+
*/
|
|
45
|
+
timeCost: number;
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: uint32 lanes = 3;
|
|
48
|
+
*/
|
|
49
|
+
lanes: number;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message reallyme.crypto.v1.Argon2ParamsProfile.
|
|
53
|
+
* Use `create(Argon2ParamsProfileSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export declare const Argon2ParamsProfileSchema: GenMessage<Argon2ParamsProfile>;
|
|
56
|
+
/**
|
|
57
|
+
* Platform classes select existing fixed Argon2 validation bounds. Mobile and
|
|
58
|
+
* desktop classes occupy 100-199 and 200-299 respectively; zero is invalid.
|
|
59
|
+
*
|
|
60
|
+
* @generated from enum reallyme.crypto.v1.Argon2PlatformClass
|
|
61
|
+
*/
|
|
62
|
+
export declare enum Argon2PlatformClass {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from enum value: ARGON2_PLATFORM_CLASS_UNSPECIFIED = 0;
|
|
65
|
+
*/
|
|
66
|
+
UNSPECIFIED = 0,
|
|
67
|
+
/**
|
|
68
|
+
* @generated from enum value: ARGON2_PLATFORM_CLASS_MOBILE_MODERN = 100;
|
|
69
|
+
*/
|
|
70
|
+
MOBILE_MODERN = 100,
|
|
71
|
+
/**
|
|
72
|
+
* @generated from enum value: ARGON2_PLATFORM_CLASS_DESKTOP_MODERN = 200;
|
|
73
|
+
*/
|
|
74
|
+
DESKTOP_MODERN = 200
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Describes the enum reallyme.crypto.v1.Argon2PlatformClass.
|
|
78
|
+
*/
|
|
79
|
+
export declare const Argon2PlatformClassSchema: GenEnum<Argon2PlatformClass>;
|
|
80
|
+
/**
|
|
81
|
+
* Named purposes for the existing fixed SHA3-256 HKDF domain-key profile.
|
|
82
|
+
* Content encryption, key wrapping, authentication and commitment occupy
|
|
83
|
+
* successive 100-value families. These identities do not add cryptosuites.
|
|
84
|
+
*
|
|
85
|
+
* @generated from enum reallyme.crypto.v1.HkdfDomainKeyPurpose
|
|
86
|
+
*/
|
|
87
|
+
export declare enum HkdfDomainKeyPurpose {
|
|
88
|
+
/**
|
|
89
|
+
* @generated from enum value: HKDF_DOMAIN_KEY_PURPOSE_UNSPECIFIED = 0;
|
|
90
|
+
*/
|
|
91
|
+
UNSPECIFIED = 0,
|
|
92
|
+
/**
|
|
93
|
+
* @generated from enum value: HKDF_DOMAIN_KEY_PURPOSE_AEAD_CONTENT_KEY = 100;
|
|
94
|
+
*/
|
|
95
|
+
AEAD_CONTENT_KEY = 100,
|
|
96
|
+
/**
|
|
97
|
+
* @generated from enum value: HKDF_DOMAIN_KEY_PURPOSE_AEAD_WRAP_KEY = 200;
|
|
98
|
+
*/
|
|
99
|
+
AEAD_WRAP_KEY = 200,
|
|
100
|
+
/**
|
|
101
|
+
* @generated from enum value: HKDF_DOMAIN_KEY_PURPOSE_AUTH_PROOF_KEY = 300;
|
|
102
|
+
*/
|
|
103
|
+
AUTH_PROOF_KEY = 300,
|
|
104
|
+
/**
|
|
105
|
+
* @generated from enum value: HKDF_DOMAIN_KEY_PURPOSE_MANIFEST_COMMITMENT_KEY = 400;
|
|
106
|
+
*/
|
|
107
|
+
MANIFEST_COMMITMENT_KEY = 400
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Describes the enum reallyme.crypto.v1.HkdfDomainKeyPurpose.
|
|
111
|
+
*/
|
|
112
|
+
export declare const HkdfDomainKeyPurposeSchema: GenEnum<HkdfDomainKeyPurpose>;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: 2026 ReallyMe Technologies Limited
|
|
2
|
+
//
|
|
3
|
+
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file reallyme/crypto/v1/native_options.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_reallyme_crypto_v1_native_options = /*@__PURE__*/ fileDesc("CidyZWFsbHltZS9jcnlwdG8vdjEvbmF0aXZlX29wdGlvbnMucHJvdG8SEnJlYWxseW1lLmNyeXB0by52MSJLCgpBcmdvbjJDYXBzEhMKC21lbV9jYXBfa2liGAEgASgNEhUKDXRpbWVfY29zdF9jYXAYAiABKA0SEQoJbGFuZXNfY2FwGAMgASgNIkgKE0FyZ29uMlBhcmFtc1Byb2ZpbGUSDwoHbWVtX2tpYhgBIAEoDRIRCgl0aW1lX2Nvc3QYAiABKA0SDQoFbGFuZXMYAyABKA0qkAEKE0FyZ29uMlBsYXRmb3JtQ2xhc3MSJQohQVJHT04yX1BMQVRGT1JNX0NMQVNTX1VOU1BFQ0lGSUVEEAASJwojQVJHT04yX1BMQVRGT1JNX0NMQVNTX01PQklMRV9NT0RFUk4QZBIpCiRBUkdPTjJfUExBVEZPUk1fQ0xBU1NfREVTS1RPUF9NT0RFUk4QyAEq/AEKFEhrZGZEb21haW5LZXlQdXJwb3NlEicKI0hLREZfRE9NQUlOX0tFWV9QVVJQT1NFX1VOU1BFQ0lGSUVEEAASLAooSEtERl9ET01BSU5fS0VZX1BVUlBPU0VfQUVBRF9DT05URU5UX0tFWRBkEioKJUhLREZfRE9NQUlOX0tFWV9QVVJQT1NFX0FFQURfV1JBUF9LRVkQyAESKwomSEtERl9ET01BSU5fS0VZX1BVUlBPU0VfQVVUSF9QUk9PRl9LRVkQrAISNAovSEtERl9ET01BSU5fS0VZX1BVUlBPU0VfTUFOSUZFU1RfQ09NTUlUTUVOVF9LRVkQkANCJwoTbWUucmVhbGx5LmNyeXB0by52MVABugINUmVhbGx5TWVQcm90b2IGcHJvdG8z");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the message reallyme.crypto.v1.Argon2Caps.
|
|
11
|
+
* Use `create(Argon2CapsSchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const Argon2CapsSchema = /*@__PURE__*/ messageDesc(file_reallyme_crypto_v1_native_options, 0);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message reallyme.crypto.v1.Argon2ParamsProfile.
|
|
16
|
+
* Use `create(Argon2ParamsProfileSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const Argon2ParamsProfileSchema = /*@__PURE__*/ messageDesc(file_reallyme_crypto_v1_native_options, 1);
|
|
19
|
+
/**
|
|
20
|
+
* Platform classes select existing fixed Argon2 validation bounds. Mobile and
|
|
21
|
+
* desktop classes occupy 100-199 and 200-299 respectively; zero is invalid.
|
|
22
|
+
*
|
|
23
|
+
* @generated from enum reallyme.crypto.v1.Argon2PlatformClass
|
|
24
|
+
*/
|
|
25
|
+
export var Argon2PlatformClass;
|
|
26
|
+
(function (Argon2PlatformClass) {
|
|
27
|
+
/**
|
|
28
|
+
* @generated from enum value: ARGON2_PLATFORM_CLASS_UNSPECIFIED = 0;
|
|
29
|
+
*/
|
|
30
|
+
Argon2PlatformClass[Argon2PlatformClass["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
31
|
+
/**
|
|
32
|
+
* @generated from enum value: ARGON2_PLATFORM_CLASS_MOBILE_MODERN = 100;
|
|
33
|
+
*/
|
|
34
|
+
Argon2PlatformClass[Argon2PlatformClass["MOBILE_MODERN"] = 100] = "MOBILE_MODERN";
|
|
35
|
+
/**
|
|
36
|
+
* @generated from enum value: ARGON2_PLATFORM_CLASS_DESKTOP_MODERN = 200;
|
|
37
|
+
*/
|
|
38
|
+
Argon2PlatformClass[Argon2PlatformClass["DESKTOP_MODERN"] = 200] = "DESKTOP_MODERN";
|
|
39
|
+
})(Argon2PlatformClass || (Argon2PlatformClass = {}));
|
|
40
|
+
/**
|
|
41
|
+
* Describes the enum reallyme.crypto.v1.Argon2PlatformClass.
|
|
42
|
+
*/
|
|
43
|
+
export const Argon2PlatformClassSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_native_options, 0);
|
|
44
|
+
/**
|
|
45
|
+
* Named purposes for the existing fixed SHA3-256 HKDF domain-key profile.
|
|
46
|
+
* Content encryption, key wrapping, authentication and commitment occupy
|
|
47
|
+
* successive 100-value families. These identities do not add cryptosuites.
|
|
48
|
+
*
|
|
49
|
+
* @generated from enum reallyme.crypto.v1.HkdfDomainKeyPurpose
|
|
50
|
+
*/
|
|
51
|
+
export var HkdfDomainKeyPurpose;
|
|
52
|
+
(function (HkdfDomainKeyPurpose) {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from enum value: HKDF_DOMAIN_KEY_PURPOSE_UNSPECIFIED = 0;
|
|
55
|
+
*/
|
|
56
|
+
HkdfDomainKeyPurpose[HkdfDomainKeyPurpose["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
57
|
+
/**
|
|
58
|
+
* @generated from enum value: HKDF_DOMAIN_KEY_PURPOSE_AEAD_CONTENT_KEY = 100;
|
|
59
|
+
*/
|
|
60
|
+
HkdfDomainKeyPurpose[HkdfDomainKeyPurpose["AEAD_CONTENT_KEY"] = 100] = "AEAD_CONTENT_KEY";
|
|
61
|
+
/**
|
|
62
|
+
* @generated from enum value: HKDF_DOMAIN_KEY_PURPOSE_AEAD_WRAP_KEY = 200;
|
|
63
|
+
*/
|
|
64
|
+
HkdfDomainKeyPurpose[HkdfDomainKeyPurpose["AEAD_WRAP_KEY"] = 200] = "AEAD_WRAP_KEY";
|
|
65
|
+
/**
|
|
66
|
+
* @generated from enum value: HKDF_DOMAIN_KEY_PURPOSE_AUTH_PROOF_KEY = 300;
|
|
67
|
+
*/
|
|
68
|
+
HkdfDomainKeyPurpose[HkdfDomainKeyPurpose["AUTH_PROOF_KEY"] = 300] = "AUTH_PROOF_KEY";
|
|
69
|
+
/**
|
|
70
|
+
* @generated from enum value: HKDF_DOMAIN_KEY_PURPOSE_MANIFEST_COMMITMENT_KEY = 400;
|
|
71
|
+
*/
|
|
72
|
+
HkdfDomainKeyPurpose[HkdfDomainKeyPurpose["MANIFEST_COMMITMENT_KEY"] = 400] = "MANIFEST_COMMITMENT_KEY";
|
|
73
|
+
})(HkdfDomainKeyPurpose || (HkdfDomainKeyPurpose = {}));
|
|
74
|
+
/**
|
|
75
|
+
* Describes the enum reallyme.crypto.v1.HkdfDomainKeyPurpose.
|
|
76
|
+
*/
|
|
77
|
+
export const HkdfDomainKeyPurposeSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_native_options, 1);
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the file reallyme/crypto/v1/native_primitives.proto.
|
|
4
|
+
*/
|
|
5
|
+
export declare const file_reallyme_crypto_v1_native_primitives: GenFile;
|
|
6
|
+
/**
|
|
7
|
+
* Signature representations are explicit and independent of curve/hash.
|
|
8
|
+
* The 100-series is permanently assigned to supported ECDSA encodings.
|
|
9
|
+
*
|
|
10
|
+
* @generated from enum reallyme.crypto.v1.EcdsaEncoding
|
|
11
|
+
*/
|
|
12
|
+
export declare enum EcdsaEncoding {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from enum value: ECDSA_ENCODING_UNSPECIFIED = 0;
|
|
15
|
+
*/
|
|
16
|
+
UNSPECIFIED = 0,
|
|
17
|
+
/**
|
|
18
|
+
* @generated from enum value: ECDSA_ENCODING_DER = 100;
|
|
19
|
+
*/
|
|
20
|
+
DER = 100,
|
|
21
|
+
/**
|
|
22
|
+
* @generated from enum value: ECDSA_ENCODING_FIXED_WIDTH = 110;
|
|
23
|
+
*/
|
|
24
|
+
FIXED_WIDTH = 110
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Describes the enum reallyme.crypto.v1.EcdsaEncoding.
|
|
28
|
+
*/
|
|
29
|
+
export declare const EcdsaEncodingSchema: GenEnum<EcdsaEncoding>;
|
|
30
|
+
/**
|
|
31
|
+
* Existing ordinary RFC 8032 Ed448 capabilities. These values do not enable
|
|
32
|
+
* Ed448ph or a caller-selected context. Verification uses 100-199, opaque
|
|
33
|
+
* signing 200-299, and protected software key lifecycle 300-399.
|
|
34
|
+
*
|
|
35
|
+
* @generated from enum reallyme.crypto.v1.Ed448Operation
|
|
36
|
+
*/
|
|
37
|
+
export declare enum Ed448Operation {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from enum value: ED448_OPERATION_UNSPECIFIED = 0;
|
|
40
|
+
*/
|
|
41
|
+
UNSPECIFIED = 0,
|
|
42
|
+
/**
|
|
43
|
+
* @generated from enum value: ED448_OPERATION_VERIFY = 100;
|
|
44
|
+
*/
|
|
45
|
+
VERIFY = 100,
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum value: ED448_OPERATION_OPAQUE_SIGN = 200;
|
|
48
|
+
*/
|
|
49
|
+
OPAQUE_SIGN = 200,
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum value: ED448_OPERATION_SOFTWARE_KEY_GENERATION = 300;
|
|
52
|
+
*/
|
|
53
|
+
SOFTWARE_KEY_GENERATION = 300,
|
|
54
|
+
/**
|
|
55
|
+
* @generated from enum value: ED448_OPERATION_SOFTWARE_KEY_IMPORT = 310;
|
|
56
|
+
*/
|
|
57
|
+
SOFTWARE_KEY_IMPORT = 310
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Describes the enum reallyme.crypto.v1.Ed448Operation.
|
|
61
|
+
*/
|
|
62
|
+
export declare const Ed448OperationSchema: GenEnum<Ed448Operation>;
|
|
63
|
+
/**
|
|
64
|
+
* Describes the native key boundary, without asserting hardware residency or
|
|
65
|
+
* accepting authorization. Existing ownership/export policies remain separate.
|
|
66
|
+
* Software owners use 100-199 and injected opaque signers use 200-299.
|
|
67
|
+
*
|
|
68
|
+
* @generated from enum reallyme.crypto.v1.NativeKeySource
|
|
69
|
+
*/
|
|
70
|
+
export declare enum NativeKeySource {
|
|
71
|
+
/**
|
|
72
|
+
* @generated from enum value: NATIVE_KEY_SOURCE_UNSPECIFIED = 0;
|
|
73
|
+
*/
|
|
74
|
+
UNSPECIFIED = 0,
|
|
75
|
+
/**
|
|
76
|
+
* @generated from enum value: NATIVE_KEY_SOURCE_SOFTWARE_OWNER = 100;
|
|
77
|
+
*/
|
|
78
|
+
SOFTWARE_OWNER = 100,
|
|
79
|
+
/**
|
|
80
|
+
* @generated from enum value: NATIVE_KEY_SOURCE_OPAQUE_SIGNER = 200;
|
|
81
|
+
*/
|
|
82
|
+
OPAQUE_SIGNER = 200
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Describes the enum reallyme.crypto.v1.NativeKeySource.
|
|
86
|
+
*/
|
|
87
|
+
export declare const NativeKeySourceSchema: GenEnum<NativeKeySource>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: 2026 ReallyMe Technologies Limited
|
|
2
|
+
//
|
|
3
|
+
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
4
|
+
import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file reallyme/crypto/v1/native_primitives.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_reallyme_crypto_v1_native_primitives = /*@__PURE__*/ fileDesc("CipyZWFsbHltZS9jcnlwdG8vdjEvbmF0aXZlX3ByaW1pdGl2ZXMucHJvdG8SEnJlYWxseW1lLmNyeXB0by52MSptCg1FY2RzYUVuY29kaW5nEh4KGkVDRFNBX0VOQ09ESU5HX1VOU1BFQ0lGSUVEEAASFgoSRUNEU0FfRU5DT0RJTkdfREVSEGQSHgoaRUNEU0FfRU5DT0RJTkdfRklYRURfV0lEVEgQbiIECAEQYyrNAQoORWQ0NDhPcGVyYXRpb24SHwobRUQ0NDhfT1BFUkFUSU9OX1VOU1BFQ0lGSUVEEAASGgoWRUQ0NDhfT1BFUkFUSU9OX1ZFUklGWRBkEiAKG0VENDQ4X09QRVJBVElPTl9PUEFRVUVfU0lHThDIARIsCidFRDQ0OF9PUEVSQVRJT05fU09GVFdBUkVfS0VZX0dFTkVSQVRJT04QrAISKAojRUQ0NDhfT1BFUkFUSU9OX1NPRlRXQVJFX0tFWV9JTVBPUlQQtgIiBAgBEGMqhgEKD05hdGl2ZUtleVNvdXJjZRIhCh1OQVRJVkVfS0VZX1NPVVJDRV9VTlNQRUNJRklFRBAAEiQKIE5BVElWRV9LRVlfU09VUkNFX1NPRlRXQVJFX09XTkVSEGQSJAofTkFUSVZFX0tFWV9TT1VSQ0VfT1BBUVVFX1NJR05FUhDIASIECAEQY0InChNtZS5yZWFsbHkuY3J5cHRvLnYxUAG6Ag1SZWFsbHlNZVByb3RvYgZwcm90bzM");
|
|
9
|
+
/**
|
|
10
|
+
* Signature representations are explicit and independent of curve/hash.
|
|
11
|
+
* The 100-series is permanently assigned to supported ECDSA encodings.
|
|
12
|
+
*
|
|
13
|
+
* @generated from enum reallyme.crypto.v1.EcdsaEncoding
|
|
14
|
+
*/
|
|
15
|
+
export var EcdsaEncoding;
|
|
16
|
+
(function (EcdsaEncoding) {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from enum value: ECDSA_ENCODING_UNSPECIFIED = 0;
|
|
19
|
+
*/
|
|
20
|
+
EcdsaEncoding[EcdsaEncoding["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
21
|
+
/**
|
|
22
|
+
* @generated from enum value: ECDSA_ENCODING_DER = 100;
|
|
23
|
+
*/
|
|
24
|
+
EcdsaEncoding[EcdsaEncoding["DER"] = 100] = "DER";
|
|
25
|
+
/**
|
|
26
|
+
* @generated from enum value: ECDSA_ENCODING_FIXED_WIDTH = 110;
|
|
27
|
+
*/
|
|
28
|
+
EcdsaEncoding[EcdsaEncoding["FIXED_WIDTH"] = 110] = "FIXED_WIDTH";
|
|
29
|
+
})(EcdsaEncoding || (EcdsaEncoding = {}));
|
|
30
|
+
/**
|
|
31
|
+
* Describes the enum reallyme.crypto.v1.EcdsaEncoding.
|
|
32
|
+
*/
|
|
33
|
+
export const EcdsaEncodingSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_native_primitives, 0);
|
|
34
|
+
/**
|
|
35
|
+
* Existing ordinary RFC 8032 Ed448 capabilities. These values do not enable
|
|
36
|
+
* Ed448ph or a caller-selected context. Verification uses 100-199, opaque
|
|
37
|
+
* signing 200-299, and protected software key lifecycle 300-399.
|
|
38
|
+
*
|
|
39
|
+
* @generated from enum reallyme.crypto.v1.Ed448Operation
|
|
40
|
+
*/
|
|
41
|
+
export var Ed448Operation;
|
|
42
|
+
(function (Ed448Operation) {
|
|
43
|
+
/**
|
|
44
|
+
* @generated from enum value: ED448_OPERATION_UNSPECIFIED = 0;
|
|
45
|
+
*/
|
|
46
|
+
Ed448Operation[Ed448Operation["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
47
|
+
/**
|
|
48
|
+
* @generated from enum value: ED448_OPERATION_VERIFY = 100;
|
|
49
|
+
*/
|
|
50
|
+
Ed448Operation[Ed448Operation["VERIFY"] = 100] = "VERIFY";
|
|
51
|
+
/**
|
|
52
|
+
* @generated from enum value: ED448_OPERATION_OPAQUE_SIGN = 200;
|
|
53
|
+
*/
|
|
54
|
+
Ed448Operation[Ed448Operation["OPAQUE_SIGN"] = 200] = "OPAQUE_SIGN";
|
|
55
|
+
/**
|
|
56
|
+
* @generated from enum value: ED448_OPERATION_SOFTWARE_KEY_GENERATION = 300;
|
|
57
|
+
*/
|
|
58
|
+
Ed448Operation[Ed448Operation["SOFTWARE_KEY_GENERATION"] = 300] = "SOFTWARE_KEY_GENERATION";
|
|
59
|
+
/**
|
|
60
|
+
* @generated from enum value: ED448_OPERATION_SOFTWARE_KEY_IMPORT = 310;
|
|
61
|
+
*/
|
|
62
|
+
Ed448Operation[Ed448Operation["SOFTWARE_KEY_IMPORT"] = 310] = "SOFTWARE_KEY_IMPORT";
|
|
63
|
+
})(Ed448Operation || (Ed448Operation = {}));
|
|
64
|
+
/**
|
|
65
|
+
* Describes the enum reallyme.crypto.v1.Ed448Operation.
|
|
66
|
+
*/
|
|
67
|
+
export const Ed448OperationSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_native_primitives, 1);
|
|
68
|
+
/**
|
|
69
|
+
* Describes the native key boundary, without asserting hardware residency or
|
|
70
|
+
* accepting authorization. Existing ownership/export policies remain separate.
|
|
71
|
+
* Software owners use 100-199 and injected opaque signers use 200-299.
|
|
72
|
+
*
|
|
73
|
+
* @generated from enum reallyme.crypto.v1.NativeKeySource
|
|
74
|
+
*/
|
|
75
|
+
export var NativeKeySource;
|
|
76
|
+
(function (NativeKeySource) {
|
|
77
|
+
/**
|
|
78
|
+
* @generated from enum value: NATIVE_KEY_SOURCE_UNSPECIFIED = 0;
|
|
79
|
+
*/
|
|
80
|
+
NativeKeySource[NativeKeySource["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
81
|
+
/**
|
|
82
|
+
* @generated from enum value: NATIVE_KEY_SOURCE_SOFTWARE_OWNER = 100;
|
|
83
|
+
*/
|
|
84
|
+
NativeKeySource[NativeKeySource["SOFTWARE_OWNER"] = 100] = "SOFTWARE_OWNER";
|
|
85
|
+
/**
|
|
86
|
+
* @generated from enum value: NATIVE_KEY_SOURCE_OPAQUE_SIGNER = 200;
|
|
87
|
+
*/
|
|
88
|
+
NativeKeySource[NativeKeySource["OPAQUE_SIGNER"] = 200] = "OPAQUE_SIGNER";
|
|
89
|
+
})(NativeKeySource || (NativeKeySource = {}));
|
|
90
|
+
/**
|
|
91
|
+
* Describes the enum reallyme.crypto.v1.NativeKeySource.
|
|
92
|
+
*/
|
|
93
|
+
export const NativeKeySourceSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_native_primitives, 2);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the file reallyme/crypto/v1/native_protocols.proto.
|
|
4
|
+
*/
|
|
5
|
+
export declare const file_reallyme_crypto_v1_native_protocols: GenFile;
|
|
6
|
+
/**
|
|
7
|
+
* Build-relative component availability. Executable implementations occupy
|
|
8
|
+
* 100-199 and registered but unavailable identities occupy 200-299. Zero does
|
|
9
|
+
* not authorize execution; a complete suite still requires native validation.
|
|
10
|
+
*
|
|
11
|
+
* @generated from enum reallyme.crypto.v1.HpkeComponentSupport
|
|
12
|
+
*/
|
|
13
|
+
export declare enum HpkeComponentSupport {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from enum value: HPKE_COMPONENT_SUPPORT_UNSPECIFIED = 0;
|
|
16
|
+
*/
|
|
17
|
+
UNSPECIFIED = 0,
|
|
18
|
+
/**
|
|
19
|
+
* @generated from enum value: HPKE_COMPONENT_SUPPORT_EXECUTABLE = 100;
|
|
20
|
+
*/
|
|
21
|
+
EXECUTABLE = 100,
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum value: HPKE_COMPONENT_SUPPORT_REGISTERED_UNAVAILABLE = 200;
|
|
24
|
+
*/
|
|
25
|
+
REGISTERED_UNAVAILABLE = 200
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Describes the enum reallyme.crypto.v1.HpkeComponentSupport.
|
|
29
|
+
*/
|
|
30
|
+
export declare const HpkeComponentSupportSchema: GenEnum<HpkeComponentSupport>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: 2026 ReallyMe Technologies Limited
|
|
2
|
+
//
|
|
3
|
+
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
4
|
+
import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file reallyme/crypto/v1/native_protocols.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_reallyme_crypto_v1_native_protocols = /*@__PURE__*/ fileDesc("CilyZWFsbHltZS9jcnlwdG8vdjEvbmF0aXZlX3Byb3RvY29scy5wcm90bxIScmVhbGx5bWUuY3J5cHRvLnYxKpkBChRIcGtlQ29tcG9uZW50U3VwcG9ydBImCiJIUEtFX0NPTVBPTkVOVF9TVVBQT1JUX1VOU1BFQ0lGSUVEEAASJQohSFBLRV9DT01QT05FTlRfU1VQUE9SVF9FWEVDVVRBQkxFEGQSMgotSFBLRV9DT01QT05FTlRfU1VQUE9SVF9SRUdJU1RFUkVEX1VOQVZBSUxBQkxFEMgBQicKE21lLnJlYWxseS5jcnlwdG8udjFQAboCDVJlYWxseU1lUHJvdG9iBnByb3RvMw");
|
|
9
|
+
/**
|
|
10
|
+
* Build-relative component availability. Executable implementations occupy
|
|
11
|
+
* 100-199 and registered but unavailable identities occupy 200-299. Zero does
|
|
12
|
+
* not authorize execution; a complete suite still requires native validation.
|
|
13
|
+
*
|
|
14
|
+
* @generated from enum reallyme.crypto.v1.HpkeComponentSupport
|
|
15
|
+
*/
|
|
16
|
+
export var HpkeComponentSupport;
|
|
17
|
+
(function (HpkeComponentSupport) {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from enum value: HPKE_COMPONENT_SUPPORT_UNSPECIFIED = 0;
|
|
20
|
+
*/
|
|
21
|
+
HpkeComponentSupport[HpkeComponentSupport["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum value: HPKE_COMPONENT_SUPPORT_EXECUTABLE = 100;
|
|
24
|
+
*/
|
|
25
|
+
HpkeComponentSupport[HpkeComponentSupport["EXECUTABLE"] = 100] = "EXECUTABLE";
|
|
26
|
+
/**
|
|
27
|
+
* @generated from enum value: HPKE_COMPONENT_SUPPORT_REGISTERED_UNAVAILABLE = 200;
|
|
28
|
+
*/
|
|
29
|
+
HpkeComponentSupport[HpkeComponentSupport["REGISTERED_UNAVAILABLE"] = 200] = "REGISTERED_UNAVAILABLE";
|
|
30
|
+
})(HpkeComponentSupport || (HpkeComponentSupport = {}));
|
|
31
|
+
/**
|
|
32
|
+
* Describes the enum reallyme.crypto.v1.HpkeComponentSupport.
|
|
33
|
+
*/
|
|
34
|
+
export const HpkeComponentSupportSchema = /*@__PURE__*/ enumDesc(file_reallyme_crypto_v1_native_protocols, 0);
|