@wireapp/core-crypto 11.0.0-pre.2 → 11.0.0-pre.4
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/dist/corecrypto.d.ts
CHANGED
|
@@ -1397,6 +1397,1268 @@ export declare const ProteusError: Readonly<{
|
|
|
1397
1397
|
* Errors produced by the Proteus layer.
|
|
1398
1398
|
*/
|
|
1399
1399
|
export type ProteusError = InstanceType<typeof ProteusError["SessionNotFound" | "DuplicateMessage" | "RemoteIdentityChanged" | "Other"]>;
|
|
1400
|
+
/**
|
|
1401
|
+
* MLS cipher suites
|
|
1402
|
+
*/
|
|
1403
|
+
export declare enum CipherSuite {
|
|
1404
|
+
/**
|
|
1405
|
+
* DH KEM x25519 | AES-GCM 128 | SHA2-256 | Ed25519
|
|
1406
|
+
*/
|
|
1407
|
+
Mls128Dhkemx25519Aes128gcmSha256Ed25519 = 1,
|
|
1408
|
+
/**
|
|
1409
|
+
* DH KEM P256 | AES-GCM 128 | SHA2-256 | EcDSA P256
|
|
1410
|
+
*/
|
|
1411
|
+
Mls128Dhkemp256Aes128gcmSha256P256 = 2,
|
|
1412
|
+
/**
|
|
1413
|
+
* DH KEM x25519 | Chacha20Poly1305 | SHA2-256 | Ed25519
|
|
1414
|
+
*/
|
|
1415
|
+
Mls128Dhkemx25519Chacha20poly1305Sha256Ed25519 = 3,
|
|
1416
|
+
/**
|
|
1417
|
+
* DH KEM x448 | AES-GCM 256 | SHA2-512 | Ed448
|
|
1418
|
+
*/
|
|
1419
|
+
Mls256Dhkemx448Aes256gcmSha512Ed448 = 4,
|
|
1420
|
+
/**
|
|
1421
|
+
* DH KEM P521 | AES-GCM 256 | SHA2-512 | EcDSA P521
|
|
1422
|
+
*/
|
|
1423
|
+
Mls256Dhkemp521Aes256gcmSha512P521 = 5,
|
|
1424
|
+
/**
|
|
1425
|
+
* DH KEM x448 | Chacha20Poly1305 | SHA2-512 | Ed448
|
|
1426
|
+
*/
|
|
1427
|
+
Mls256Dhkemx448Chacha20poly1305Sha512Ed448 = 6,
|
|
1428
|
+
/**
|
|
1429
|
+
* DH KEM P384 | AES-GCM 256 | SHA2-384 | EcDSA P384
|
|
1430
|
+
*/
|
|
1431
|
+
Mls256Dhkemp384Aes256gcmSha384P384 = 7,
|
|
1432
|
+
/**
|
|
1433
|
+
* ML-KEM-768+X25519 hybrid KEM | AES-GCM 128 | SHA2-256 | Ed25519
|
|
1434
|
+
*/
|
|
1435
|
+
Mls128Mlkem768x25519Aes128gcmSha256Ed25519 = 61441,
|
|
1436
|
+
/**
|
|
1437
|
+
* ML-KEM-768+X25519 hybrid KEM | AES-GCM 256 | SHA2-384 | Ed25519
|
|
1438
|
+
*/
|
|
1439
|
+
Mls128Mlkem768x25519Aes256gcmSha384Ed25519 = 61442,
|
|
1440
|
+
/**
|
|
1441
|
+
* ML-KEM-768+P-256 hybrid KEM | AES-GCM 128 | SHA2-256 | ECDSA P-256
|
|
1442
|
+
*/
|
|
1443
|
+
Mls128Mlkem768p256Aes128gcmSha256P256 = 61443,
|
|
1444
|
+
/**
|
|
1445
|
+
* ML-KEM-768+P-256 hybrid KEM | AES-GCM 256 | SHA2-384 | ECDSA P-256
|
|
1446
|
+
*/
|
|
1447
|
+
Mls128Mlkem768p256Aes256gcmSha384P256 = 61444,
|
|
1448
|
+
/**
|
|
1449
|
+
* ML-KEM-1024+P-384 hybrid KEM | AES-GCM 256 | SHA2-384 | ECDSA P-384
|
|
1450
|
+
*/
|
|
1451
|
+
Mls192Mlkem1024p384Aes256gcmSha384P384 = 61445,
|
|
1452
|
+
/**
|
|
1453
|
+
* ML-KEM-768 (pure) | AES-GCM 256 | SHA2-384 | Ed25519
|
|
1454
|
+
*/
|
|
1455
|
+
Mls128Mlkem768Aes256gcmSha384Ed25519 = 61446,
|
|
1456
|
+
/**
|
|
1457
|
+
* ML-KEM-768 (pure) | AES-GCM 256 | SHA2-384 | ECDSA P-256
|
|
1458
|
+
*/
|
|
1459
|
+
Mls128Mlkem768Aes256gcmSha384P256 = 61447,
|
|
1460
|
+
/**
|
|
1461
|
+
* ML-KEM-1024 (pure) | AES-GCM 256 | SHA2-384 | ECDSA P-384
|
|
1462
|
+
*/
|
|
1463
|
+
Mls192Mlkem1024Aes256gcmSha384P384 = 61448,
|
|
1464
|
+
/**
|
|
1465
|
+
* ML-KEM-768+X25519 hybrid KEM | ChaCha20Poly1305 | SHA2-384 | ML-DSA-44
|
|
1466
|
+
*/
|
|
1467
|
+
Mls128Mlkem768x25519Chacha20poly1305Sha384Mldsa44 = 61449,
|
|
1468
|
+
/**
|
|
1469
|
+
* ML-KEM-768 (pure) | AES-GCM 256 | SHA2-384 | ML-DSA-65
|
|
1470
|
+
*/
|
|
1471
|
+
Mls192Mlkem768Aes256gcmSha384Mldsa65 = 61450,
|
|
1472
|
+
/**
|
|
1473
|
+
* ML-KEM-1024 (pure) | AES-GCM 256 | SHA2-384 | ML-DSA-87
|
|
1474
|
+
*/
|
|
1475
|
+
Mls256Mlkem1024Aes256gcmSha384Mldsa87 = 61451
|
|
1476
|
+
}
|
|
1477
|
+
export declare enum E2eiError_Tags {
|
|
1478
|
+
UnsupportedCipherSuite = "UnsupportedCipherSuite",
|
|
1479
|
+
HookFailed = "HookFailed",
|
|
1480
|
+
MissingHeader = "MissingHeader",
|
|
1481
|
+
NoTrustAnchor = "NoTrustAnchor",
|
|
1482
|
+
TrustAnchorAlreadyExists = "TrustAnchorAlreadyExists",
|
|
1483
|
+
CrlFetchUnsuccessful = "CrlFetchUnsuccessful",
|
|
1484
|
+
AcmeAccount = "AcmeAccount",
|
|
1485
|
+
AcmeOrder = "AcmeOrder",
|
|
1486
|
+
AcmeChallenge = "AcmeChallenge",
|
|
1487
|
+
InvalidIdentifier = "InvalidIdentifier",
|
|
1488
|
+
InvalidCertificate = "InvalidCertificate",
|
|
1489
|
+
Other = "Other"
|
|
1490
|
+
}
|
|
1491
|
+
/**
|
|
1492
|
+
* Errors produced by the end-to-end identity layer.
|
|
1493
|
+
*/
|
|
1494
|
+
export declare const E2eiError: Readonly<{
|
|
1495
|
+
instanceOf: (obj: any) => obj is {
|
|
1496
|
+
readonly tag: E2eiError_Tags.UnsupportedCipherSuite;
|
|
1497
|
+
readonly inner: Readonly<{
|
|
1498
|
+
cipherSuite: CipherSuite;
|
|
1499
|
+
}>;
|
|
1500
|
+
/**
|
|
1501
|
+
* @private
|
|
1502
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1503
|
+
*/
|
|
1504
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1505
|
+
name: string;
|
|
1506
|
+
message: string;
|
|
1507
|
+
stack?: string;
|
|
1508
|
+
cause?: unknown;
|
|
1509
|
+
} | {
|
|
1510
|
+
readonly tag: E2eiError_Tags.HookFailed;
|
|
1511
|
+
readonly inner: Readonly<{
|
|
1512
|
+
reason: string;
|
|
1513
|
+
}>;
|
|
1514
|
+
/**
|
|
1515
|
+
* @private
|
|
1516
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1517
|
+
*/
|
|
1518
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1519
|
+
name: string;
|
|
1520
|
+
message: string;
|
|
1521
|
+
stack?: string;
|
|
1522
|
+
cause?: unknown;
|
|
1523
|
+
} | {
|
|
1524
|
+
readonly tag: E2eiError_Tags.MissingHeader;
|
|
1525
|
+
readonly inner: Readonly<{
|
|
1526
|
+
header: string;
|
|
1527
|
+
}>;
|
|
1528
|
+
/**
|
|
1529
|
+
* @private
|
|
1530
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1531
|
+
*/
|
|
1532
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1533
|
+
name: string;
|
|
1534
|
+
message: string;
|
|
1535
|
+
stack?: string;
|
|
1536
|
+
cause?: unknown;
|
|
1537
|
+
} | {
|
|
1538
|
+
readonly tag: E2eiError_Tags.NoTrustAnchor;
|
|
1539
|
+
/**
|
|
1540
|
+
* @private
|
|
1541
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1542
|
+
*/
|
|
1543
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1544
|
+
name: string;
|
|
1545
|
+
message: string;
|
|
1546
|
+
stack?: string;
|
|
1547
|
+
cause?: unknown;
|
|
1548
|
+
} | {
|
|
1549
|
+
readonly tag: E2eiError_Tags.TrustAnchorAlreadyExists;
|
|
1550
|
+
/**
|
|
1551
|
+
* @private
|
|
1552
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1553
|
+
*/
|
|
1554
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1555
|
+
name: string;
|
|
1556
|
+
message: string;
|
|
1557
|
+
stack?: string;
|
|
1558
|
+
cause?: unknown;
|
|
1559
|
+
} | {
|
|
1560
|
+
readonly tag: E2eiError_Tags.CrlFetchUnsuccessful;
|
|
1561
|
+
readonly inner: Readonly<{
|
|
1562
|
+
uri: string;
|
|
1563
|
+
status: number;
|
|
1564
|
+
}>;
|
|
1565
|
+
/**
|
|
1566
|
+
* @private
|
|
1567
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1568
|
+
*/
|
|
1569
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1570
|
+
name: string;
|
|
1571
|
+
message: string;
|
|
1572
|
+
stack?: string;
|
|
1573
|
+
cause?: unknown;
|
|
1574
|
+
} | {
|
|
1575
|
+
readonly tag: E2eiError_Tags.AcmeAccount;
|
|
1576
|
+
readonly inner: Readonly<{
|
|
1577
|
+
msg: string;
|
|
1578
|
+
}>;
|
|
1579
|
+
/**
|
|
1580
|
+
* @private
|
|
1581
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1582
|
+
*/
|
|
1583
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1584
|
+
name: string;
|
|
1585
|
+
message: string;
|
|
1586
|
+
stack?: string;
|
|
1587
|
+
cause?: unknown;
|
|
1588
|
+
} | {
|
|
1589
|
+
readonly tag: E2eiError_Tags.AcmeOrder;
|
|
1590
|
+
readonly inner: Readonly<{
|
|
1591
|
+
msg: string;
|
|
1592
|
+
}>;
|
|
1593
|
+
/**
|
|
1594
|
+
* @private
|
|
1595
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1596
|
+
*/
|
|
1597
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1598
|
+
name: string;
|
|
1599
|
+
message: string;
|
|
1600
|
+
stack?: string;
|
|
1601
|
+
cause?: unknown;
|
|
1602
|
+
} | {
|
|
1603
|
+
readonly tag: E2eiError_Tags.AcmeChallenge;
|
|
1604
|
+
readonly inner: Readonly<{
|
|
1605
|
+
msg: string;
|
|
1606
|
+
}>;
|
|
1607
|
+
/**
|
|
1608
|
+
* @private
|
|
1609
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1610
|
+
*/
|
|
1611
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1612
|
+
name: string;
|
|
1613
|
+
message: string;
|
|
1614
|
+
stack?: string;
|
|
1615
|
+
cause?: unknown;
|
|
1616
|
+
} | {
|
|
1617
|
+
readonly tag: E2eiError_Tags.InvalidIdentifier;
|
|
1618
|
+
readonly inner: Readonly<{
|
|
1619
|
+
msg: string;
|
|
1620
|
+
}>;
|
|
1621
|
+
/**
|
|
1622
|
+
* @private
|
|
1623
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1624
|
+
*/
|
|
1625
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1626
|
+
name: string;
|
|
1627
|
+
message: string;
|
|
1628
|
+
stack?: string;
|
|
1629
|
+
cause?: unknown;
|
|
1630
|
+
} | {
|
|
1631
|
+
readonly tag: E2eiError_Tags.InvalidCertificate;
|
|
1632
|
+
readonly inner: Readonly<{
|
|
1633
|
+
msg: string;
|
|
1634
|
+
}>;
|
|
1635
|
+
/**
|
|
1636
|
+
* @private
|
|
1637
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1638
|
+
*/
|
|
1639
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1640
|
+
name: string;
|
|
1641
|
+
message: string;
|
|
1642
|
+
stack?: string;
|
|
1643
|
+
cause?: unknown;
|
|
1644
|
+
} | {
|
|
1645
|
+
readonly tag: E2eiError_Tags.Other;
|
|
1646
|
+
readonly inner: Readonly<{
|
|
1647
|
+
msg: string;
|
|
1648
|
+
}>;
|
|
1649
|
+
/**
|
|
1650
|
+
* @private
|
|
1651
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1652
|
+
*/
|
|
1653
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1654
|
+
name: string;
|
|
1655
|
+
message: string;
|
|
1656
|
+
stack?: string;
|
|
1657
|
+
cause?: unknown;
|
|
1658
|
+
};
|
|
1659
|
+
UnsupportedCipherSuite: {
|
|
1660
|
+
new (inner: {
|
|
1661
|
+
cipherSuite: CipherSuite;
|
|
1662
|
+
}): {
|
|
1663
|
+
readonly tag: E2eiError_Tags.UnsupportedCipherSuite;
|
|
1664
|
+
readonly inner: Readonly<{
|
|
1665
|
+
cipherSuite: CipherSuite;
|
|
1666
|
+
}>;
|
|
1667
|
+
/**
|
|
1668
|
+
* @private
|
|
1669
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1670
|
+
*/
|
|
1671
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1672
|
+
name: string;
|
|
1673
|
+
message: string;
|
|
1674
|
+
stack?: string;
|
|
1675
|
+
cause?: unknown;
|
|
1676
|
+
};
|
|
1677
|
+
"new"(inner: {
|
|
1678
|
+
cipherSuite: CipherSuite;
|
|
1679
|
+
}): {
|
|
1680
|
+
readonly tag: E2eiError_Tags.UnsupportedCipherSuite;
|
|
1681
|
+
readonly inner: Readonly<{
|
|
1682
|
+
cipherSuite: CipherSuite;
|
|
1683
|
+
}>;
|
|
1684
|
+
/**
|
|
1685
|
+
* @private
|
|
1686
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1687
|
+
*/
|
|
1688
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1689
|
+
name: string;
|
|
1690
|
+
message: string;
|
|
1691
|
+
stack?: string;
|
|
1692
|
+
cause?: unknown;
|
|
1693
|
+
};
|
|
1694
|
+
instanceOf(obj: any): obj is {
|
|
1695
|
+
readonly tag: E2eiError_Tags.UnsupportedCipherSuite;
|
|
1696
|
+
readonly inner: Readonly<{
|
|
1697
|
+
cipherSuite: CipherSuite;
|
|
1698
|
+
}>;
|
|
1699
|
+
/**
|
|
1700
|
+
* @private
|
|
1701
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1702
|
+
*/
|
|
1703
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1704
|
+
name: string;
|
|
1705
|
+
message: string;
|
|
1706
|
+
stack?: string;
|
|
1707
|
+
cause?: unknown;
|
|
1708
|
+
};
|
|
1709
|
+
hasInner(obj: any): obj is {
|
|
1710
|
+
readonly tag: E2eiError_Tags.UnsupportedCipherSuite;
|
|
1711
|
+
readonly inner: Readonly<{
|
|
1712
|
+
cipherSuite: CipherSuite;
|
|
1713
|
+
}>;
|
|
1714
|
+
/**
|
|
1715
|
+
* @private
|
|
1716
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1717
|
+
*/
|
|
1718
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1719
|
+
name: string;
|
|
1720
|
+
message: string;
|
|
1721
|
+
stack?: string;
|
|
1722
|
+
cause?: unknown;
|
|
1723
|
+
};
|
|
1724
|
+
getInner(obj: {
|
|
1725
|
+
readonly tag: E2eiError_Tags.UnsupportedCipherSuite;
|
|
1726
|
+
readonly inner: Readonly<{
|
|
1727
|
+
cipherSuite: CipherSuite;
|
|
1728
|
+
}>;
|
|
1729
|
+
/**
|
|
1730
|
+
* @private
|
|
1731
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1732
|
+
*/
|
|
1733
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1734
|
+
name: string;
|
|
1735
|
+
message: string;
|
|
1736
|
+
stack?: string;
|
|
1737
|
+
cause?: unknown;
|
|
1738
|
+
}): Readonly<{
|
|
1739
|
+
cipherSuite: CipherSuite;
|
|
1740
|
+
}>;
|
|
1741
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
1742
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
1743
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
1744
|
+
stackTraceLimit: number;
|
|
1745
|
+
isError(value: unknown): value is Error;
|
|
1746
|
+
};
|
|
1747
|
+
HookFailed: {
|
|
1748
|
+
new (inner: {
|
|
1749
|
+
reason: string;
|
|
1750
|
+
}): {
|
|
1751
|
+
readonly tag: E2eiError_Tags.HookFailed;
|
|
1752
|
+
readonly inner: Readonly<{
|
|
1753
|
+
reason: string;
|
|
1754
|
+
}>;
|
|
1755
|
+
/**
|
|
1756
|
+
* @private
|
|
1757
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1758
|
+
*/
|
|
1759
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1760
|
+
name: string;
|
|
1761
|
+
message: string;
|
|
1762
|
+
stack?: string;
|
|
1763
|
+
cause?: unknown;
|
|
1764
|
+
};
|
|
1765
|
+
"new"(inner: {
|
|
1766
|
+
reason: string;
|
|
1767
|
+
}): {
|
|
1768
|
+
readonly tag: E2eiError_Tags.HookFailed;
|
|
1769
|
+
readonly inner: Readonly<{
|
|
1770
|
+
reason: string;
|
|
1771
|
+
}>;
|
|
1772
|
+
/**
|
|
1773
|
+
* @private
|
|
1774
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1775
|
+
*/
|
|
1776
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1777
|
+
name: string;
|
|
1778
|
+
message: string;
|
|
1779
|
+
stack?: string;
|
|
1780
|
+
cause?: unknown;
|
|
1781
|
+
};
|
|
1782
|
+
instanceOf(obj: any): obj is {
|
|
1783
|
+
readonly tag: E2eiError_Tags.HookFailed;
|
|
1784
|
+
readonly inner: Readonly<{
|
|
1785
|
+
reason: string;
|
|
1786
|
+
}>;
|
|
1787
|
+
/**
|
|
1788
|
+
* @private
|
|
1789
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1790
|
+
*/
|
|
1791
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1792
|
+
name: string;
|
|
1793
|
+
message: string;
|
|
1794
|
+
stack?: string;
|
|
1795
|
+
cause?: unknown;
|
|
1796
|
+
};
|
|
1797
|
+
hasInner(obj: any): obj is {
|
|
1798
|
+
readonly tag: E2eiError_Tags.HookFailed;
|
|
1799
|
+
readonly inner: Readonly<{
|
|
1800
|
+
reason: string;
|
|
1801
|
+
}>;
|
|
1802
|
+
/**
|
|
1803
|
+
* @private
|
|
1804
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1805
|
+
*/
|
|
1806
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1807
|
+
name: string;
|
|
1808
|
+
message: string;
|
|
1809
|
+
stack?: string;
|
|
1810
|
+
cause?: unknown;
|
|
1811
|
+
};
|
|
1812
|
+
getInner(obj: {
|
|
1813
|
+
readonly tag: E2eiError_Tags.HookFailed;
|
|
1814
|
+
readonly inner: Readonly<{
|
|
1815
|
+
reason: string;
|
|
1816
|
+
}>;
|
|
1817
|
+
/**
|
|
1818
|
+
* @private
|
|
1819
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1820
|
+
*/
|
|
1821
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1822
|
+
name: string;
|
|
1823
|
+
message: string;
|
|
1824
|
+
stack?: string;
|
|
1825
|
+
cause?: unknown;
|
|
1826
|
+
}): Readonly<{
|
|
1827
|
+
reason: string;
|
|
1828
|
+
}>;
|
|
1829
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
1830
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
1831
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
1832
|
+
stackTraceLimit: number;
|
|
1833
|
+
isError(value: unknown): value is Error;
|
|
1834
|
+
};
|
|
1835
|
+
MissingHeader: {
|
|
1836
|
+
new (inner: {
|
|
1837
|
+
header: string;
|
|
1838
|
+
}): {
|
|
1839
|
+
readonly tag: E2eiError_Tags.MissingHeader;
|
|
1840
|
+
readonly inner: Readonly<{
|
|
1841
|
+
header: string;
|
|
1842
|
+
}>;
|
|
1843
|
+
/**
|
|
1844
|
+
* @private
|
|
1845
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1846
|
+
*/
|
|
1847
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1848
|
+
name: string;
|
|
1849
|
+
message: string;
|
|
1850
|
+
stack?: string;
|
|
1851
|
+
cause?: unknown;
|
|
1852
|
+
};
|
|
1853
|
+
"new"(inner: {
|
|
1854
|
+
header: string;
|
|
1855
|
+
}): {
|
|
1856
|
+
readonly tag: E2eiError_Tags.MissingHeader;
|
|
1857
|
+
readonly inner: Readonly<{
|
|
1858
|
+
header: string;
|
|
1859
|
+
}>;
|
|
1860
|
+
/**
|
|
1861
|
+
* @private
|
|
1862
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1863
|
+
*/
|
|
1864
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1865
|
+
name: string;
|
|
1866
|
+
message: string;
|
|
1867
|
+
stack?: string;
|
|
1868
|
+
cause?: unknown;
|
|
1869
|
+
};
|
|
1870
|
+
instanceOf(obj: any): obj is {
|
|
1871
|
+
readonly tag: E2eiError_Tags.MissingHeader;
|
|
1872
|
+
readonly inner: Readonly<{
|
|
1873
|
+
header: string;
|
|
1874
|
+
}>;
|
|
1875
|
+
/**
|
|
1876
|
+
* @private
|
|
1877
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1878
|
+
*/
|
|
1879
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1880
|
+
name: string;
|
|
1881
|
+
message: string;
|
|
1882
|
+
stack?: string;
|
|
1883
|
+
cause?: unknown;
|
|
1884
|
+
};
|
|
1885
|
+
hasInner(obj: any): obj is {
|
|
1886
|
+
readonly tag: E2eiError_Tags.MissingHeader;
|
|
1887
|
+
readonly inner: Readonly<{
|
|
1888
|
+
header: string;
|
|
1889
|
+
}>;
|
|
1890
|
+
/**
|
|
1891
|
+
* @private
|
|
1892
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1893
|
+
*/
|
|
1894
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1895
|
+
name: string;
|
|
1896
|
+
message: string;
|
|
1897
|
+
stack?: string;
|
|
1898
|
+
cause?: unknown;
|
|
1899
|
+
};
|
|
1900
|
+
getInner(obj: {
|
|
1901
|
+
readonly tag: E2eiError_Tags.MissingHeader;
|
|
1902
|
+
readonly inner: Readonly<{
|
|
1903
|
+
header: string;
|
|
1904
|
+
}>;
|
|
1905
|
+
/**
|
|
1906
|
+
* @private
|
|
1907
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1908
|
+
*/
|
|
1909
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1910
|
+
name: string;
|
|
1911
|
+
message: string;
|
|
1912
|
+
stack?: string;
|
|
1913
|
+
cause?: unknown;
|
|
1914
|
+
}): Readonly<{
|
|
1915
|
+
header: string;
|
|
1916
|
+
}>;
|
|
1917
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
1918
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
1919
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
1920
|
+
stackTraceLimit: number;
|
|
1921
|
+
isError(value: unknown): value is Error;
|
|
1922
|
+
};
|
|
1923
|
+
NoTrustAnchor: {
|
|
1924
|
+
new (): {
|
|
1925
|
+
readonly tag: E2eiError_Tags.NoTrustAnchor;
|
|
1926
|
+
/**
|
|
1927
|
+
* @private
|
|
1928
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1929
|
+
*/
|
|
1930
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1931
|
+
name: string;
|
|
1932
|
+
message: string;
|
|
1933
|
+
stack?: string;
|
|
1934
|
+
cause?: unknown;
|
|
1935
|
+
};
|
|
1936
|
+
"new"(): {
|
|
1937
|
+
readonly tag: E2eiError_Tags.NoTrustAnchor;
|
|
1938
|
+
/**
|
|
1939
|
+
* @private
|
|
1940
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1941
|
+
*/
|
|
1942
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1943
|
+
name: string;
|
|
1944
|
+
message: string;
|
|
1945
|
+
stack?: string;
|
|
1946
|
+
cause?: unknown;
|
|
1947
|
+
};
|
|
1948
|
+
instanceOf(obj: any): obj is {
|
|
1949
|
+
readonly tag: E2eiError_Tags.NoTrustAnchor;
|
|
1950
|
+
/**
|
|
1951
|
+
* @private
|
|
1952
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1953
|
+
*/
|
|
1954
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1955
|
+
name: string;
|
|
1956
|
+
message: string;
|
|
1957
|
+
stack?: string;
|
|
1958
|
+
cause?: unknown;
|
|
1959
|
+
};
|
|
1960
|
+
hasInner(obj: any): obj is {
|
|
1961
|
+
readonly tag: E2eiError_Tags.NoTrustAnchor;
|
|
1962
|
+
/**
|
|
1963
|
+
* @private
|
|
1964
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1965
|
+
*/
|
|
1966
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1967
|
+
name: string;
|
|
1968
|
+
message: string;
|
|
1969
|
+
stack?: string;
|
|
1970
|
+
cause?: unknown;
|
|
1971
|
+
};
|
|
1972
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
1973
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
1974
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
1975
|
+
stackTraceLimit: number;
|
|
1976
|
+
isError(value: unknown): value is Error;
|
|
1977
|
+
};
|
|
1978
|
+
TrustAnchorAlreadyExists: {
|
|
1979
|
+
new (): {
|
|
1980
|
+
readonly tag: E2eiError_Tags.TrustAnchorAlreadyExists;
|
|
1981
|
+
/**
|
|
1982
|
+
* @private
|
|
1983
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1984
|
+
*/
|
|
1985
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1986
|
+
name: string;
|
|
1987
|
+
message: string;
|
|
1988
|
+
stack?: string;
|
|
1989
|
+
cause?: unknown;
|
|
1990
|
+
};
|
|
1991
|
+
"new"(): {
|
|
1992
|
+
readonly tag: E2eiError_Tags.TrustAnchorAlreadyExists;
|
|
1993
|
+
/**
|
|
1994
|
+
* @private
|
|
1995
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1996
|
+
*/
|
|
1997
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
1998
|
+
name: string;
|
|
1999
|
+
message: string;
|
|
2000
|
+
stack?: string;
|
|
2001
|
+
cause?: unknown;
|
|
2002
|
+
};
|
|
2003
|
+
instanceOf(obj: any): obj is {
|
|
2004
|
+
readonly tag: E2eiError_Tags.TrustAnchorAlreadyExists;
|
|
2005
|
+
/**
|
|
2006
|
+
* @private
|
|
2007
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2008
|
+
*/
|
|
2009
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2010
|
+
name: string;
|
|
2011
|
+
message: string;
|
|
2012
|
+
stack?: string;
|
|
2013
|
+
cause?: unknown;
|
|
2014
|
+
};
|
|
2015
|
+
hasInner(obj: any): obj is {
|
|
2016
|
+
readonly tag: E2eiError_Tags.TrustAnchorAlreadyExists;
|
|
2017
|
+
/**
|
|
2018
|
+
* @private
|
|
2019
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2020
|
+
*/
|
|
2021
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2022
|
+
name: string;
|
|
2023
|
+
message: string;
|
|
2024
|
+
stack?: string;
|
|
2025
|
+
cause?: unknown;
|
|
2026
|
+
};
|
|
2027
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2028
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2029
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
2030
|
+
stackTraceLimit: number;
|
|
2031
|
+
isError(value: unknown): value is Error;
|
|
2032
|
+
};
|
|
2033
|
+
CrlFetchUnsuccessful: {
|
|
2034
|
+
new (inner: {
|
|
2035
|
+
uri: string;
|
|
2036
|
+
status: number;
|
|
2037
|
+
}): {
|
|
2038
|
+
readonly tag: E2eiError_Tags.CrlFetchUnsuccessful;
|
|
2039
|
+
readonly inner: Readonly<{
|
|
2040
|
+
uri: string;
|
|
2041
|
+
status: number;
|
|
2042
|
+
}>;
|
|
2043
|
+
/**
|
|
2044
|
+
* @private
|
|
2045
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2046
|
+
*/
|
|
2047
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2048
|
+
name: string;
|
|
2049
|
+
message: string;
|
|
2050
|
+
stack?: string;
|
|
2051
|
+
cause?: unknown;
|
|
2052
|
+
};
|
|
2053
|
+
"new"(inner: {
|
|
2054
|
+
uri: string;
|
|
2055
|
+
status: number;
|
|
2056
|
+
}): {
|
|
2057
|
+
readonly tag: E2eiError_Tags.CrlFetchUnsuccessful;
|
|
2058
|
+
readonly inner: Readonly<{
|
|
2059
|
+
uri: string;
|
|
2060
|
+
status: number;
|
|
2061
|
+
}>;
|
|
2062
|
+
/**
|
|
2063
|
+
* @private
|
|
2064
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2065
|
+
*/
|
|
2066
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2067
|
+
name: string;
|
|
2068
|
+
message: string;
|
|
2069
|
+
stack?: string;
|
|
2070
|
+
cause?: unknown;
|
|
2071
|
+
};
|
|
2072
|
+
instanceOf(obj: any): obj is {
|
|
2073
|
+
readonly tag: E2eiError_Tags.CrlFetchUnsuccessful;
|
|
2074
|
+
readonly inner: Readonly<{
|
|
2075
|
+
uri: string;
|
|
2076
|
+
status: number;
|
|
2077
|
+
}>;
|
|
2078
|
+
/**
|
|
2079
|
+
* @private
|
|
2080
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2081
|
+
*/
|
|
2082
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2083
|
+
name: string;
|
|
2084
|
+
message: string;
|
|
2085
|
+
stack?: string;
|
|
2086
|
+
cause?: unknown;
|
|
2087
|
+
};
|
|
2088
|
+
hasInner(obj: any): obj is {
|
|
2089
|
+
readonly tag: E2eiError_Tags.CrlFetchUnsuccessful;
|
|
2090
|
+
readonly inner: Readonly<{
|
|
2091
|
+
uri: string;
|
|
2092
|
+
status: number;
|
|
2093
|
+
}>;
|
|
2094
|
+
/**
|
|
2095
|
+
* @private
|
|
2096
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2097
|
+
*/
|
|
2098
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2099
|
+
name: string;
|
|
2100
|
+
message: string;
|
|
2101
|
+
stack?: string;
|
|
2102
|
+
cause?: unknown;
|
|
2103
|
+
};
|
|
2104
|
+
getInner(obj: {
|
|
2105
|
+
readonly tag: E2eiError_Tags.CrlFetchUnsuccessful;
|
|
2106
|
+
readonly inner: Readonly<{
|
|
2107
|
+
uri: string;
|
|
2108
|
+
status: number;
|
|
2109
|
+
}>;
|
|
2110
|
+
/**
|
|
2111
|
+
* @private
|
|
2112
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2113
|
+
*/
|
|
2114
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2115
|
+
name: string;
|
|
2116
|
+
message: string;
|
|
2117
|
+
stack?: string;
|
|
2118
|
+
cause?: unknown;
|
|
2119
|
+
}): Readonly<{
|
|
2120
|
+
uri: string;
|
|
2121
|
+
status: number;
|
|
2122
|
+
}>;
|
|
2123
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2124
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2125
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
2126
|
+
stackTraceLimit: number;
|
|
2127
|
+
isError(value: unknown): value is Error;
|
|
2128
|
+
};
|
|
2129
|
+
AcmeAccount: {
|
|
2130
|
+
new (inner: {
|
|
2131
|
+
msg: string;
|
|
2132
|
+
}): {
|
|
2133
|
+
readonly tag: E2eiError_Tags.AcmeAccount;
|
|
2134
|
+
readonly inner: Readonly<{
|
|
2135
|
+
msg: string;
|
|
2136
|
+
}>;
|
|
2137
|
+
/**
|
|
2138
|
+
* @private
|
|
2139
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2140
|
+
*/
|
|
2141
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2142
|
+
name: string;
|
|
2143
|
+
message: string;
|
|
2144
|
+
stack?: string;
|
|
2145
|
+
cause?: unknown;
|
|
2146
|
+
};
|
|
2147
|
+
"new"(inner: {
|
|
2148
|
+
msg: string;
|
|
2149
|
+
}): {
|
|
2150
|
+
readonly tag: E2eiError_Tags.AcmeAccount;
|
|
2151
|
+
readonly inner: Readonly<{
|
|
2152
|
+
msg: string;
|
|
2153
|
+
}>;
|
|
2154
|
+
/**
|
|
2155
|
+
* @private
|
|
2156
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2157
|
+
*/
|
|
2158
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2159
|
+
name: string;
|
|
2160
|
+
message: string;
|
|
2161
|
+
stack?: string;
|
|
2162
|
+
cause?: unknown;
|
|
2163
|
+
};
|
|
2164
|
+
instanceOf(obj: any): obj is {
|
|
2165
|
+
readonly tag: E2eiError_Tags.AcmeAccount;
|
|
2166
|
+
readonly inner: Readonly<{
|
|
2167
|
+
msg: string;
|
|
2168
|
+
}>;
|
|
2169
|
+
/**
|
|
2170
|
+
* @private
|
|
2171
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2172
|
+
*/
|
|
2173
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2174
|
+
name: string;
|
|
2175
|
+
message: string;
|
|
2176
|
+
stack?: string;
|
|
2177
|
+
cause?: unknown;
|
|
2178
|
+
};
|
|
2179
|
+
hasInner(obj: any): obj is {
|
|
2180
|
+
readonly tag: E2eiError_Tags.AcmeAccount;
|
|
2181
|
+
readonly inner: Readonly<{
|
|
2182
|
+
msg: string;
|
|
2183
|
+
}>;
|
|
2184
|
+
/**
|
|
2185
|
+
* @private
|
|
2186
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2187
|
+
*/
|
|
2188
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2189
|
+
name: string;
|
|
2190
|
+
message: string;
|
|
2191
|
+
stack?: string;
|
|
2192
|
+
cause?: unknown;
|
|
2193
|
+
};
|
|
2194
|
+
getInner(obj: {
|
|
2195
|
+
readonly tag: E2eiError_Tags.AcmeAccount;
|
|
2196
|
+
readonly inner: Readonly<{
|
|
2197
|
+
msg: string;
|
|
2198
|
+
}>;
|
|
2199
|
+
/**
|
|
2200
|
+
* @private
|
|
2201
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2202
|
+
*/
|
|
2203
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2204
|
+
name: string;
|
|
2205
|
+
message: string;
|
|
2206
|
+
stack?: string;
|
|
2207
|
+
cause?: unknown;
|
|
2208
|
+
}): Readonly<{
|
|
2209
|
+
msg: string;
|
|
2210
|
+
}>;
|
|
2211
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2212
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2213
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
2214
|
+
stackTraceLimit: number;
|
|
2215
|
+
isError(value: unknown): value is Error;
|
|
2216
|
+
};
|
|
2217
|
+
AcmeOrder: {
|
|
2218
|
+
new (inner: {
|
|
2219
|
+
msg: string;
|
|
2220
|
+
}): {
|
|
2221
|
+
readonly tag: E2eiError_Tags.AcmeOrder;
|
|
2222
|
+
readonly inner: Readonly<{
|
|
2223
|
+
msg: string;
|
|
2224
|
+
}>;
|
|
2225
|
+
/**
|
|
2226
|
+
* @private
|
|
2227
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2228
|
+
*/
|
|
2229
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2230
|
+
name: string;
|
|
2231
|
+
message: string;
|
|
2232
|
+
stack?: string;
|
|
2233
|
+
cause?: unknown;
|
|
2234
|
+
};
|
|
2235
|
+
"new"(inner: {
|
|
2236
|
+
msg: string;
|
|
2237
|
+
}): {
|
|
2238
|
+
readonly tag: E2eiError_Tags.AcmeOrder;
|
|
2239
|
+
readonly inner: Readonly<{
|
|
2240
|
+
msg: string;
|
|
2241
|
+
}>;
|
|
2242
|
+
/**
|
|
2243
|
+
* @private
|
|
2244
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2245
|
+
*/
|
|
2246
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2247
|
+
name: string;
|
|
2248
|
+
message: string;
|
|
2249
|
+
stack?: string;
|
|
2250
|
+
cause?: unknown;
|
|
2251
|
+
};
|
|
2252
|
+
instanceOf(obj: any): obj is {
|
|
2253
|
+
readonly tag: E2eiError_Tags.AcmeOrder;
|
|
2254
|
+
readonly inner: Readonly<{
|
|
2255
|
+
msg: string;
|
|
2256
|
+
}>;
|
|
2257
|
+
/**
|
|
2258
|
+
* @private
|
|
2259
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2260
|
+
*/
|
|
2261
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2262
|
+
name: string;
|
|
2263
|
+
message: string;
|
|
2264
|
+
stack?: string;
|
|
2265
|
+
cause?: unknown;
|
|
2266
|
+
};
|
|
2267
|
+
hasInner(obj: any): obj is {
|
|
2268
|
+
readonly tag: E2eiError_Tags.AcmeOrder;
|
|
2269
|
+
readonly inner: Readonly<{
|
|
2270
|
+
msg: string;
|
|
2271
|
+
}>;
|
|
2272
|
+
/**
|
|
2273
|
+
* @private
|
|
2274
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2275
|
+
*/
|
|
2276
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2277
|
+
name: string;
|
|
2278
|
+
message: string;
|
|
2279
|
+
stack?: string;
|
|
2280
|
+
cause?: unknown;
|
|
2281
|
+
};
|
|
2282
|
+
getInner(obj: {
|
|
2283
|
+
readonly tag: E2eiError_Tags.AcmeOrder;
|
|
2284
|
+
readonly inner: Readonly<{
|
|
2285
|
+
msg: string;
|
|
2286
|
+
}>;
|
|
2287
|
+
/**
|
|
2288
|
+
* @private
|
|
2289
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2290
|
+
*/
|
|
2291
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2292
|
+
name: string;
|
|
2293
|
+
message: string;
|
|
2294
|
+
stack?: string;
|
|
2295
|
+
cause?: unknown;
|
|
2296
|
+
}): Readonly<{
|
|
2297
|
+
msg: string;
|
|
2298
|
+
}>;
|
|
2299
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2300
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2301
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
2302
|
+
stackTraceLimit: number;
|
|
2303
|
+
isError(value: unknown): value is Error;
|
|
2304
|
+
};
|
|
2305
|
+
AcmeChallenge: {
|
|
2306
|
+
new (inner: {
|
|
2307
|
+
msg: string;
|
|
2308
|
+
}): {
|
|
2309
|
+
readonly tag: E2eiError_Tags.AcmeChallenge;
|
|
2310
|
+
readonly inner: Readonly<{
|
|
2311
|
+
msg: string;
|
|
2312
|
+
}>;
|
|
2313
|
+
/**
|
|
2314
|
+
* @private
|
|
2315
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2316
|
+
*/
|
|
2317
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2318
|
+
name: string;
|
|
2319
|
+
message: string;
|
|
2320
|
+
stack?: string;
|
|
2321
|
+
cause?: unknown;
|
|
2322
|
+
};
|
|
2323
|
+
"new"(inner: {
|
|
2324
|
+
msg: string;
|
|
2325
|
+
}): {
|
|
2326
|
+
readonly tag: E2eiError_Tags.AcmeChallenge;
|
|
2327
|
+
readonly inner: Readonly<{
|
|
2328
|
+
msg: string;
|
|
2329
|
+
}>;
|
|
2330
|
+
/**
|
|
2331
|
+
* @private
|
|
2332
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2333
|
+
*/
|
|
2334
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2335
|
+
name: string;
|
|
2336
|
+
message: string;
|
|
2337
|
+
stack?: string;
|
|
2338
|
+
cause?: unknown;
|
|
2339
|
+
};
|
|
2340
|
+
instanceOf(obj: any): obj is {
|
|
2341
|
+
readonly tag: E2eiError_Tags.AcmeChallenge;
|
|
2342
|
+
readonly inner: Readonly<{
|
|
2343
|
+
msg: string;
|
|
2344
|
+
}>;
|
|
2345
|
+
/**
|
|
2346
|
+
* @private
|
|
2347
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2348
|
+
*/
|
|
2349
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2350
|
+
name: string;
|
|
2351
|
+
message: string;
|
|
2352
|
+
stack?: string;
|
|
2353
|
+
cause?: unknown;
|
|
2354
|
+
};
|
|
2355
|
+
hasInner(obj: any): obj is {
|
|
2356
|
+
readonly tag: E2eiError_Tags.AcmeChallenge;
|
|
2357
|
+
readonly inner: Readonly<{
|
|
2358
|
+
msg: string;
|
|
2359
|
+
}>;
|
|
2360
|
+
/**
|
|
2361
|
+
* @private
|
|
2362
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2363
|
+
*/
|
|
2364
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2365
|
+
name: string;
|
|
2366
|
+
message: string;
|
|
2367
|
+
stack?: string;
|
|
2368
|
+
cause?: unknown;
|
|
2369
|
+
};
|
|
2370
|
+
getInner(obj: {
|
|
2371
|
+
readonly tag: E2eiError_Tags.AcmeChallenge;
|
|
2372
|
+
readonly inner: Readonly<{
|
|
2373
|
+
msg: string;
|
|
2374
|
+
}>;
|
|
2375
|
+
/**
|
|
2376
|
+
* @private
|
|
2377
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2378
|
+
*/
|
|
2379
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2380
|
+
name: string;
|
|
2381
|
+
message: string;
|
|
2382
|
+
stack?: string;
|
|
2383
|
+
cause?: unknown;
|
|
2384
|
+
}): Readonly<{
|
|
2385
|
+
msg: string;
|
|
2386
|
+
}>;
|
|
2387
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2388
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2389
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
2390
|
+
stackTraceLimit: number;
|
|
2391
|
+
isError(value: unknown): value is Error;
|
|
2392
|
+
};
|
|
2393
|
+
InvalidIdentifier: {
|
|
2394
|
+
new (inner: {
|
|
2395
|
+
msg: string;
|
|
2396
|
+
}): {
|
|
2397
|
+
readonly tag: E2eiError_Tags.InvalidIdentifier;
|
|
2398
|
+
readonly inner: Readonly<{
|
|
2399
|
+
msg: string;
|
|
2400
|
+
}>;
|
|
2401
|
+
/**
|
|
2402
|
+
* @private
|
|
2403
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2404
|
+
*/
|
|
2405
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2406
|
+
name: string;
|
|
2407
|
+
message: string;
|
|
2408
|
+
stack?: string;
|
|
2409
|
+
cause?: unknown;
|
|
2410
|
+
};
|
|
2411
|
+
"new"(inner: {
|
|
2412
|
+
msg: string;
|
|
2413
|
+
}): {
|
|
2414
|
+
readonly tag: E2eiError_Tags.InvalidIdentifier;
|
|
2415
|
+
readonly inner: Readonly<{
|
|
2416
|
+
msg: string;
|
|
2417
|
+
}>;
|
|
2418
|
+
/**
|
|
2419
|
+
* @private
|
|
2420
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2421
|
+
*/
|
|
2422
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2423
|
+
name: string;
|
|
2424
|
+
message: string;
|
|
2425
|
+
stack?: string;
|
|
2426
|
+
cause?: unknown;
|
|
2427
|
+
};
|
|
2428
|
+
instanceOf(obj: any): obj is {
|
|
2429
|
+
readonly tag: E2eiError_Tags.InvalidIdentifier;
|
|
2430
|
+
readonly inner: Readonly<{
|
|
2431
|
+
msg: string;
|
|
2432
|
+
}>;
|
|
2433
|
+
/**
|
|
2434
|
+
* @private
|
|
2435
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2436
|
+
*/
|
|
2437
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2438
|
+
name: string;
|
|
2439
|
+
message: string;
|
|
2440
|
+
stack?: string;
|
|
2441
|
+
cause?: unknown;
|
|
2442
|
+
};
|
|
2443
|
+
hasInner(obj: any): obj is {
|
|
2444
|
+
readonly tag: E2eiError_Tags.InvalidIdentifier;
|
|
2445
|
+
readonly inner: Readonly<{
|
|
2446
|
+
msg: string;
|
|
2447
|
+
}>;
|
|
2448
|
+
/**
|
|
2449
|
+
* @private
|
|
2450
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2451
|
+
*/
|
|
2452
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2453
|
+
name: string;
|
|
2454
|
+
message: string;
|
|
2455
|
+
stack?: string;
|
|
2456
|
+
cause?: unknown;
|
|
2457
|
+
};
|
|
2458
|
+
getInner(obj: {
|
|
2459
|
+
readonly tag: E2eiError_Tags.InvalidIdentifier;
|
|
2460
|
+
readonly inner: Readonly<{
|
|
2461
|
+
msg: string;
|
|
2462
|
+
}>;
|
|
2463
|
+
/**
|
|
2464
|
+
* @private
|
|
2465
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2466
|
+
*/
|
|
2467
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2468
|
+
name: string;
|
|
2469
|
+
message: string;
|
|
2470
|
+
stack?: string;
|
|
2471
|
+
cause?: unknown;
|
|
2472
|
+
}): Readonly<{
|
|
2473
|
+
msg: string;
|
|
2474
|
+
}>;
|
|
2475
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2476
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2477
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
2478
|
+
stackTraceLimit: number;
|
|
2479
|
+
isError(value: unknown): value is Error;
|
|
2480
|
+
};
|
|
2481
|
+
InvalidCertificate: {
|
|
2482
|
+
new (inner: {
|
|
2483
|
+
msg: string;
|
|
2484
|
+
}): {
|
|
2485
|
+
readonly tag: E2eiError_Tags.InvalidCertificate;
|
|
2486
|
+
readonly inner: Readonly<{
|
|
2487
|
+
msg: string;
|
|
2488
|
+
}>;
|
|
2489
|
+
/**
|
|
2490
|
+
* @private
|
|
2491
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2492
|
+
*/
|
|
2493
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2494
|
+
name: string;
|
|
2495
|
+
message: string;
|
|
2496
|
+
stack?: string;
|
|
2497
|
+
cause?: unknown;
|
|
2498
|
+
};
|
|
2499
|
+
"new"(inner: {
|
|
2500
|
+
msg: string;
|
|
2501
|
+
}): {
|
|
2502
|
+
readonly tag: E2eiError_Tags.InvalidCertificate;
|
|
2503
|
+
readonly inner: Readonly<{
|
|
2504
|
+
msg: string;
|
|
2505
|
+
}>;
|
|
2506
|
+
/**
|
|
2507
|
+
* @private
|
|
2508
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2509
|
+
*/
|
|
2510
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2511
|
+
name: string;
|
|
2512
|
+
message: string;
|
|
2513
|
+
stack?: string;
|
|
2514
|
+
cause?: unknown;
|
|
2515
|
+
};
|
|
2516
|
+
instanceOf(obj: any): obj is {
|
|
2517
|
+
readonly tag: E2eiError_Tags.InvalidCertificate;
|
|
2518
|
+
readonly inner: Readonly<{
|
|
2519
|
+
msg: string;
|
|
2520
|
+
}>;
|
|
2521
|
+
/**
|
|
2522
|
+
* @private
|
|
2523
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2524
|
+
*/
|
|
2525
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2526
|
+
name: string;
|
|
2527
|
+
message: string;
|
|
2528
|
+
stack?: string;
|
|
2529
|
+
cause?: unknown;
|
|
2530
|
+
};
|
|
2531
|
+
hasInner(obj: any): obj is {
|
|
2532
|
+
readonly tag: E2eiError_Tags.InvalidCertificate;
|
|
2533
|
+
readonly inner: Readonly<{
|
|
2534
|
+
msg: string;
|
|
2535
|
+
}>;
|
|
2536
|
+
/**
|
|
2537
|
+
* @private
|
|
2538
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2539
|
+
*/
|
|
2540
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2541
|
+
name: string;
|
|
2542
|
+
message: string;
|
|
2543
|
+
stack?: string;
|
|
2544
|
+
cause?: unknown;
|
|
2545
|
+
};
|
|
2546
|
+
getInner(obj: {
|
|
2547
|
+
readonly tag: E2eiError_Tags.InvalidCertificate;
|
|
2548
|
+
readonly inner: Readonly<{
|
|
2549
|
+
msg: string;
|
|
2550
|
+
}>;
|
|
2551
|
+
/**
|
|
2552
|
+
* @private
|
|
2553
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2554
|
+
*/
|
|
2555
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2556
|
+
name: string;
|
|
2557
|
+
message: string;
|
|
2558
|
+
stack?: string;
|
|
2559
|
+
cause?: unknown;
|
|
2560
|
+
}): Readonly<{
|
|
2561
|
+
msg: string;
|
|
2562
|
+
}>;
|
|
2563
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2564
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2565
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
2566
|
+
stackTraceLimit: number;
|
|
2567
|
+
isError(value: unknown): value is Error;
|
|
2568
|
+
};
|
|
2569
|
+
Other: {
|
|
2570
|
+
new (inner: {
|
|
2571
|
+
msg: string;
|
|
2572
|
+
}): {
|
|
2573
|
+
readonly tag: E2eiError_Tags.Other;
|
|
2574
|
+
readonly inner: Readonly<{
|
|
2575
|
+
msg: string;
|
|
2576
|
+
}>;
|
|
2577
|
+
/**
|
|
2578
|
+
* @private
|
|
2579
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2580
|
+
*/
|
|
2581
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2582
|
+
name: string;
|
|
2583
|
+
message: string;
|
|
2584
|
+
stack?: string;
|
|
2585
|
+
cause?: unknown;
|
|
2586
|
+
};
|
|
2587
|
+
"new"(inner: {
|
|
2588
|
+
msg: string;
|
|
2589
|
+
}): {
|
|
2590
|
+
readonly tag: E2eiError_Tags.Other;
|
|
2591
|
+
readonly inner: Readonly<{
|
|
2592
|
+
msg: string;
|
|
2593
|
+
}>;
|
|
2594
|
+
/**
|
|
2595
|
+
* @private
|
|
2596
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2597
|
+
*/
|
|
2598
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2599
|
+
name: string;
|
|
2600
|
+
message: string;
|
|
2601
|
+
stack?: string;
|
|
2602
|
+
cause?: unknown;
|
|
2603
|
+
};
|
|
2604
|
+
instanceOf(obj: any): obj is {
|
|
2605
|
+
readonly tag: E2eiError_Tags.Other;
|
|
2606
|
+
readonly inner: Readonly<{
|
|
2607
|
+
msg: string;
|
|
2608
|
+
}>;
|
|
2609
|
+
/**
|
|
2610
|
+
* @private
|
|
2611
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2612
|
+
*/
|
|
2613
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2614
|
+
name: string;
|
|
2615
|
+
message: string;
|
|
2616
|
+
stack?: string;
|
|
2617
|
+
cause?: unknown;
|
|
2618
|
+
};
|
|
2619
|
+
hasInner(obj: any): obj is {
|
|
2620
|
+
readonly tag: E2eiError_Tags.Other;
|
|
2621
|
+
readonly inner: Readonly<{
|
|
2622
|
+
msg: string;
|
|
2623
|
+
}>;
|
|
2624
|
+
/**
|
|
2625
|
+
* @private
|
|
2626
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2627
|
+
*/
|
|
2628
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2629
|
+
name: string;
|
|
2630
|
+
message: string;
|
|
2631
|
+
stack?: string;
|
|
2632
|
+
cause?: unknown;
|
|
2633
|
+
};
|
|
2634
|
+
getInner(obj: {
|
|
2635
|
+
readonly tag: E2eiError_Tags.Other;
|
|
2636
|
+
readonly inner: Readonly<{
|
|
2637
|
+
msg: string;
|
|
2638
|
+
}>;
|
|
2639
|
+
/**
|
|
2640
|
+
* @private
|
|
2641
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2642
|
+
*/
|
|
2643
|
+
readonly [uniffiTypeNameSymbol]: "E2eiError";
|
|
2644
|
+
name: string;
|
|
2645
|
+
message: string;
|
|
2646
|
+
stack?: string;
|
|
2647
|
+
cause?: unknown;
|
|
2648
|
+
}): Readonly<{
|
|
2649
|
+
msg: string;
|
|
2650
|
+
}>;
|
|
2651
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2652
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
2653
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
2654
|
+
stackTraceLimit: number;
|
|
2655
|
+
isError(value: unknown): value is Error;
|
|
2656
|
+
};
|
|
2657
|
+
}>;
|
|
2658
|
+
/**
|
|
2659
|
+
* Errors produced by the end-to-end identity layer.
|
|
2660
|
+
*/
|
|
2661
|
+
export type E2eiError = InstanceType<typeof E2eiError["UnsupportedCipherSuite" | "HookFailed" | "MissingHeader" | "NoTrustAnchor" | "TrustAnchorAlreadyExists" | "CrlFetchUnsuccessful" | "AcmeAccount" | "AcmeOrder" | "AcmeChallenge" | "InvalidIdentifier" | "InvalidCertificate" | "Other"]>;
|
|
1400
2662
|
export declare enum CoreCryptoError_Tags {
|
|
1401
2663
|
Mls = "Mls",
|
|
1402
2664
|
Proteus = "Proteus",
|
|
@@ -1440,7 +2702,7 @@ export declare const CoreCryptoError: Readonly<{
|
|
|
1440
2702
|
} | {
|
|
1441
2703
|
readonly tag: CoreCryptoError_Tags.E2ei;
|
|
1442
2704
|
readonly inner: Readonly<{
|
|
1443
|
-
e2eiError:
|
|
2705
|
+
e2eiError: E2eiError;
|
|
1444
2706
|
}>;
|
|
1445
2707
|
/**
|
|
1446
2708
|
* @private
|
|
@@ -1672,11 +2934,11 @@ export declare const CoreCryptoError: Readonly<{
|
|
|
1672
2934
|
};
|
|
1673
2935
|
E2ei: {
|
|
1674
2936
|
new (inner: {
|
|
1675
|
-
e2eiError:
|
|
2937
|
+
e2eiError: E2eiError;
|
|
1676
2938
|
}): {
|
|
1677
2939
|
readonly tag: CoreCryptoError_Tags.E2ei;
|
|
1678
2940
|
readonly inner: Readonly<{
|
|
1679
|
-
e2eiError:
|
|
2941
|
+
e2eiError: E2eiError;
|
|
1680
2942
|
}>;
|
|
1681
2943
|
/**
|
|
1682
2944
|
* @private
|
|
@@ -1689,11 +2951,11 @@ export declare const CoreCryptoError: Readonly<{
|
|
|
1689
2951
|
cause?: unknown;
|
|
1690
2952
|
};
|
|
1691
2953
|
"new"(inner: {
|
|
1692
|
-
e2eiError:
|
|
2954
|
+
e2eiError: E2eiError;
|
|
1693
2955
|
}): {
|
|
1694
2956
|
readonly tag: CoreCryptoError_Tags.E2ei;
|
|
1695
2957
|
readonly inner: Readonly<{
|
|
1696
|
-
e2eiError:
|
|
2958
|
+
e2eiError: E2eiError;
|
|
1697
2959
|
}>;
|
|
1698
2960
|
/**
|
|
1699
2961
|
* @private
|
|
@@ -1708,7 +2970,7 @@ export declare const CoreCryptoError: Readonly<{
|
|
|
1708
2970
|
instanceOf(obj: any): obj is {
|
|
1709
2971
|
readonly tag: CoreCryptoError_Tags.E2ei;
|
|
1710
2972
|
readonly inner: Readonly<{
|
|
1711
|
-
e2eiError:
|
|
2973
|
+
e2eiError: E2eiError;
|
|
1712
2974
|
}>;
|
|
1713
2975
|
/**
|
|
1714
2976
|
* @private
|
|
@@ -1723,7 +2985,7 @@ export declare const CoreCryptoError: Readonly<{
|
|
|
1723
2985
|
hasInner(obj: any): obj is {
|
|
1724
2986
|
readonly tag: CoreCryptoError_Tags.E2ei;
|
|
1725
2987
|
readonly inner: Readonly<{
|
|
1726
|
-
e2eiError:
|
|
2988
|
+
e2eiError: E2eiError;
|
|
1727
2989
|
}>;
|
|
1728
2990
|
/**
|
|
1729
2991
|
* @private
|
|
@@ -1738,7 +3000,7 @@ export declare const CoreCryptoError: Readonly<{
|
|
|
1738
3000
|
getInner(obj: {
|
|
1739
3001
|
readonly tag: CoreCryptoError_Tags.E2ei;
|
|
1740
3002
|
readonly inner: Readonly<{
|
|
1741
|
-
e2eiError:
|
|
3003
|
+
e2eiError: E2eiError;
|
|
1742
3004
|
}>;
|
|
1743
3005
|
/**
|
|
1744
3006
|
* @private
|
|
@@ -1750,7 +3012,7 @@ export declare const CoreCryptoError: Readonly<{
|
|
|
1750
3012
|
stack?: string;
|
|
1751
3013
|
cause?: unknown;
|
|
1752
3014
|
}): Readonly<{
|
|
1753
|
-
e2eiError:
|
|
3015
|
+
e2eiError: E2eiError;
|
|
1754
3016
|
}>;
|
|
1755
3017
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
1756
3018
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
@@ -2454,83 +3716,6 @@ export declare const WireIdentity: Readonly<{
|
|
|
2454
3716
|
new: (partial: Partial<WireIdentity> & Required<Omit<WireIdentity, "clientId" | "x509Identity">>) => WireIdentity;
|
|
2455
3717
|
defaults: () => Partial<WireIdentity>;
|
|
2456
3718
|
}>;
|
|
2457
|
-
/**
|
|
2458
|
-
* MLS cipher suites
|
|
2459
|
-
*/
|
|
2460
|
-
export declare enum CipherSuite {
|
|
2461
|
-
/**
|
|
2462
|
-
* DH KEM x25519 | AES-GCM 128 | SHA2-256 | Ed25519
|
|
2463
|
-
*/
|
|
2464
|
-
Mls128Dhkemx25519Aes128gcmSha256Ed25519 = 1,
|
|
2465
|
-
/**
|
|
2466
|
-
* DH KEM P256 | AES-GCM 128 | SHA2-256 | EcDSA P256
|
|
2467
|
-
*/
|
|
2468
|
-
Mls128Dhkemp256Aes128gcmSha256P256 = 2,
|
|
2469
|
-
/**
|
|
2470
|
-
* DH KEM x25519 | Chacha20Poly1305 | SHA2-256 | Ed25519
|
|
2471
|
-
*/
|
|
2472
|
-
Mls128Dhkemx25519Chacha20poly1305Sha256Ed25519 = 3,
|
|
2473
|
-
/**
|
|
2474
|
-
* DH KEM x448 | AES-GCM 256 | SHA2-512 | Ed448
|
|
2475
|
-
*/
|
|
2476
|
-
Mls256Dhkemx448Aes256gcmSha512Ed448 = 4,
|
|
2477
|
-
/**
|
|
2478
|
-
* DH KEM P521 | AES-GCM 256 | SHA2-512 | EcDSA P521
|
|
2479
|
-
*/
|
|
2480
|
-
Mls256Dhkemp521Aes256gcmSha512P521 = 5,
|
|
2481
|
-
/**
|
|
2482
|
-
* DH KEM x448 | Chacha20Poly1305 | SHA2-512 | Ed448
|
|
2483
|
-
*/
|
|
2484
|
-
Mls256Dhkemx448Chacha20poly1305Sha512Ed448 = 6,
|
|
2485
|
-
/**
|
|
2486
|
-
* DH KEM P384 | AES-GCM 256 | SHA2-384 | EcDSA P384
|
|
2487
|
-
*/
|
|
2488
|
-
Mls256Dhkemp384Aes256gcmSha384P384 = 7,
|
|
2489
|
-
/**
|
|
2490
|
-
* ML-KEM-768+X25519 hybrid KEM | AES-GCM 128 | SHA2-256 | Ed25519
|
|
2491
|
-
*/
|
|
2492
|
-
Mls128Mlkem768x25519Aes128gcmSha256Ed25519 = 61441,
|
|
2493
|
-
/**
|
|
2494
|
-
* ML-KEM-768+X25519 hybrid KEM | AES-GCM 256 | SHA2-384 | Ed25519
|
|
2495
|
-
*/
|
|
2496
|
-
Mls128Mlkem768x25519Aes256gcmSha384Ed25519 = 61442,
|
|
2497
|
-
/**
|
|
2498
|
-
* ML-KEM-768+P-256 hybrid KEM | AES-GCM 128 | SHA2-256 | ECDSA P-256
|
|
2499
|
-
*/
|
|
2500
|
-
Mls128Mlkem768p256Aes128gcmSha256P256 = 61443,
|
|
2501
|
-
/**
|
|
2502
|
-
* ML-KEM-768+P-256 hybrid KEM | AES-GCM 256 | SHA2-384 | ECDSA P-256
|
|
2503
|
-
*/
|
|
2504
|
-
Mls128Mlkem768p256Aes256gcmSha384P256 = 61444,
|
|
2505
|
-
/**
|
|
2506
|
-
* ML-KEM-1024+P-384 hybrid KEM | AES-GCM 256 | SHA2-384 | ECDSA P-384
|
|
2507
|
-
*/
|
|
2508
|
-
Mls192Mlkem1024p384Aes256gcmSha384P384 = 61445,
|
|
2509
|
-
/**
|
|
2510
|
-
* ML-KEM-768 (pure) | AES-GCM 256 | SHA2-384 | Ed25519
|
|
2511
|
-
*/
|
|
2512
|
-
Mls128Mlkem768Aes256gcmSha384Ed25519 = 61446,
|
|
2513
|
-
/**
|
|
2514
|
-
* ML-KEM-768 (pure) | AES-GCM 256 | SHA2-384 | ECDSA P-256
|
|
2515
|
-
*/
|
|
2516
|
-
Mls128Mlkem768Aes256gcmSha384P256 = 61447,
|
|
2517
|
-
/**
|
|
2518
|
-
* ML-KEM-1024 (pure) | AES-GCM 256 | SHA2-384 | ECDSA P-384
|
|
2519
|
-
*/
|
|
2520
|
-
Mls192Mlkem1024Aes256gcmSha384P384 = 61448,
|
|
2521
|
-
/**
|
|
2522
|
-
* ML-KEM-768+X25519 hybrid KEM | ChaCha20Poly1305 | SHA2-384 | ML-DSA-44
|
|
2523
|
-
*/
|
|
2524
|
-
Mls128Mlkem768x25519Chacha20poly1305Sha384Mldsa44 = 61449,
|
|
2525
|
-
/**
|
|
2526
|
-
* ML-KEM-768 (pure) | AES-GCM 256 | SHA2-384 | ML-DSA-65
|
|
2527
|
-
*/
|
|
2528
|
-
Mls192Mlkem768Aes256gcmSha384Mldsa65 = 61450,
|
|
2529
|
-
/**
|
|
2530
|
-
* ML-KEM-1024 (pure) | AES-GCM 256 | SHA2-384 | ML-DSA-87
|
|
2531
|
-
*/
|
|
2532
|
-
Mls256Mlkem1024Aes256gcmSha384Mldsa87 = 61451
|
|
2533
|
-
}
|
|
2534
3719
|
/**
|
|
2535
3720
|
* Configuration for an X509 credential acquisition flow.
|
|
2536
3721
|
*/
|
|
@@ -4826,6 +6011,11 @@ export declare class Database extends UniffiAbstractObject {
|
|
|
4826
6011
|
static inMemory(): DatabaseLike;
|
|
4827
6012
|
/**
|
|
4828
6013
|
* Open or create a database.
|
|
6014
|
+
*
|
|
6015
|
+
* `location` depends on the build target. On the wasm-browser build, this is a relative path inside
|
|
6016
|
+
* the `core-crypto` directory in OPFS. No element can be `.`, `..`, or blank.
|
|
6017
|
+
*
|
|
6018
|
+
* For all other build targets, the location is a path inside the filesystem; any fs-parseable path is permitted.
|
|
4829
6019
|
*/
|
|
4830
6020
|
static open(location: string, key: DatabaseKeyLike, asyncOpts_?: {
|
|
4831
6021
|
signal: AbortSignal;
|