/*!
    \file    atcmd_ota_certs.c
    \brief   SSL certificate for GD32VW55x SDK

    \version 2023-5-20, V1.0.0, firmware for GD32VW55x
*/

/*
    Copyright (c) 2023, GigaDevice Semiconductor Inc.

    Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice, this
       list of conditions and the following disclaimer.
    2. Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
    3. Neither the name of the copyright holder nor the names of its contributors
       may be used to endorse or promote products derived from this software without
       specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.
*/

#include "app_cfg.h"
#ifdef CONFIG_ATCMD_OTA_DEMO

static const char ecs_ca_crt[]=
"-----BEGIN CERTIFICATE-----\r\n" \
"MIIDpjCCAo6gAwIBAgIUfDwa864quY4Vx9k42SSQ8LTJdggwDQYJKoZIhvcNAQEL\r\n" \
"BQAwZDELMAkGA1UEBhMCQ04xDjAMBgNVBAg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Fhwg5cODiC2AYOgC98ZwStata2XMXF5A1\r\n" \
"nJD654pjQ9ra0UMhmw15Gx/9ziEx5flak5NPVqXecBuB3fGLIccaNv2QUNNH3uaS\r\n" \
"qwIDAQABo0IwQDAdBgNVHQ4EFgQUR19XVFfhRSJ7KzszWvSbFUm1CsQwHwYDVR0j\r\n" \
"BBgwFoAULS8AaYxxRg+JIwHqKT8LrhcsYDYwDQYJKoZIhvcNAQELBQADggEBAIiF\r\n" \
"dcYzPTL4Nbl48doZlu+Y2fg4WoRtsUo6GzZ+c5Y7ybA2reP7R3zG/XC2zIwmTIjZ\r\n" \
"DWh7ujEubzYKIoGYka7LCSlSqPGsocTzP3rRkWGWPf+q7ouYlgHPe+1aDGpxL3rO\r\n" \
"V5lVEDbAyWidfZcUp7Rt0vYYI/ApvPkfEJMpYMgC4vgNYixG943ymVMwKGg1t/8l\r\n" \
"/DZj/rGfU8PKybeViM61vOJjKliJ6D48ra9FO35dPElicad/HqeIv7YQ8M674rgu\r\n" \
"YddFCcmhaoYjaLoifZPGIdeIXODOYMOzaA0pE5N1etYfHIQNV4udSOt9i6miRURH\r\n" \
"7tCiRjwgom7OlQ+l29c=\r\n" \
"-----END CERTIFICATE-----";

static const char ecs_cli_key[]=
"-----BEGIN PRIVATE KEY-----\r\n" \
"MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCR2aNuDxW5XgEO\r\n" \
"+RvH/bgTs46QNGvWcsxIxWsVpbOqMdaD8gw6DVIT4RyAbpQCQavQ32HjX1wMGL5i\r\n" \
"w981u/ElGVyb0OeVHQ5tCcDC2Pe/bZW9OHdY4xpCJwjSAe77MFf1MOdWb1YcvxeD\r\n" \
"ph1yeHwgwbGeN5Ek/R/OHximit81VR9CVjQZpxnSsrPgkyHbHdtnirbO9ylyDWGY\r\n" \
"ZvMofliNmIai5gaYVAHeASSCShTADYypruS2NcWHCDlw4OILYBg6AL3xnBK1q1rZ\r\n" \
"cxcXkDWckPrnimND2tr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