Era.Common.DataDefinition.Security.CertificateAttributes
Description
Holds certificate attributes that will be used during signing process.
Properties
Name |
JsonSchemaType |
Description |
commonName |
string |
Common name, e.g. Server (There can be additional requirements on content). |
countryName |
string |
Country, 2 character code, e.g. SK. |
localityName |
string |
Locality, e.g. Bratislava. |
organizationName |
string |
Organization, e.g. ESET. |
organizationalUnitName |
string |
Organizational unit, e.g. Remote Administrator. |
stateOrProvinceName |
string |
State, e.g. Slovakia. |
validFrom |
reference to Era.Common.DataDefinition.Common.UTCTime |
Valid from time. |
validTo |
reference to Era.Common.DataDefinition.Common.UTCTime |
Valid to time. |
Dual message (request/response)
No dual message.Referenced in messages
Era.Common.NetworkMessage.ConsoleApi.Security.RpcCreateCertificateRequestAndPrivateKeyRequest
Era.Common.NetworkMessage.ConsoleApi.Security.RpcCreateCertificationAuthorityRequest
Era.Common.NetworkMessage.ConsoleApi.Security.RpcCreatePeerCertificateAndPrivateKeyRequest
JsonSchema
{
"title": "Era.Common.DataDefinition.Security.CertificateAttributes",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"required": [
"Era.Common.DataDefinition.Security.CertificateAttributes"
],
"properties": {
"Era.Common.DataDefinition.Security.CertificateAttributes": {
"$ref": "#/definitions/CertificateAttributes"
}
},
"definitions": {
"CertificateAttributes": {
"additionalProperties": false,
"required": [
"commonName",
"countryName",
"localityName",
"organizationName",
"organizationalUnitName",
"stateOrProvinceName",
"validFrom",
"validTo"
],
"type": "object",
"properties": {
"commonName": {
"maxLength": 64,
"minLength": 1,
"pattern": "^[^;]*$",
"type": "string"
},
"countryName": {
"type": "string"
},
"localityName": {
"type": "string"
},
"organizationName": {
"type": "string"
},
"organizationalUnitName": {
"type": "string"
},
"stateOrProvinceName": {
"type": "string"
},
"validFrom": {
"$ref": "Era.Common.DataDefinition.Common.UTCTime#/definitions/UTCTime"
},
"validTo": {
"$ref": "Era.Common.DataDefinition.Common.UTCTime#/definitions/UTCTime"
}
}
}
}
}