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
+17-17
Original file line number
Diff line number
Diff line change
@@ -315,7 +315,7 @@ If one of `OTA_URl`, `OTA_checksum` or `OTA_checksum_type` fields is set, then t
315
315
- pid: `uint16` - model product ID (positive non-zero)
316
316
- softwareVersion: `uint32` - model software version
317
317
- softwareVersionSting: `string` - model software version string
318
-
- cdVersionNumber `uint32` - CD Version Number of the certification
318
+
- cdVersionNumber `uint16` - CD Version Number of the certification
319
319
- minApplicableSoftwareVersion `uint32` - MinApplicableSoftwareVersion should specify the lowest SoftwareVersion for which this image can be applied
320
320
- maxApplicableSoftwareVersion `uint32` - MaxApplicableSoftwareVersion should specify the highest SoftwareVersion for which this image can be applied
321
321
- firmwareInformation `optional(string)` - FirmwareInformation field included in the Device Attestation response when this Software Image boots on the device
@@ -860,7 +860,7 @@ The PAA certificate is immutable. It can only be revoked by either the owner or
860
860
- Parameters:
861
861
- cert: `string` - PEM encoded certificate. The corresponding CLI parameter can contain either a PEM string or a path to a file containing the data.
862
862
- info: `optional(string)` - information/notes for the proposal. Can contain up to 4096 characters.
863
-
- time: `optional(int64)` - proposal time (number of nanoseconds elapsed since January 1, 1970 UTC). CLI uses the current time for that field.
863
+
- time: `optional(int64)` - proposal time (number of nanoseconds elapsed since January 1, 1970 UTC). This field cannot be specified using a CLI command and will use the current time by default.
864
864
- vid: `uint16` - Vendor ID (positive non-zero). Must be equal to the Certificate's `vid` field for VID-scoped PAA.
865
865
- schemaVersion: `optional(uint16)` - Certificate's schema version to support backward/forward compatability(default 0)
866
866
- In State: `pki/ProposedCertificate/value/<Certificate's Subject>/<Certificate's Subject Key ID>`
@@ -891,7 +891,7 @@ The PAA certificate is not active until sufficient number of Trustees approve it
891
891
- subject: `string` - proposed certificates's `Subject` is base64 encoded subject DER sequence bytes.
892
892
- subject_key_id: `string` - proposed certificates'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`.
893
893
- info: `optional(string)` - information/notes for the approval. Can contain up to 4096 characters.
894
-
- time: `optional(int64)` - approval time (number of nanoseconds elapsed since January 1, 1970 UTC). CLI uses the current time for that field.
894
+
- time: `optional(int64)` - proposal time (number of nanoseconds elapsed since January 1, 1970 UTC). This field cannot be specified using a CLI command and will use the current time by default.
895
895
- In State: `pki/ApprovedCertificates/value/<Certificate's Subject>/<Certificate's Subject Key ID>`.
896
896
- Number of required approvals:
897
897
- greater than or equal 2/3 of Trustees (proposal by a Trustee is also counted as an approval)
@@ -918,7 +918,7 @@ The certificate is not reject until sufficient number of Trustees reject it.
918
918
- subject_key_id: `string` - proposed certificates's `Subject Key Id` in hex string format, e.g:
- info: `optional(string)` - information/notes for the reject. Can contain up to 4096 characters.
921
-
- time: `optional(int64)` - reject time (number of nanoseconds elapsed since January 1, 1970 UTC). CLI uses the current time for that field.
921
+
- time: `optional(int64)` - reject time (number of nanoseconds elapsed since January 1, 1970 UTC). This field cannot be specified using a CLI command and will use the current time by default.
922
922
- In State: `pki/RejectedCertificates/value/<Certificate's Subject>/<Certificate's Subject Key ID>`
923
923
- Number of required rejects:
924
924
- more than 1/3 of Trustees
@@ -952,7 +952,7 @@ then the certificate will be in a pending state until sufficient number of other
952
952
- serial-number: `optional(string)` - certificate's serial number.
953
953
- revoke-child: `optional(bool)` - to revoke child certificates in the chain - default is false.
954
954
- info: `optional(string)` - information/notes for the revocation proposal. Can contain up to 4096 characters.
955
-
- time: `optional(int64)` - revocation proposal time (number of nanoseconds elapsed since January 1, 1970 UTC). CLI uses the current time for that field.
955
+
- time: `optional(int64)` - revocation proposal time (number of nanoseconds elapsed since January 1, 1970 UTC). This field cannot be specified using a CLI command and will use the current time by default.
956
956
- In State: `pki/ProposedCertificateRevocation/value/<Certificate's Subject>/<Certificate's Subject Key ID>`
@@ -982,7 +982,7 @@ The revocation is not applied until sufficient number of Trustees approve it.
982
982
- subject_key_id: `string` - certificates'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`.
983
983
- serial-number: `optional(string)` - certificate's serial number.
984
984
- info: `optional(string)` - information/notes for the revocation approval. Can contain up to 4096 characters.
985
-
- time: `optional(int64)` - revocation approval time (number of nanoseconds elapsed since January 1, 1970 UTC). CLI uses the current time for that field.
985
+
- time: `optional(int64)` - revocation approval time (number of nanoseconds elapsed since January 1, 1970 UTC). This field cannot be specified using a CLI command and will use the current time by default.
986
986
- In State: `pki/RevokedCertificates/value/<Certificate's Subject>/<Certificate's Subject Key ID>`
987
987
- Number of required approvals:
988
988
- greater than or equal 2/3 of Trustees (proposal by a Trustee is also counted as an approval)
@@ -1005,7 +1005,7 @@ Assigns a Vendor ID (VID) to non-VID scoped PAAs (self-signed root certificate)
1005
1005
- subject_key_id: `string` - certificates'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`.
1006
1006
- vid: `uint16` - Vendor ID (positive non-zero). Must be the same as `vid` field in the VID-scoped PAA certificate.
- PAA Certificate with the provided `subject` and `subject_key_id` must exist in the ledger.
1011
1011
- If the PAA is a VID scoped one, then the `vid` field must be equal to the VID value in the PAA's subject.
@@ -1160,7 +1160,7 @@ Root certificates can not be revoked this way, use [PROPOSE_REVOKE_PAA](#propos
1160
1160
- serial-number: `optional(string)` - certificate's serial number.
1161
1161
- revoke-child: `optional(bool)` - to revoke child certificates in the chain - default is false.
1162
1162
- info: `optional(string)` - information/notes for the revocation. Can contain up to 4096 characters.
1163
-
- time: `optional(int64)` - revocation time (number of nanoseconds elapsed since January 1, 1970 UTC). CLI uses the current time for that field.
1163
+
- time: `optional(int64)` - revocation time (number of nanoseconds elapsed since January 1, 1970 UTC). This field cannot be specified using a CLI command and will use the current time by default.
1164
1164
- In State: `pki/RevokedCertificates/value/<Certificate's Subject>/<Certificate's Subject Key ID>`
@@ -1402,7 +1402,7 @@ Revoked certificates can be retrieved by using the [GET_REVOKED_CERT](#get_revok
1402
1402
- serial_number: `optional(string)` - certificate's serial number. If not provided, the transaction will revoke all certificates that match the given `subject` and `subject_key_id` combination.
1403
1403
- revoke-child: `optional(bool)` - if true, then all certificates in the chain signed by the revoked certificate (intermediate, leaf) are revoked as well. If false, only the current root cert is revoked (default: false).
1404
1404
- info: `optional(string)` - information/notes for the revocation. Can contain up to 4096 characters.
1405
-
- time: `optional(int64)` - revocation time (number of nanoseconds elapsed since January 1, 1970 UTC). CLI uses the current time for that field.
1405
+
- time: `optional(int64)` - revocation time (number of nanoseconds elapsed since January 1, 1970 UTC). This field cannot be specified using a CLI command and will use the current time by default.
@@ -1483,7 +1483,7 @@ Revoked certificates can be retrieved by using the [GET_REVOKED_CERT](#get_revok
1483
1483
- serial_number: `optional(string)` - certificate's serial number. If not provided, the transaction will revoke all certificates that match the given `subject` and `subject_key_id` combination.
1484
1484
- revoke-child: `optional(bool)` - if true, then all certificates in the chain signed by the revoked certificate (leaf) are revoked as well. If false, only the current cert is revoked (default: false).
1485
1485
- info: `optional(string)` - information/notes for the revocation. Can contain up to 4096 characters.
1486
-
- time: `optional(int64)` - revocation time (number of nanoseconds elapsed since January 1, 1970 UTC). CLI uses the current time for that field.
1486
+
- time: `optional(int64)` - revocation time (number of nanoseconds elapsed since January 1, 1970 UTC). This field cannot be specified using a CLI command and will use the current time by default.
@@ -1761,12 +1761,12 @@ will be in a pending state until sufficient number of approvals is received.
1761
1761
- pid_ranges: `optional(array<uint16 range>)` - the list of product-id ranges (range item separated with "-"), comma-separated, in increasing order, associated with this account: `1-100,201-300...`
1762
1762
- roles: `array<string>` - the list of roles, comma-separated, assigning to the account. Supported roles: `Vendor`, `TestHouse`, `CertificationCenter`, `Trustee`, `NodeAdmin`, `VendorAdmin`.
1763
1763
- info: `optional(string)` - information/notes for the proposal
1764
-
- time: `optional(int64)` - proposal time (number of nanoseconds elapsed since January 1, 1970 UTC). CLI uses the current time for that field.
1764
+
- time: `optional(int64)` - proposal time (number of nanoseconds elapsed since January 1, 1970 UTC). This field cannot be specified using a CLI command and will use the current time by default.
1765
1765
- In State: `dclauth/PendingAccount/value/<address>`
- info: `optional(string)` - information/notes for the approval
1782
-
- time: `optional(int64)` - approval time (number of nanoseconds elapsed since January 1, 1970 UTC). CLI uses the current time for that field.
1782
+
- time: `optional(int64)` - approval time (number of nanoseconds elapsed since January 1, 1970 UTC). This field cannot be specified using a CLI command and will use the current time by default.
1783
1783
- In State: `dclauth/Account/value/<address>`
1784
1784
- Who can send:
1785
1785
- Trustee
@@ -1804,7 +1804,7 @@ The account is not reject until sufficient number of Trustees reject it.
- info: `optional(string)` - information/notes for the reject
1807
-
- time: `optional(int64)` - reject time (number of nanoseconds elapsed since January 1, 1970 UTC). CLI uses the current time for that field.
1807
+
- time: `optional(int64)` - reject time (number of nanoseconds elapsed since January 1, 1970 UTC). This field cannot be specified using a CLI command and will use the current time by default.
1808
1808
- In State: `dclauth/RejectedAccount/value/<address>`
1809
1809
- Who can send:
1810
1810
- Trustee
@@ -1826,7 +1826,7 @@ will be in a pending state until sufficient number of approvals is received.
- info: `optional(string)` - information/notes for the revocation proposal
1829
-
- time: `optional(int64)` - revocation proposal time (number of nanoseconds elapsed since January 1, 1970 UTC). CLI uses the current time for that field.
1829
+
- time: `optional(int64)` - revocation proposal time (number of nanoseconds elapsed since January 1, 1970 UTC). This field cannot be specified using a CLI command and will use the current time by default.
1830
1830
- In State: `dclauth/Account/value/<address>`
1831
1831
- Who can send:
1832
1832
- Trustee
@@ -1844,7 +1844,7 @@ The account is not revoked until sufficient number of Trustees approve it.
- info: `optional(string)` - information/notes for the revocation approval
1847
-
- time: `optional(int64)` - revocation approval time (number of nanoseconds elapsed since January 1, 1970 UTC). CLI uses the current time for that field.
1847
+
- time: `optional(int64)` - revocation approval time (number of nanoseconds elapsed since January 1, 1970 UTC). This field cannot be specified using a CLI command and will use the current time by default.
0 commit comments