AsyncRPC: RPC Encapsulation in Relaynet
- Id: RS-011.
- Status: Working draft.
- Type: Implementation.
AsyncRPC is a Relaynet service whose messages are Application Layer packets such as HTTP requests, HTTP responses, SMTP messages, amongst others. Its purpose is to facilitate the integration of Relaynet in pre-existing, centralised services by keeping the server-side unchanged with the use of a server-side adapter.
Table of contents
POP3Retrieve. Retrieves only the specified email(s).
POP3RetrieveNew. Retrieves only the emails that haven’t been retrieved (but requires listing all the emails that have been retrieved already).
POP3Delete. Deletes the specified email(s).
Connects to the specified netloc over TCP, dumps the specified payload, saves any output from the server and finally waits for the server to close the connection (unless the specified timeout is reached). The output from the server is returned to the origin application as another message.
Connects to the specified netloc over UDP and dumps the specified payload.
TLS and DTLS
(D)TLS can be enforced. Server certificate validation can’t be disabled, but a custom certificate store can be specified.
The client may optionally request that the following data be returned in order to check that the server indeed returned the specified response:
- All the relevant parameters established in the TLS handshake. For example, the server’s certificate chain, nonces and the master secret.
- The raw response signed by the server.
(Inspired by TLSNotary)
Client-side certificates can be specified.