Package: directory
The ski package is the protobuf designed for common e2ee applications.
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 retriving 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 retriving 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/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. |