2024-07-27 13:31:17 +00:00
|
|
|
#pragma once
|
|
|
|
|
2024-08-17 11:49:55 +00:00
|
|
|
/**
|
|
|
|
* Backend unsecure API URL
|
|
|
|
*/
|
|
|
|
#define BACKEND_UNSECURE_URL "http://devweb.internal:8080"
|
|
|
|
|
2024-07-27 13:31:17 +00:00
|
|
|
/**
|
|
|
|
* Device name len
|
|
|
|
*/
|
2024-08-15 11:09:01 +00:00
|
|
|
#define DEV_NAME_LEN 10
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Private key max length
|
|
|
|
*/
|
2024-08-18 15:40:41 +00:00
|
|
|
#define PRV_KEY_DER_MAX_BYTES 1500
|
|
|
|
|
2024-08-18 17:42:40 +00:00
|
|
|
/**
|
|
|
|
* Root CA max length
|
|
|
|
*/
|
|
|
|
#define ROOT_CA_MAX_BYTES 3000
|
|
|
|
|
2024-08-18 15:40:41 +00:00
|
|
|
/**
|
|
|
|
* Secure origin len
|
|
|
|
*/
|
|
|
|
#define SEC_ORIG_LEN 255
|