cert: add public key type & size to JSON schema
authorAlwin Antreich <a.antreich@proxmox.com>
Mon, 22 Jul 2019 15:11:38 +0000 (17:11 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Jul 2019 06:39:33 +0000 (08:39 +0200)
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
src/PVE/Certificate.pm

index 65c5c8f..5ab920f 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,
+       },
     },
 });