Crypto Server
    Preparing search index...

    Variable STREAM_MULTI_PQ_ENCRYPT_SCHEMAConst

    STREAM_MULTI_PQ_ENCRYPT_SCHEMA: {
        tags: string[];
        summary: string;
        description: string;
        body: {
            type: string;
            required: string[];
            additionalProperties: boolean;
            properties: {
                recipients: {
                    type: string;
                    minItems: number;
                    maxItems: number;
                    items: {
                        type: string;
                        required: string[];
                        additionalProperties: boolean;
                        properties: {
                            recipientId: { type: string; minLength: number; maxLength: number };
                            x25519PublicKey: {
                                type: string;
                                minLength: number;
                                maxLength: number;
                            };
                            mlKemPublicKey: { type: string; minLength: number };
                        };
                    };
                };
                plaintext: { type: string; minLength: number };
                chunkSize: { type: string; minimum: number; maximum: number };
            };
        };
        response: {
            "200": {
                type: "object";
                description: string;
                required: string[];
                properties: { data: unknown };
            };
        };
    } = ...

    Request schema for POST /v2/stream/multi-pq-encrypt.

    Type Declaration

    • tags: string[]
    • summary: string
    • description: string
    • body: {
          type: string;
          required: string[];
          additionalProperties: boolean;
          properties: {
              recipients: {
                  type: string;
                  minItems: number;
                  maxItems: number;
                  items: {
                      type: string;
                      required: string[];
                      additionalProperties: boolean;
                      properties: {
                          recipientId: { type: string; minLength: number; maxLength: number };
                          x25519PublicKey: { type: string; minLength: number; maxLength: number };
                          mlKemPublicKey: { type: string; minLength: number };
                      };
                  };
              };
              plaintext: { type: string; minLength: number };
              chunkSize: { type: string; minimum: number; maximum: number };
          };
      }
    • response: {
          "200": {
              type: "object";
              description: string;
              required: string[];
              properties: { data: unknown };
          };
      }