cisco IOS XE 17.16.x — Install RPC

CSRParams csr_params = 1; // The certificate id with which this CSR will be associated. The target // configuration should bind an entity which wants to use a certificate to // the certificate_id it should use. string certificate_id = 2; } // Parameters to be used when generating a Certificate Signing Request. message CSRParams { // The type of certificate which will be associated for this CSR. CertificateType type = 1; // Minimum size of the key to be used by the target when generating a // public/private key pair. uint32 min_key_size = 2; // If provided, the target must use the provided key type.

If the target // cannot use the algorithm specified in the key_type, it should cancel the // stream with an Unimplemented error. KeyType key_type = 3; // --- common set of parameters applicable for any type of certificate --- // string common_name = 4; // e.g "device.corp.google.com" string country = 5; // e.g "US" string state = 6; // e.g "CA" string city = 7; // e.g "Mountain View" string organization = 8; // e.g "Google" string organizational_unit = 9; // e.g "Security" string ip_address = 10; string email_id = 11; } // A certificate. message Certificate { // Type of certificate. CertificateType type = 1; // Actual certificate. // The exact encoding depends upon the type of certificate.

// for X509, this should be a PEM encoded Certificate. bytes certificate = 2; } message LoadCertificateRequest { // The certificate to be Loaded on the target. Certificate certificate = 1; // The key pair to be used with the certificate. This is provided in the event // that the target cannot generate a CSR (and the corresponding public/private // keys). KeyPair key_pair = 2; // Certificate Id of the above certificate. This is to be provided only when // there is an externally generated key pair. string certificate_id = 3; // Optional pool of CA certificates to be used for authenticating the client.

repeated Certificate ca_certificate = 4; } // A message representing a pair of public/private keys. message KeyPair { bytes private_key = 1; bytes public_key = 2; } Model-Driven Programmability Install RPC Programmability Configuration Guide, Cisco IOS XE 17.16.x 277