StaticcreateCreates a ClaimAbort command payload.
Uint8Array payload
StaticcreateCreates a ClaimInit request to get more CSR data (continuation request).
Uint8Array payload
StaticcreateCreates a ClaimInit command payload with data from cloud.
The data string to send (from cloud initiate response)
Uint8Array payload
StaticcreateCreates a ClaimStart command payload. Android sends: msg=TypeCmdClaimStart + empty cmdPayload
Uint8Array payload
StaticcreateCreates a ClaimVerify command payload with certificate data.
The certificate string to send
Current offset for chunked transfer
Size of each chunk
Uint8Array payload
StaticextractExtracts the payload string from a response.
The parsed response
The payload as a string, or empty string if not available
StaticgetGets the offset from a response.
The parsed response
The offset value
StaticgetReturns the device's status as its enum name, for diagnostics. The device
distinguishes causes here: InvalidParam for a payload it rejected,
InvalidState for a request out of order, NoMemory for an oversized
fragment.
The parsed response
The status name, or "Unknown" when absent
StaticgetGets the total length from a response.
The parsed response
The total length value
StaticisChecks if the response indicates success.
The parsed response
true if status is Success
StaticparseParses a claiming response from the device.
The response data as Uint8Array
Parsed RMakerClaimPayload
Helper class for encoding/decoding claiming protobuf messages. This is a simplified implementation that creates/parses the proto format.