Era.Common.NetworkMessage.ConsoleApi.Security.RpcCreatePeerCertificateAndPrivateKeyRequest

Description

Request for create peer certificate operation (signing).

Properties

Name JsonSchemaType Description
certificateAttributes reference to Era.Common.DataDefinition.Security.CertificateAttributes Peer certificate attributes.
description string Peer certificate description.
passPhrase string Password for encrypting peer certificate PFX (PKCS12).
peerCertificateCreationAttributes reference to Era.Common.DataDefinition.Security.PeerCertificateCreationAttributes Signing attributes.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Security.RpcCreatePeerCertificateAndPrivateKeyResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Security.RpcCreatePeerCertificateAndPrivateKeyRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Security.RpcCreatePeerCertificateAndPrivateKeyRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Security.RpcCreatePeerCertificateAndPrivateKeyRequest": {
            "$ref": "#/definitions/RpcCreatePeerCertificateAndPrivateKeyRequest"
        }
    },
    "definitions": {
        "RpcCreatePeerCertificateAndPrivateKeyRequest": {
            "additionalProperties": false,
            "required": [
                "certificateAttributes",
                "passPhrase",
                "peerCertificateCreationAttributes"
            ],
            "type": "object",
            "properties": {
                "certificateAttributes": {
                    "$ref": "Era.Common.DataDefinition.Security.CertificateAttributes#/definitions/CertificateAttributes"
                },
                "description": {
                    "maxLength": 1024,
                    "pattern": "\\s*.{1,}\\s*",
                    "type": "string"
                },
                "passPhrase": {
                    "type": "string"
                },
                "peerCertificateCreationAttributes": {
                    "$ref": "Era.Common.DataDefinition.Security.PeerCertificateCreationAttributes#/definitions/PeerCertificateCreationAttributes"
                }
            }
        }
    }
}