You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/transactions.md
+54-26
Original file line number
Diff line number
Diff line change
@@ -834,7 +834,7 @@ All PKI related methods are based on this restriction.
834
834
835
835
**Status: Implemented**
836
836
837
-
Proposes a new PAA certificate.
837
+
Proposes a new PAA (self-signed root certificate).
838
838
839
839
If more than 1 Trustee signature is required to add the PAA certificate, the PAA certificate
840
840
will be in a pending state until sufficient number of approvals is received.
@@ -868,7 +868,7 @@ The PAA certificate is immutable. It can only be revoked by either the owner or
868
868
869
869
**Status: Implemented**
870
870
871
-
Approves the proposed PAA certificate. It also can be used for revote (i.e. change vote from reject to approve)
871
+
Approves the proposed PAA (self-signed root certificate). It also can be used for revote (i.e. change vote from reject to approve)
872
872
873
873
The PAA certificate is not active until sufficient number of Trustees approve it.
874
874
@@ -892,7 +892,7 @@ The PAA certificate is not active until sufficient number of Trustees approve it
892
892
893
893
**Status: Implemented**
894
894
895
-
Rejects the proposed PAA certificate. It also can be used for revote (i.e. change vote from approve to reject)
895
+
Rejects the proposed PAA (self-signed root certificate). It also can be used for revote (i.e. change vote from approve to reject)
896
896
897
897
If proposed PAA certificate has only proposer's approval and no rejects then proposer can send this transaction to remove the proposal
898
898
@@ -920,9 +920,11 @@ The certificate is not reject until sufficient number of Trustees reject it.
920
920
921
921
**Status: Implemented**
922
922
923
-
Proposes revocation of the given PAA certificate by a Trustee.
923
+
Proposes revocation of the given PAA (self-signed root certificate) by a Trustee.
924
+
925
+
Revocation works as a soft-delete, meaning that the certificates are not entirely removed but moved from the approved list to the revoked list.
926
+
Revoked certificates can be retrieved by using the [GET_REVOKED_CERT](#get_revoked_cert) query.
924
927
925
-
Revocation here just means removing it from the ledger.
926
928
If a Revocation Distribution Point needs to be published (such as RFC5280 Certificate Revocation List), please use [ADD_REVOCATION_DISTRIBUTION_POINT](#add_revocation_distribution_point).
927
929
928
930
If `revoke-child` flag is set to `true` then all the certificates in the chain signed by the revoked certificate will be revoked as well.
@@ -953,10 +955,11 @@ then the certificate will be in a pending state until sufficient number of other
953
955
954
956
**Status: Implemented**
955
957
956
-
Approves the revocation of the given PAA certificate by a Trustee.
957
-
All the certificates in the chain signed by the revoked certificate will be revoked as well.
958
+
Approves the revocation of the given PAA (self-signed root certificate) by a Trustee.
959
+
960
+
Revocation works as a soft-delete, meaning that the certificates are not entirely removed but moved from the approved list to the revoked list.
961
+
Revoked certificates can be retrieved by using the [GET_REVOKED_CERT](#get_revoked_cert) query.
958
962
959
-
Revocation here just means removing it from the ledger.
960
963
If a Revocation Distribution Point needs to be published (such as RFC5280 Certificate Revocation List), please use [ADD_REVOCATION_DISTRIBUTION_POINT](#add_revocation_distribution_point).
961
964
962
965
The revocation is not applied until sufficient number of Trustees approve it.
@@ -982,7 +985,7 @@ The revocation is not applied until sufficient number of Trustees approve it.
982
985
983
986
**Status: Implemented**
984
987
985
-
Assigns a Vendor ID (VID) to non-VID scoped PAAs (root certificates) already present on the ledger.
988
+
Assigns a Vendor ID (VID) to non-VID scoped PAAs (self-signed root certificate) already present on the ledger.
986
989
987
990
- Who can send:
988
991
- Vendor Admin
@@ -1087,7 +1090,7 @@ Deletes a PKI Revocation distribution endpoint (such as RFC5280 Certificate Revo
1087
1090
1088
1091
**Status: Implemented**
1089
1092
1090
-
Adds a PAI certificate signed by a chain of certificates which must be already present on the ledger.
1093
+
Adds a PAI (intermediate certificate) signed by a chain of certificates which must be already present on the ledger.
1091
1094
1092
1095
- Who can send:
1093
1096
- Vendor Account
@@ -1125,9 +1128,12 @@ Adds a PAI certificate signed by a chain of certificates which must be already p
1125
1128
1126
1129
**Status: Implemented**
1127
1130
1128
-
Revokes the given PAI certificate.
1131
+
Revokes the given PAI (intermediate certificate).
1132
+
1133
+
Revocation works as a soft-delete, meaning that the certificates are not entirely removed but moved from the approved list to the revoked list.
1134
+
Revoked certificates can be retrieved by using the [GET_REVOKED_CERT](#get_revoked_cert) query.
1135
+
To entirely remove a PAI certificate, please use [REMOVE_PAI](#remove_pai).
1129
1136
1130
-
Revocation here just means removing it from the ledger.
1131
1137
If a Revocation Distribution Point needs to be published (such as RFC5280 Certificate Revocation List), please use [ADD_REVOCATION_DISTRIBUTION_POINT](#add_revocation_distribution_point).
1132
1138
1133
1139
If `revoke-child` flag is set to `true` then all the certificates in the chain signed by the revoked certificate will be revoked as well.
@@ -1154,9 +1160,9 @@ Root certificates can not be revoked this way, use [PROPOSE_REVOKE_PAA](#propos
1154
1160
1155
1161
**Status: Implemented**
1156
1162
1157
-
Removes the given PAI certificate from approved and revoked certificates list.
1163
+
This transaction completely removes the given PAI (intermediate certificate) from both the approved and revoked certificates list.
1158
1164
1159
-
PAA certificate can not be removed this way.
1165
+
PAA (self-signed root certificate) can not be removed this way.
1160
1166
1161
1167
- Who can send: Vendor account
1162
1168
- the sender's VID must match the VID of the removing certificate's owner.
@@ -1375,6 +1381,9 @@ This transaction adds a NOC root certificate owned by the Vendor.
1375
1381
This transaction revokes a NOC root certificate owned by the Vendor.
1376
1382
Revoked NOC root certificates can be re-added using the [ADD_NOC_ROOT](#add_noc_root) transaction.
1377
1383
1384
+
Revocation works as a soft-delete, meaning that the certificates are not entirely removed but moved from the approved list to the revoked list.
1385
+
Revoked certificates can be retrieved by using the [GET_REVOKED_CERT](#get_revoked_cert) query.
1386
+
1378
1387
- Who can send: Vendor account
1379
1388
- Vid field associated with the corresponding NOC root certificate on the ledger must be equal to the Vendor account's VID.
1380
1389
- Parameters:
@@ -1416,7 +1425,7 @@ already present on the ledger.
1416
1425
- Parameters:
1417
1426
- cert: `string` - The NOC non-root Certificate, encoded in X.509v3 PEM format. Can be a PEM string or a file path.
1418
1427
- certificate-schema-version: `optional(uint16)` - Certificate's schema version to support backward/forward compatability(default 0)
1419
-
- schemaVersion: `optional(uint16)` - Schema version to support backward/forward compatability(default 0)
1428
+
- schemaVersion: `optional(uint16)` - Schema version to support backward/forward compatability(default 0)
@@ -1433,6 +1442,9 @@ already present on the ledger.
1433
1442
This transaction revokes a NOC ICA certificate owned by the Vendor.
1434
1443
Revoked NOC ICA certificates can be re-added using the [ADD_NOC_ICA](#add_noc_ica) transaction.
1435
1444
1445
+
Revocation works as a soft-delete, meaning that the certificates are not entirely removed but moved from the approved list to the revoked list.
1446
+
Revoked certificates can be retrieved by using the [GET_REVOKED_CERT](#get_revoked_cert) query.
1447
+
1436
1448
- Who can send: Vendor account
1437
1449
- Vid field associated with the corresponding NOC certificate on the ledger must be equal to the Vendor account's VID.
1438
1450
- Validation:
@@ -1456,6 +1468,9 @@ Revoked NOC ICA certificates can be re-added using the [ADD_NOC_ICA](#add_noc_ic
1456
1468
1457
1469
Retrieve NOC root certificates associated with a specific VID.
1458
1470
1471
+
Revoked NOC root certificates are not returned.
1472
+
Use [GET_ALL_REVOKED_NOC_ROOT](#get_revoked_noc_root) to get a list of all revoked NOC root certificates.
1473
+
1459
1474
- Who can send: Any account
1460
1475
- Parameters:
1461
1476
- vid: `uint16` - Vendor ID (positive non-zero)
@@ -1470,6 +1485,9 @@ Retrieve NOC root certificates associated with a specific VID.
1470
1485
1471
1486
Retrieve NOC ICA certificates associated with a specific VID.
1472
1487
1488
+
Revoked certificates are not returned.
1489
+
Use [GET_ALL_REVOKED_CERT](#get_all_revoked_certs) to get a list of all revoked certificates.
1490
+
1473
1491
- Who can send: Any account
1474
1492
- Parameters:
1475
1493
- vid: `uint16` - Vendor ID (positive non-zero)
@@ -1484,6 +1502,8 @@ Retrieve NOC ICA certificates associated with a specific VID.
1484
1502
1485
1503
Gets a revoked NOC root certificate by the given subject and subject key ID attributes.
1486
1504
1505
+
Revocation works as a soft-delete, meaning that the certificates are not entirely removed but moved from the approved list to the revoked list.
1506
+
1487
1507
- Parameters:
1488
1508
- subject: `string` - Base64 encoded subject DER sequence bytes of the certificate.
1489
1509
- subject_key_id: `string` - Certificate's `Subject Key Id` in hex string format, e.g., `5A:88:0E:6C:36:53:D0:7F:B0:89:71:A3:F4:73:79:09:30:E6:2B:DB`.
@@ -1496,7 +1516,10 @@ Gets a revoked NOC root certificate by the given subject and subject key ID attr
1496
1516
1497
1517
**Status: Implemented**
1498
1518
1499
-
Retrieve a list of all of NOC root certificates
1519
+
Retrieve a list of all of NOC root certificates.
1520
+
1521
+
Revoked NOC root certificates are not returned.
1522
+
Use [GET_ALL_REVOKED_NOC_ROOT](#get_revoked_noc_root) to get a list of all revoked NOC root certificates.
1500
1523
1501
1524
- Who can send: Any account
1502
1525
- Parameters:
@@ -1512,6 +1535,9 @@ Retrieve a list of all of NOC root certificates
1512
1535
1513
1536
Retrieve a list of all of NOC ICA certificates
1514
1537
1538
+
Revoked certificates are not returned.
1539
+
Use [GET_ALL_REVOKED_CERT](#get_all_revoked_certs) to get a list of all revoked certificates.
1540
+
1515
1541
- Who can send: Any account
1516
1542
- Parameters:
1517
1543
- Common pagination parameters
@@ -1524,6 +1550,8 @@ Retrieve a list of all of NOC ICA certificates
1524
1550
1525
1551
Gets all revoked NOC root certificates.
1526
1552
1553
+
Revocation works as a soft-delete, meaning that the certificates are not entirely removed but moved from the approved list to the revoked list.
1554
+
1527
1555
- Who can send: Any account
1528
1556
- Parameters:
1529
1557
- Common pagination parameters
@@ -1538,9 +1566,9 @@ Gets all revoked NOC root certificates.
1538
1566
1539
1567
**Status: Implemented**
1540
1568
1541
-
Gets a certificate (either root or non-root) by the given subject and subject key ID attributes.
1569
+
Gets a certificate by the given subject and subject key ID attributes. This query works for all types of certificates (PAA, PAI, NOC_ROOT, NOC_ICA).
1542
1570
Revoked certificates are not returned.
1543
-
Use [GET_ALL_REVOKED_CERTS](#get_all_revoked_certs) to get a list of all revoked certificates.
1571
+
Use [GET_REVOKED_CERT](#get_revoked_cert) to get a revoked certificate.
1544
1572
1545
1573
- Parameters:
1546
1574
- subject: `string` - certificates's `Subject` is base64 encoded subject DER sequence bytes
@@ -1554,9 +1582,9 @@ Use [GET_ALL_REVOKED_CERTS](#get_all_revoked_certs) to get a list of all revoked
1554
1582
1555
1583
**Status: Implemented**
1556
1584
1557
-
Gets a revoked certificate (either root or non-root) by the given subject and subject key ID attributes.
1585
+
Gets a revoked certificate by the given subject and subject key ID attributes. This query works for all types of certificates (PAA, PAI, NOC_ROOT, NOC_ICA).
1558
1586
1559
-
Revocation here just means removing it from the ledger.
1587
+
Revocation works as a soft-delete, meaning that the certificates are not entirely removed but moved from the approved list to the revoked list.
1560
1588
If a Revocation Distribution Point (such as RFC5280 Certificate Revocation List) published to the ledger needs to be queried, please use [GET_PKI_REVOCATION_DISTRIBUTION_POINT](#get_pki_revocation_distribution_point).
1561
1589
1562
1590
- Parameters:
@@ -1571,7 +1599,7 @@ If a Revocation Distribution Point (such as RFC5280 Certificate Revocation List)
1571
1599
1572
1600
**Status: Implemented**
1573
1601
1574
-
Gets all certificates (either root or non-root) by the given subject key ID attribute.
1602
+
Gets all certificates by the given subject key ID attribute. This query works for all types of certificates (PAA, PAI, NOC_ROOT, NOC_ICA).
1575
1603
1576
1604
Revoked certificates are not returned.
1577
1605
Use `GET_ALL_REVOKED_CERTS` to get a list of all revoked certificates.
@@ -1587,7 +1615,7 @@ Use `GET_ALL_REVOKED_CERTS` to get a list of all revoked certificates.
1587
1615
1588
1616
**Status: Implemented**
1589
1617
1590
-
Gets all certificates (either root or non-root) associated with a subject.
1618
+
Gets all certificates associated with a subject. This query works for all types of certificates (PAA, PAI, NOC_ROOT, NOC_ICA).
1591
1619
1592
1620
Revoked certificates are not returned.
1593
1621
Use [GET_ALL_REVOKED_CERTS](#get_all_revoked_certs) to get a list of all revoked certificates.
@@ -1603,7 +1631,7 @@ Use [GET_ALL_REVOKED_CERTS](#get_all_revoked_certs) to get a list of all revoked
1603
1631
1604
1632
**Status: Implemented**
1605
1633
1606
-
Gets all child certificates for the given certificate.
1634
+
Gets all child certificates for the given certificate. This query works for both PAI and NOC_ICA.
1607
1635
Revoked certificates are not returned.
1608
1636
1609
1637
- Parameters:
@@ -1618,7 +1646,7 @@ Revoked certificates are not returned.
1618
1646
1619
1647
**Status: Implemented**
1620
1648
1621
-
Gets all certificates (both root and non-root).
1649
+
Gets all certificates. This query works for all types of certificates (PAA, PAI, NOC_ROOT, NOC_ICA).
1622
1650
1623
1651
Revoked certificates are not returned.
1624
1652
Use [GET_ALL_REVOKED_CERTS](#get_all_revoked_certs) to get a list of all revoked certificates.
@@ -1636,9 +1664,9 @@ Should be sent to trusted nodes only.
1636
1664
1637
1665
**Status: Implemented**
1638
1666
1639
-
Gets all revoked certificates (both root and non-root).
1667
+
Gets all revoked certificates. This query works for all types of certificates (PAA, PAI, NOC_ROOT, NOC_ICA).
1640
1668
1641
-
Revocation here just means removing it from the ledger.
1669
+
Revocation works as a soft-delete, meaning that the certificates are not entirely removed but moved from the approved list to the revoked list.
1642
1670
If a Revocation Distribution Point (such as RFC5280 Certificate Revocation List) published to the ledger needs to be queried, please use [GET_PKI_REVOCATION_DISTRIBUTION_POINT](#get_pki_revocation_distribution_point).
0 commit comments