From: Alwin Antreich Date: Mon, 22 Jul 2019 15:11:38 +0000 (+0200) Subject: cert: add public key type & size to JSON schema X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=96ab1135fe8093e2fd33e9e152a8c062a00b24a0 cert: add public key type & size to JSON schema Signed-off-by: Alwin Antreich --- diff --git a/src/PVE/Certificate.pm b/src/PVE/Certificate.pm index 65c5c8f..5ab920f 100644 --- a/src/PVE/Certificate.pm +++ b/src/PVE/Certificate.pm @@ -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, + }, }, });