package gnoi.certificate

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service CertificateManagement

cert.proto:29

The Certificate Management Service exported by targets. The service primarily exports two main RPCs, Install & Rotate which are used for installation of a new certificate, and rotation of an existing certificate on a target, along with a few management related RPCs.

message CSR

cert.proto:369

A Certificate Signing Request.

Used in: GenerateCSRResponse

message CSRParams

cert.proto:209

Parameters to be used when generating a Certificate Signing Request.

Used in: GenerateCSRRequest

message Certificate

cert.proto:358

A certificate.

Used in: CertificateInfo, LoadCertificateRequest

message CertificateInfo

cert.proto:305

Used in: GetCertificatesResponse

message CertificateRevocationError

cert.proto:331

An error message indicating why a certificate id could not be revoked.

Used in: RevokeCertificatesResponse

enum CertificateType

cert.proto:350

Types of certificates.

Used in: CSR, CSRParams, CanGenerateCSRRequest, Certificate

message Endpoint

cert.proto:394

An endpoint represents an entity on the target which can use a certificate.

Used in: CertificateInfo

enum Endpoint.Type

cert.proto:397

Type of endpoint that can use a cert. This list is to be extended based on conversation with vendors.

Used in: Endpoint

message FinalizeRequest

cert.proto:292

A Finalize message is sent to the target to confirm the Rotation of the certificate and that the certificate should not be rolled back when the RPC concludes. The certificate must be rolled back if the target returns an error after receiving a Finalize message.

Used in: RotateCertificateRequest

(message has no fields)

message GenerateCSRRequest

cert.proto:199

Request to generate the CSR. When this request is made for rotating an existing certificate as part of the Rotate() RPC, then the target must ensure that the "certificate_id" is already created and exists on the target. If the Certificate Rotation proceeds to load the certificate, it must associate the new certificate with the previously created "certificate_id". When this request is made for installing a completely new certificate as part of the Install() RPC , then the target must ensure that the "certificate_id" is completely new and no entities on the target are should be bound to this certificate_id. If any existing certificate matches the certificate_id, then this request should fail. If there is another ongoing Rotate/Install RPC with the same certificate_id, the GenerateCSRRequest should fail.

Used in: InstallCertificateRequest, RotateCertificateRequest

message GenerateCSRResponse

cert.proto:244

GenerateCSRResponse contains the CSR associated with the Certificate ID supplied in the GenerateCSRRequest. When a Certificate is subsequently installed on the target in the same streaming RPC session, it must be associated to that Certificate ID. An Unimplemented error will be returned if the target cannot generate a CSR as per the request. In this case, the caller must generate its own key pair.

Used in: InstallCertificateResponse, RotateCertificateResponse

message KeyPair

cert.proto:380

A message representing a pair of public/private keys.

Used in: LoadCertificateRequest

enum KeyType

cert.proto:386

Algorithm to be used for generation the key pair.

Used in: CSRParams, CanGenerateCSRRequest

message LoadCertificateRequest

cert.proto:262

LoadCertificateRequest instructs the target to store the given certificate. Case 1: Target Generated CSR and Key Pair. If the target generated the CSR (and the public/private key pair) during the GenerateCSR request, then the target must associate the certificate with the certificate ID specified in the preceding GenerateCSR request. Case 2: Externally Generated Key Pair. If the target can not generate a CSR, then the public/private key pair is generated externally. In this case provide the target with the key pair, and the certificate_id to be associated with the new certificate. If there is another ongoing Rotate/Install RPC with the same certificate_id, the LoadCertificateRequest must fail.

Used in: InstallCertificateRequest, RotateCertificateRequest

message LoadCertificateResponse

cert.proto:285

Response from target after Loading a Certificate. If the target could not load the certificate, it must end the RPC stream with a suitable RPC error about why the Certificate was not loaded.

Used in: InstallCertificateResponse, RotateCertificateResponse

(message has no fields)