schemas.schema-form.json Maven / Gradle / Ivy
{
"type" : "object",
"id" : "urn:jsonschema:io:gravitee:am:certificate:pkcs12:PKCS12Configuration",
"description": "Configure your PKCS#12 certificate.",
"properties" : {
"content" : {
"title": "PKCS#12 file",
"description": "PKCS file",
"type" : "string",
"widget" : "file"
},
"storepass" : {
"title": "Keystore password",
"description": "The password which is used to protect the integrity of the keystore.",
"type" : "string",
"sensitive" : true
},
"alias" : {
"title": "Key alias",
"description": "Alias which identify the keystore entry.",
"type" : "string"
},
"keypass" : {
"title": "Key password",
"description": "The password used to protect the private key of the generated key pair.",
"type" : "string",
"sensitive" : true
},
"algorithm" : {
"title": "Signing algorithm",
"description": "The algorithm used to sign the JWT tokens.",
"type" : "string",
"enum" : [
"ES256",
"ES384",
"ES512",
"RS256",
"RS384",
"RS512",
"PS256",
"PS384",
"PS512"
],
"x-schema-form": {
"type": "select",
"titleMap": {
"ES256": "ES256 (ECDSA using P-256 and SHA-256)",
"ES384": "ES384 (ECDSA using P-384 and SHA-384)",
"ES512": "ES512 (ECDSA using P-512 and SHA-512)",
"RS256": "RS256 (RSASSA-PKCS1-v1_5 using SHA-256)",
"RS384": "RS384 (RSASSA-PKCS1-v1_5 using SHA-384)",
"RS512": "RS512 (RSASSA-PKCS1-v1_5 using SHA-512)",
"PS256": "PS256 (RSASSA-PSS using SHA-256 and MGF1 with SHA-256)",
"PS384": "PS384 (RSASSA-PSS using SHA-384 and MGF1 with SHA-384)",
"PS512": "PS512 (RSASSA-PSS using SHA-512 and MGF1 with SHA-512)"
}
}
},
"use" : {
"title": "Usage",
"description": "The intended use of the public key (Signature or Encryption : see https://datatracker.ietf.org/doc/html/rfc7517#section-4.2)",
"type" : "array",
"items":
{
"type": "string",
"enum": [
"sig",
"enc",
"mtls"]
},
"x-schema-form": {
"titleMap": {
"sig": "Signature",
"enc": "Encryption",
"mtls": "mTLS"
}
}
}
},
"required": [
"content",
"storepass",
"alias",
"keypass"
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy