keri 0.0.0-dev.0ddd65e → 0.0.0-dev.7be936b
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 +201 -0
- package/README.md +3 -0
- package/dist/cli/main.d.ts +1 -1
- package/dist/cli/main.js +159 -56
- package/dist/cli/main.js.map +1 -0
- package/dist/client.d.ts +21 -0
- package/dist/client.js +72 -0
- package/dist/client.js.map +1 -0
- package/dist/controller.d.ts +64 -0
- package/dist/controller.js +472 -0
- package/dist/controller.js.map +1 -0
- package/dist/db/storage-sqlite.d.ts +12 -0
- package/dist/db/storage-sqlite.js +53 -0
- package/dist/db/storage-sqlite.js.map +1 -0
- package/dist/db/storage.d.ts +18 -0
- package/dist/db/storage.js +29 -0
- package/dist/db/storage.js.map +1 -0
- package/dist/events/event-store.d.ts +126 -0
- package/dist/events/event-store.js +242 -0
- package/dist/events/event-store.js.map +1 -0
- package/dist/events/events.d.ts +248 -0
- package/dist/events/events.js +184 -0
- package/dist/events/events.js.map +1 -0
- package/dist/keystore/encrypt.d.ts +10 -2
- package/dist/keystore/encrypt.js +26 -25
- package/dist/keystore/encrypt.js.map +1 -0
- package/dist/keystore/keystore.d.ts +16 -2
- package/dist/keystore/keystore.js +70 -1
- package/dist/keystore/keystore.js.map +1 -0
- package/dist/main.d.ts +6 -2
- package/dist/main.js +7 -2
- package/dist/main.js.map +1 -0
- package/package.json +27 -24
- package/dist/data-type.d.ts +0 -9
- package/dist/data-type.js +0 -1
- package/dist/db/event-store.d.ts +0 -20
- package/dist/db/event-store.js +0 -1
- package/dist/db/sqlite-db.d.ts +0 -13
- package/dist/db/sqlite-db.js +0 -123
- package/dist/events/common.d.ts +0 -6
- package/dist/events/common.js +0 -1
- package/dist/events/incept.d.ts +0 -26
- package/dist/events/incept.js +0 -28
- package/dist/events/interact.d.ts +0 -17
- package/dist/events/interact.js +0 -21
- package/dist/events/main.d.ts +0 -4
- package/dist/events/main.js +0 -4
- package/dist/events/reply.d.ts +0 -15
- package/dist/events/reply.js +0 -20
- package/dist/keri/habitat.d.ts +0 -20
- package/dist/keri/habitat.js +0 -130
- package/dist/keri/keri.d.ts +0 -26
- package/dist/keri/keri.js +0 -43
- package/dist/keystore/keystore-fs.d.ts +0 -13
- package/dist/keystore/keystore-fs.js +0 -50
- package/dist/keystore/keystore-web.d.ts +0 -12
- package/dist/keystore/keystore-web.js +0 -48
- package/dist/main-common.d.ts +0 -9
- package/dist/main-common.js +0 -8
- package/dist/main-web.d.ts +0 -2
- package/dist/main-web.js +0 -2
- package/dist/parser/base64.d.ts +0 -6
- package/dist/parser/base64.js +0 -74
- package/dist/parser/buffered-reader.d.ts +0 -5
- package/dist/parser/buffered-reader.js +0 -47
- package/dist/parser/cesr-encoding.d.ts +0 -34
- package/dist/parser/cesr-encoding.js +0 -158
- package/dist/parser/codes.d.ts +0 -143
- package/dist/parser/codes.js +0 -266
- package/dist/parser/parser.d.ts +0 -16
- package/dist/parser/parser.js +0 -161
- package/dist/parser/version.d.ts +0 -11
- package/dist/parser/version.js +0 -56
package/dist/parser/base64.js
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
const ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
|
|
2
|
-
const B64_URL_MAP = ALPHABET.split("");
|
|
3
|
-
const B64_ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
4
|
-
export function encodeBase64(uint8) {
|
|
5
|
-
// CREDIT: https://github.com/denoland/std/blob/main/encoding/base64.ts
|
|
6
|
-
// CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727
|
|
7
|
-
let result = "";
|
|
8
|
-
let i;
|
|
9
|
-
const l = uint8.length;
|
|
10
|
-
for (i = 2; i < l; i += 3) {
|
|
11
|
-
result += B64_ALPHABET[uint8[i - 2] >> 2];
|
|
12
|
-
result += B64_ALPHABET[((uint8[i - 2] & 0x03) << 4) | (uint8[i - 1] >> 4)];
|
|
13
|
-
result += B64_ALPHABET[((uint8[i - 1] & 0x0f) << 2) | (uint8[i] >> 6)];
|
|
14
|
-
result += B64_ALPHABET[uint8[i] & 0x3f];
|
|
15
|
-
}
|
|
16
|
-
if (i === l + 1) {
|
|
17
|
-
// 1 octet yet to write
|
|
18
|
-
result += B64_ALPHABET[uint8[i - 2] >> 2];
|
|
19
|
-
result += B64_ALPHABET[(uint8[i - 2] & 0x03) << 4];
|
|
20
|
-
result += "==";
|
|
21
|
-
}
|
|
22
|
-
if (i === l) {
|
|
23
|
-
// 2 octets yet to write
|
|
24
|
-
result += B64_ALPHABET[uint8[i - 2] >> 2];
|
|
25
|
-
result += B64_ALPHABET[((uint8[i - 2] & 0x03) << 4) | (uint8[i - 1] >> 4)];
|
|
26
|
-
result += B64_ALPHABET[(uint8[i - 1] & 0x0f) << 2];
|
|
27
|
-
result += "=";
|
|
28
|
-
}
|
|
29
|
-
return result;
|
|
30
|
-
}
|
|
31
|
-
export function decodeBase64(b64) {
|
|
32
|
-
// CREDIT: https://github.com/denoland/std/blob/main/encoding/base64.ts
|
|
33
|
-
const binString = atob(b64);
|
|
34
|
-
const size = binString.length;
|
|
35
|
-
const bytes = new Uint8Array(size);
|
|
36
|
-
for (let i = 0; i < size; i++) {
|
|
37
|
-
bytes[i] = binString.charCodeAt(i);
|
|
38
|
-
}
|
|
39
|
-
return bytes;
|
|
40
|
-
}
|
|
41
|
-
export function decodeBase64Int(value) {
|
|
42
|
-
return value
|
|
43
|
-
.split("")
|
|
44
|
-
.reverse()
|
|
45
|
-
.reduce((result, character, index) => {
|
|
46
|
-
const value = ALPHABET.indexOf(character);
|
|
47
|
-
const factor = 64 ** index;
|
|
48
|
-
return result + value * factor;
|
|
49
|
-
}, 0);
|
|
50
|
-
}
|
|
51
|
-
export function encodeBase64Int(value, length = 1) {
|
|
52
|
-
let current = value;
|
|
53
|
-
let result = "";
|
|
54
|
-
while (length != 0) {
|
|
55
|
-
result = B64_URL_MAP[current % 64] + result;
|
|
56
|
-
current = Math.floor(current / 64);
|
|
57
|
-
if (current == 0) {
|
|
58
|
-
break;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return result.padStart(length, "A");
|
|
62
|
-
}
|
|
63
|
-
export function encodeBase64Url(buffer) {
|
|
64
|
-
return encodeBase64(buffer).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+/, "");
|
|
65
|
-
}
|
|
66
|
-
export function decodeBase64Url(input) {
|
|
67
|
-
if (!(typeof input === "string")) {
|
|
68
|
-
throw new TypeError("`input` must be a string.");
|
|
69
|
-
}
|
|
70
|
-
const n = input.length % 4;
|
|
71
|
-
const padded = input + "=".repeat(n > 0 ? 4 - n : n);
|
|
72
|
-
const base64String = padded.replace(/-/g, "+").replace(/_/g, "/");
|
|
73
|
-
return decodeBase64(base64String);
|
|
74
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
2
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
3
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
4
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
5
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
6
|
-
};
|
|
7
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
8
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
9
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
10
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
|
-
};
|
|
12
|
-
var _BufferedReader_stream, _BufferedReader_buffer;
|
|
13
|
-
function concat(a, b) {
|
|
14
|
-
if (a.length === 0) {
|
|
15
|
-
return b;
|
|
16
|
-
}
|
|
17
|
-
if (b.length === 0) {
|
|
18
|
-
return a;
|
|
19
|
-
}
|
|
20
|
-
const merged = new Uint8Array(a.length + b.length);
|
|
21
|
-
merged.set(a);
|
|
22
|
-
merged.set(b, a.length);
|
|
23
|
-
return merged;
|
|
24
|
-
}
|
|
25
|
-
export class BufferedReader {
|
|
26
|
-
constructor(stream) {
|
|
27
|
-
_BufferedReader_stream.set(this, void 0);
|
|
28
|
-
_BufferedReader_buffer.set(this, void 0);
|
|
29
|
-
__classPrivateFieldSet(this, _BufferedReader_stream, stream, "f");
|
|
30
|
-
}
|
|
31
|
-
async readBytes(size) {
|
|
32
|
-
if (typeof size !== "number") {
|
|
33
|
-
throw new Error(`Size must be a number, got '${size}'`);
|
|
34
|
-
}
|
|
35
|
-
while (!__classPrivateFieldGet(this, _BufferedReader_buffer, "f") || __classPrivateFieldGet(this, _BufferedReader_buffer, "f").length < size) {
|
|
36
|
-
const result = await __classPrivateFieldGet(this, _BufferedReader_stream, "f").next();
|
|
37
|
-
if (result.done) {
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
__classPrivateFieldSet(this, _BufferedReader_buffer, concat(__classPrivateFieldGet(this, _BufferedReader_buffer, "f") ?? new Uint8Array(0), result.value), "f");
|
|
41
|
-
}
|
|
42
|
-
const chunk = __classPrivateFieldGet(this, _BufferedReader_buffer, "f").slice(0, size);
|
|
43
|
-
__classPrivateFieldSet(this, _BufferedReader_buffer, __classPrivateFieldGet(this, _BufferedReader_buffer, "f").slice(size), "f");
|
|
44
|
-
return chunk;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
_BufferedReader_stream = new WeakMap(), _BufferedReader_buffer = new WeakMap();
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents the Raw domain
|
|
3
|
-
*/
|
|
4
|
-
export interface Raw {
|
|
5
|
-
code: string;
|
|
6
|
-
buffer: Uint8Array;
|
|
7
|
-
}
|
|
8
|
-
export declare function decode(text: string): Raw;
|
|
9
|
-
export declare function encodeDate(date: Date): string;
|
|
10
|
-
export declare function encode(code: string, raw: Uint8Array): string;
|
|
11
|
-
/**
|
|
12
|
-
* Converts a cryptographic primitive to indexed material
|
|
13
|
-
*/
|
|
14
|
-
export declare function index(text: string, index: number): string;
|
|
15
|
-
export interface Indexed {
|
|
16
|
-
value: string;
|
|
17
|
-
index: number;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Converts indexed material to primitive and index
|
|
21
|
-
*/
|
|
22
|
-
export declare function deindex(text: string): Indexed;
|
|
23
|
-
export declare function sign(message: Uint8Array, privateKey: Uint8Array, curve: "ed25519"): string;
|
|
24
|
-
export declare function verify(message: Uint8Array, publicKey: string, signature: string): boolean;
|
|
25
|
-
declare const cesr: {
|
|
26
|
-
encode: typeof encode;
|
|
27
|
-
decode: typeof decode;
|
|
28
|
-
sign: typeof sign;
|
|
29
|
-
verify: typeof verify;
|
|
30
|
-
index: typeof index;
|
|
31
|
-
deindex: typeof deindex;
|
|
32
|
-
encodeDate: typeof encodeDate;
|
|
33
|
-
};
|
|
34
|
-
export default cesr;
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import { ed25519 } from "@noble/curves/ed25519";
|
|
2
|
-
import { decodeBase64Int, decodeBase64Url, encodeBase64Int, encodeBase64Url } from "./base64.js";
|
|
3
|
-
import { IndexerCode, IndexerCodeTable, MatterCode, MatterCodeTable } from "./codes.js";
|
|
4
|
-
function padNumber(num, length) {
|
|
5
|
-
return num.toString().padStart(length, "0");
|
|
6
|
-
}
|
|
7
|
-
function findPrimitiveCode(text) {
|
|
8
|
-
let i = 0;
|
|
9
|
-
let code = "";
|
|
10
|
-
let size = null;
|
|
11
|
-
while (!size && i <= 4) {
|
|
12
|
-
code = text.slice(0, i);
|
|
13
|
-
size = MatterCodeTable[text.slice(0, i)];
|
|
14
|
-
++i;
|
|
15
|
-
}
|
|
16
|
-
if (!size) {
|
|
17
|
-
throw new Error(`Unable to find code table for ${text}`);
|
|
18
|
-
}
|
|
19
|
-
return [code, size];
|
|
20
|
-
}
|
|
21
|
-
function findIndexCode(text) {
|
|
22
|
-
let i = 0;
|
|
23
|
-
let code = "";
|
|
24
|
-
let size = null;
|
|
25
|
-
while (!size && i <= 4) {
|
|
26
|
-
code = text.slice(0, i);
|
|
27
|
-
size = IndexerCodeTable[text.slice(0, i)];
|
|
28
|
-
++i;
|
|
29
|
-
}
|
|
30
|
-
if (!size) {
|
|
31
|
-
throw new Error(`Unable to find code table for ${text}`);
|
|
32
|
-
}
|
|
33
|
-
return [code, size];
|
|
34
|
-
}
|
|
35
|
-
export function decode(text) {
|
|
36
|
-
const [code, size] = findPrimitiveCode(text);
|
|
37
|
-
if (!size) {
|
|
38
|
-
throw new Error(`Unable to find code table for ${text}`);
|
|
39
|
-
}
|
|
40
|
-
const padSize = (size.hs + size.ss) % 4;
|
|
41
|
-
const padding = "A".repeat(padSize);
|
|
42
|
-
const paw = decodeBase64Url(padding + text.substring(size.hs + size.ss));
|
|
43
|
-
const buffer = paw.slice(padSize + (size.ls ?? 0));
|
|
44
|
-
return { code, buffer };
|
|
45
|
-
}
|
|
46
|
-
export function encodeDate(date) {
|
|
47
|
-
if (date.toString() === "Invalid Date") {
|
|
48
|
-
throw new Error("Invalid date");
|
|
49
|
-
}
|
|
50
|
-
const YYYY = date.getFullYear();
|
|
51
|
-
const MM = padNumber(date.getUTCMonth() + 1, 2);
|
|
52
|
-
const dd = padNumber(date.getUTCDate(), 2);
|
|
53
|
-
const hh = padNumber(date.getUTCHours(), 2);
|
|
54
|
-
const mm = padNumber(date.getUTCMinutes(), 2);
|
|
55
|
-
const ss = padNumber(date.getUTCSeconds(), 2);
|
|
56
|
-
const ms = padNumber(date.getMilliseconds(), 3);
|
|
57
|
-
const format = `${YYYY}-${MM}-${dd}T${hh}c${mm}c${ss}d${ms}000p00c00`;
|
|
58
|
-
return `${MatterCode.DateTime}${format}`;
|
|
59
|
-
}
|
|
60
|
-
export function encode(code, raw) {
|
|
61
|
-
const both = code;
|
|
62
|
-
const rs = raw.byteLength;
|
|
63
|
-
const size = MatterCodeTable[code];
|
|
64
|
-
if (!size) {
|
|
65
|
-
throw new Error(`Unable to find code table for ${code}`);
|
|
66
|
-
}
|
|
67
|
-
const { hs, ss, xs, fs } = size;
|
|
68
|
-
const ls = size.ls ?? 0;
|
|
69
|
-
const cs = hs + ss;
|
|
70
|
-
let full;
|
|
71
|
-
if (!fs) {
|
|
72
|
-
if ((ls + rs) % 3 !== 0 || cs % 4 !== 0) {
|
|
73
|
-
throw new Error(`Invalid full code=${both} with variable raw size=${rs} given cs=${cs}, hs=${hs}, ss=${ss}, fs=${fs}, and ls=${ls}.`);
|
|
74
|
-
}
|
|
75
|
-
const paddedRaw = new Uint8Array(ls + rs);
|
|
76
|
-
paddedRaw.set(raw, ls);
|
|
77
|
-
full = both + encodeBase64Url(paddedRaw);
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
const ps = (3 - ((rs + ls) % 3)) % 3;
|
|
81
|
-
if (ps !== cs % 4) {
|
|
82
|
-
throw new Error(`Invalid full code=${both} with fixed raw size=${rs} given cs=${cs}, hs=${hs}, ss=${ss}, fs=${fs}, and ls=${ls}.`);
|
|
83
|
-
}
|
|
84
|
-
const paddedRaw = new Uint8Array(ps + ls + rs);
|
|
85
|
-
paddedRaw.set(raw, ps + ls);
|
|
86
|
-
full = both + encodeBase64Url(paddedRaw).slice(ps);
|
|
87
|
-
}
|
|
88
|
-
if (full.length % 4 !== 0 || (fs && full.length !== fs)) {
|
|
89
|
-
throw new Error(`Invalid full size given code=${both} with raw size=${rs}, cs=${cs}, hs=${hs}, ss=${ss}, xs=${xs}, fs=${fs}, and ls=${ls}.`);
|
|
90
|
-
}
|
|
91
|
-
return full;
|
|
92
|
-
}
|
|
93
|
-
function resolveIndexCode(primitiveCode) {
|
|
94
|
-
switch (primitiveCode) {
|
|
95
|
-
case MatterCode.Ed25519_Sig:
|
|
96
|
-
return [IndexerCode.Ed25519_Sig, IndexerCodeTable[IndexerCode.Ed25519_Sig]];
|
|
97
|
-
case MatterCode.Ed448_Sig:
|
|
98
|
-
return [IndexerCode.Ed448_Sig, IndexerCodeTable[IndexerCode.Ed448_Sig]];
|
|
99
|
-
}
|
|
100
|
-
throw new Error(`Unable to find indexed code for '${primitiveCode}'`);
|
|
101
|
-
}
|
|
102
|
-
function resolvePrimitiveCode(indexCode) {
|
|
103
|
-
switch (indexCode) {
|
|
104
|
-
case IndexerCode.Ed25519_Sig:
|
|
105
|
-
return [MatterCode.Ed25519_Sig, MatterCodeTable[IndexerCode.Ed25519_Sig]];
|
|
106
|
-
case IndexerCode.Ed448_Sig:
|
|
107
|
-
return [MatterCode.Ed448_Sig, MatterCodeTable[IndexerCode.Ed448_Sig]];
|
|
108
|
-
}
|
|
109
|
-
throw new Error(`Unable to find primitive code for '${indexCode}'`);
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Converts a cryptographic primitive to indexed material
|
|
113
|
-
*/
|
|
114
|
-
export function index(text, index) {
|
|
115
|
-
const [code, size] = findPrimitiveCode(text);
|
|
116
|
-
const [indexCode, indexCodeSize] = resolveIndexCode(code);
|
|
117
|
-
return indexCode + encodeBase64Int(index, indexCodeSize.ss) + text.slice(size.hs + size.ss);
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Converts indexed material to primitive and index
|
|
121
|
-
*/
|
|
122
|
-
export function deindex(text) {
|
|
123
|
-
const [indexCode, indexCodeSize] = findIndexCode(text);
|
|
124
|
-
const [primitiveCode] = resolvePrimitiveCode(indexCode);
|
|
125
|
-
const index = decodeBase64Int(text.slice(indexCodeSize.hs, indexCodeSize.ss));
|
|
126
|
-
const value = primitiveCode + text.slice(indexCodeSize.hs + indexCodeSize.ss);
|
|
127
|
-
return {
|
|
128
|
-
index,
|
|
129
|
-
value,
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
export function sign(message, privateKey, curve) {
|
|
133
|
-
switch (curve) {
|
|
134
|
-
case "ed25519":
|
|
135
|
-
return cesr.encode(MatterCode.Ed25519_Sig, ed25519.sign(message, privateKey));
|
|
136
|
-
default:
|
|
137
|
-
throw new Error(`Unsupported curve ${curve}`);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
export function verify(message, publicKey, signature) {
|
|
141
|
-
const decodedPublicKey = cesr.decode(publicKey);
|
|
142
|
-
const decodedSignature = cesr.decode(signature);
|
|
143
|
-
switch (decodedSignature.code) {
|
|
144
|
-
case MatterCode.Ed25519_Sig:
|
|
145
|
-
return ed25519.verify(decodedSignature.buffer, message, decodedPublicKey.buffer);
|
|
146
|
-
}
|
|
147
|
-
throw new Error(`Unsupported signature code ${decodedSignature.code}`);
|
|
148
|
-
}
|
|
149
|
-
const cesr = {
|
|
150
|
-
encode,
|
|
151
|
-
decode,
|
|
152
|
-
sign,
|
|
153
|
-
verify,
|
|
154
|
-
index,
|
|
155
|
-
deindex,
|
|
156
|
-
encodeDate,
|
|
157
|
-
};
|
|
158
|
-
export default cesr;
|
package/dist/parser/codes.d.ts
DELETED
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
export interface CodeSize {
|
|
2
|
-
hs: number;
|
|
3
|
-
ss: number;
|
|
4
|
-
xs: number | null;
|
|
5
|
-
fs: number | null;
|
|
6
|
-
ls: number | null;
|
|
7
|
-
}
|
|
8
|
-
export declare const MatterCode: {
|
|
9
|
-
Big: string;
|
|
10
|
-
Blake2b_256: string;
|
|
11
|
-
Blake2b_512: string;
|
|
12
|
-
Blake2s_256: string;
|
|
13
|
-
Blake3_256: string;
|
|
14
|
-
Blake3_512: string;
|
|
15
|
-
Blind: string;
|
|
16
|
-
Bytes_Big_L0: string;
|
|
17
|
-
Bytes_Big_L1: string;
|
|
18
|
-
Bytes_Big_L2: string;
|
|
19
|
-
Bytes_L0: string;
|
|
20
|
-
Bytes_L1: string;
|
|
21
|
-
Bytes_L2: string;
|
|
22
|
-
DateTime: string;
|
|
23
|
-
ECDSA_256k1: string;
|
|
24
|
-
ECDSA_256k1N: string;
|
|
25
|
-
ECDSA_256k1_Seed: string;
|
|
26
|
-
ECDSA_256k1_Sig: string;
|
|
27
|
-
ECDSA_256r1: string;
|
|
28
|
-
ECDSA_256r1N: string;
|
|
29
|
-
ECDSA_256r1_Seed: string;
|
|
30
|
-
ECDSA_256r1_Sig: string;
|
|
31
|
-
Ed25519: string;
|
|
32
|
-
Ed25519N: string;
|
|
33
|
-
Ed25519_Seed: string;
|
|
34
|
-
Ed25519_Sig: string;
|
|
35
|
-
Ed448: string;
|
|
36
|
-
Ed448N: string;
|
|
37
|
-
Ed448_Seed: string;
|
|
38
|
-
Ed448_Sig: string;
|
|
39
|
-
Great: string;
|
|
40
|
-
Label1: string;
|
|
41
|
-
Label2: string;
|
|
42
|
-
Large: string;
|
|
43
|
-
Long: string;
|
|
44
|
-
No: string;
|
|
45
|
-
Null: string;
|
|
46
|
-
SHA2_256: string;
|
|
47
|
-
SHA2_512: string;
|
|
48
|
-
SHA3_256: string;
|
|
49
|
-
SHA3_512: string;
|
|
50
|
-
Salt_128: string;
|
|
51
|
-
Short: string;
|
|
52
|
-
StrB64_Big_L0: string;
|
|
53
|
-
StrB64_Big_L1: string;
|
|
54
|
-
StrB64_Big_L2: string;
|
|
55
|
-
StrB64_L0: string;
|
|
56
|
-
StrB64_L1: string;
|
|
57
|
-
StrB64_L2: string;
|
|
58
|
-
TBD0: string;
|
|
59
|
-
TBD0S: string;
|
|
60
|
-
TBD1: string;
|
|
61
|
-
TBD1S: string;
|
|
62
|
-
TBD2: string;
|
|
63
|
-
TBD2S: string;
|
|
64
|
-
Tag1: string;
|
|
65
|
-
Tag10: string;
|
|
66
|
-
Tag2: string;
|
|
67
|
-
Tag3: string;
|
|
68
|
-
Tag4: string;
|
|
69
|
-
Tag5: string;
|
|
70
|
-
Tag6: string;
|
|
71
|
-
Tag7: string;
|
|
72
|
-
Tag8: string;
|
|
73
|
-
Tag9: string;
|
|
74
|
-
Tall: string;
|
|
75
|
-
Vast: string;
|
|
76
|
-
X25519: string;
|
|
77
|
-
X25519_Cipher_Big_L0: string;
|
|
78
|
-
X25519_Cipher_Big_L1: string;
|
|
79
|
-
X25519_Cipher_Big_L2: string;
|
|
80
|
-
X25519_Cipher_L0: string;
|
|
81
|
-
X25519_Cipher_L1: string;
|
|
82
|
-
X25519_Cipher_L2: string;
|
|
83
|
-
X25519_Cipher_QB2_Big_L0: string;
|
|
84
|
-
X25519_Cipher_QB2_Big_L1: string;
|
|
85
|
-
X25519_Cipher_QB2_Big_L2: string;
|
|
86
|
-
X25519_Cipher_QB2_L0: string;
|
|
87
|
-
X25519_Cipher_QB2_L1: string;
|
|
88
|
-
X25519_Cipher_QB2_L2: string;
|
|
89
|
-
X25519_Cipher_QB64_Big_L0: string;
|
|
90
|
-
X25519_Cipher_QB64_Big_L1: string;
|
|
91
|
-
X25519_Cipher_QB64_Big_L2: string;
|
|
92
|
-
X25519_Cipher_QB64_L0: string;
|
|
93
|
-
X25519_Cipher_QB64_L1: string;
|
|
94
|
-
X25519_Cipher_QB64_L2: string;
|
|
95
|
-
X25519_Cipher_Salt: string;
|
|
96
|
-
X25519_Cipher_Seed: string;
|
|
97
|
-
X25519_Private: string;
|
|
98
|
-
X448: string;
|
|
99
|
-
Yes: string;
|
|
100
|
-
};
|
|
101
|
-
export declare const MatterCodeTable: Record<string, CodeSize>;
|
|
102
|
-
export declare const IndexerCode: {
|
|
103
|
-
ECDSA_256k1_Big_Crt_Sig: string;
|
|
104
|
-
ECDSA_256k1_Big_Sig: string;
|
|
105
|
-
ECDSA_256k1_Crt_Sig: string;
|
|
106
|
-
ECDSA_256k1_Sig: string;
|
|
107
|
-
ECDSA_256r1_Big_Crt_Sig: string;
|
|
108
|
-
ECDSA_256r1_Big_Sig: string;
|
|
109
|
-
ECDSA_256r1_Crt_Sig: string;
|
|
110
|
-
ECDSA_256r1_Sig: string;
|
|
111
|
-
Ed25519_Big_Crt_Sig: string;
|
|
112
|
-
Ed25519_Big_Sig: string;
|
|
113
|
-
Ed25519_Crt_Sig: string;
|
|
114
|
-
Ed25519_Sig: string;
|
|
115
|
-
Ed448_Big_Crt_Sig: string;
|
|
116
|
-
Ed448_Big_Sig: string;
|
|
117
|
-
Ed448_Crt_Sig: string;
|
|
118
|
-
Ed448_Sig: string;
|
|
119
|
-
TBD0: string;
|
|
120
|
-
TBD1: string;
|
|
121
|
-
TBD4: string;
|
|
122
|
-
};
|
|
123
|
-
export declare const IndexerCodeTable: Record<string, CodeSize>;
|
|
124
|
-
export declare const CounterCode: {
|
|
125
|
-
AttachmentGroup: string;
|
|
126
|
-
BigAttachmentGroup: string;
|
|
127
|
-
BigPathedMaterialGroup: string;
|
|
128
|
-
ControllerIdxSigs: string;
|
|
129
|
-
ESSRPayloadGroup: string;
|
|
130
|
-
FirstSeenReplayCouples: string;
|
|
131
|
-
KERIACDCGenusVersion: string;
|
|
132
|
-
NonTransReceiptCouples: string;
|
|
133
|
-
PathedMaterialGroup: string;
|
|
134
|
-
RootSadPathSigGroups: string;
|
|
135
|
-
SadPathSigGroups: string;
|
|
136
|
-
SealSourceCouples: string;
|
|
137
|
-
SealSourceTriples: string;
|
|
138
|
-
TransIdxSigGroups: string;
|
|
139
|
-
TransLastIdxSigGroups: string;
|
|
140
|
-
TransReceiptQuadruples: string;
|
|
141
|
-
WitnessIdxSigs: string;
|
|
142
|
-
};
|
|
143
|
-
export declare const CounterCodeTable: Record<string, CodeSize>;
|