Skip to content

Commit 283b02d

Browse files
committed
feat: update readme
1 parent 998e181 commit 283b02d

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,13 @@ class MainActivity : AppCompatActivity() {
8686

8787
### Handshake Result
8888

89-
| HandshakeResult | Description
89+
| UpdateResult | Description
9090
| - | -
91-
| OK | <ul><li>Everything is OK;</li><li>No Action is required;</li></ul>
92-
| STORE_IS_EMPTY | <ul><li>The update request succeeded;</li><li>Result is still an empty list of certificates;</li><li>May loading & validating of remote data succeeded;</li><li>All loaded certificates are already expired;</li><li>All loaded certificates are already expired;</li></ul>
93-
| NETWORK_ERROR | The update request failed on a network communication.
94-
| INVALID_DATA | The update request returned the data which did not pass the signature validation.
95-
| INVALID_SIGNATURE | The update request returned the data which did not pass the signature validation.
96-
| INVALID_URL_SERVICE | The url service does not exist or is invalid.
91+
| OK | <ul><li>Update succeeded;</li><li>No Action is required;</li></ul>
92+
| STORE_IS_EMPTY | <ul><li>[CertStore] is empty;</li><li>There's no valid certificate fingerprint to validate server cert against;</li><li>Might happen when all the certificate fingerprints are already expired;</li><li>All loaded certificates are already expired;</li>
93+
| NETWORK_ERROR | There was an error in network communication with the server.
94+
| INVALID_DATA | The update request returned invalid data from the server.
95+
| INVALID_SIGNATURE | The update request returned data which did not pass the signature validation.
9796

9897
## To contribute and make it better
9998

0 commit comments

Comments
 (0)