Protocol Documentation
Table of Contents
- directory/E2eeDirectoryService.proto
- directory/E2eeDomainProfile.proto
- directory/LookupDomainProfileRequest.proto
- directory/LookupDomainProfileResponse.proto
- directory/RetrieveCertListRequest.proto
- directory/RetrieveCertListResponse.proto
- directory/RetrieveCertRequest.proto
- directory/RetrieveCertResponse.proto
- directory/RetrieveDomainListRequest.proto
- directory/RetrieveDomainListResponse.proto
- directory/ValidateCertRequest.proto
- directory/ValidateCertResponse.proto
- Scalar Value Types
directory/E2eeDirectoryService.proto
E2eeDirectoryService
The directory unary grpc service.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| LookupDomainProfile | LookupDomainProfileRequest | LookupDomainProfileResponse | |
| RetrieveCert | RetrieveCertRequest | RetrieveCertResponse | |
| RetrieveCertList | RetrieveCertListRequest | RetrieveCertListResponse | |
| ValidateCert | ValidateCertRequest | ValidateCertResponse | |
| RetrieveDomainList | RetrieveDomainListRequest | RetrieveDomainListResponse |
directory/E2eeDomainProfile.proto
E2eeDomainProfile
Profile of an e2ee service domain.
| Field | Type | Label | Description |
|---|---|---|---|
| api_server_grpc | ServiceConnection | The grpc api server host:port. | |
| api_server_http | ServiceConnection | The http api server host:port. | |
| file_server_grpc | ServiceConnection | The reserved grpc file server host:port. | |
| file_server_http | ServiceConnection | The http file server host:port. | |
| backup_server_grpc | ServiceConnection | The optional grpc backup server host:port. | |
| backup_server_http | ServiceConnection | The optional http backup server host:port. | |
| streaming_server | ServiceConnection | The optional streaming server url. |
ServiceConnection
| Field | Type | Label | Description |
|---|---|---|---|
| api | string | The api style (ex: restful, grpc, ws). | |
| host | string | The host. | |
| port | int32 | The port. |
directory/LookupDomainProfileRequest.proto
LookupDomainProfileRequest
Request for looking up an e2ee service profile.
| Field | Type | Label | Description |
|---|---|---|---|
| domain | string | The domain for retriving the profile. |
directory/LookupDomainProfileResponse.proto
LookupDomainProfileResponse
Response for looking up an e2ee service profile.
| Field | Type | Label | Description |
|---|---|---|---|
| code | e2ees.ResponseCode | The response code. | |
| msg | string | Optional response message. | |
| profile | E2eeDomainProfile | The returned e2ee service profile. |
directory/RetrieveCertListRequest.proto
RetrieveCertListRequest
Request for retrieving list of certificates by giving time stamp.
| Field | Type | Label | Description |
|---|---|---|---|
| ts | int64 | The timestamp for retriving the certificates that is updated later. |
directory/RetrieveCertListResponse.proto
RetrieveCertListResponse
Response for retrieving list of certificates.
| Field | Type | Label | Description |
|---|---|---|---|
| code | e2ees.ResponseCode | The response code. | |
| msg | string | Optional response message. | |
| certificate_list | e2ees.Certificate | repeated | The returned list of certificates. |
directory/RetrieveCertRequest.proto
RetrieveCertRequest
Request for retrieving a certificate by domain.
| Field | Type | Label | Description |
|---|---|---|---|
| domain | string | The domain for retriving the profile. |
directory/RetrieveCertResponse.proto
RetrieveCertResponse
Response for retrieving a certificate.
| Field | Type | Label | Description |
|---|---|---|---|
| code | e2ees.ResponseCode | The response code. | |
| msg | string | Optional response message. | |
| certificate | e2ees.Certificate | The returned certificate. |
directory/RetrieveDomainListRequest.proto
RetrieveDomainListRequest
Request for retrieving a list of e2ee server domains.
directory/RetrieveDomainListResponse.proto
RetrieveDomainListResponse
Response for retrieving list of e2ee server domains.
| Field | Type | Label | Description |
|---|---|---|---|
| code | e2ees.ResponseCode | The response code. | |
| msg | string | Optional response message. | |
| domain_list | string | repeated | The returned list of e2ee server domains. |
directory/ValidateCertRequest.proto
ValidateCertRequest
Request for validating a certificate by domain.
| Field | Type | Label | Description |
|---|---|---|---|
| domain | string | The domain for retriving the profile. | |
| cert_fingerprint | bytes | The hash value as the fingerprint of cert that is being validated. |
directory/ValidateCertResponse.proto
ValidateCertResponse
Response for validating a certificate.
| Field | Type | Label | Description |
|---|---|---|---|
| code | e2ees.ResponseCode | The response code. | |
| msg | string | Optional response message. |