Era.Common.DataDefinition.Security.PeerCertificateCreationAttributes

Description

Holds peer certificate information that is used during signing process.

Properties

Name JsonSchemaType Description
certificationAuthorityPassPhrase string Password for decryption certificate authority's private key.
certificationAuthorityPfxBlob string Blob of external certificate authority. Set only UUID or blob for the certificate authority.
certificationAuthorityUuid reference to Era.Common.DataDefinition.Common.Uuid UUID of internal certificate authority.
host string Hosts that will be put into subject alternative name extension in peer certificate. Hosts can be delimited by ';' or ',' or ' '.
product enum of Era.Common.DataDefinition.Common.Product Product for which peer certificate will be issued. Product will be checked in peer certificate common name.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.NetworkMessage.ConsoleApi.Security.RpcCreatePeerCertificateAndPrivateKeyRequest

JsonSchema

{
    "title": "Era.Common.DataDefinition.Security.PeerCertificateCreationAttributes",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Security.PeerCertificateCreationAttributes"
    ],
    "properties": {
        "Era.Common.DataDefinition.Security.PeerCertificateCreationAttributes": {
            "$ref": "#/definitions/PeerCertificateCreationAttributes"
        }
    },
    "definitions": {
        "PeerCertificateCreationAttributes": {
            "oneOf": [
                {
                    "required": [
                        "certificationAuthorityPfxBlob"
                    ]
                },
                {
                    "required": [
                        "certificationAuthorityUuid"
                    ]
                }
            ],
            "additionalProperties": false,
            "required": [
                "certificationAuthorityPassPhrase",
                "host",
                "product"
            ],
            "type": "object",
            "properties": {
                "certificationAuthorityPassPhrase": {
                    "type": "string"
                },
                "certificationAuthorityPfxBlob": {
                    "type": "string"
                },
                "certificationAuthorityUuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                },
                "host": {
                    "maxLength": 1024,
                    "type": "string"
                },
                "product": {
                    "enum": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9
                    ]
                }
            }
        }
    }
}