]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/Certificate.pm
cert: add public key type & size to JSON schema
[pve-common.git] / src / PVE / Certificate.pm
index 65c5c8f6f2f5c2a1e73d7236b9229dc76b56bd1f..5ab920f24869a4aff5cc7920232445a961e5d62b 100644 (file)
@@ -78,6 +78,16 @@ PVE::JSONSchema::register_standard_option('pve-certificate-info', {
            format => 'pem-certificate',
            optional => 1,
        },
+       'public-key-type' => {
+           type => 'string',
+           description => 'Certificate\'s public key algorithm',
+           optional => 1,
+       },
+       'public-key-bits' => {
+           type => 'integer',
+           description => 'Certificate\'s public key size',
+           optional => 1,
+       },
     },
 });