Updated ref
Dependencies: FXOS8700Q-driver MODSERIAL
Fork of AAT_LWM2M_K64F by
security.h@53:ff25489c63af, 2017-01-23 (annotated)
- Committer:
- navigators
- Date:
- Mon Jan 23 05:32:42 2017 +0000
- Revision:
- 53:ff25489c63af
- Parent:
- 52:74019970a2bf
First cleanup
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 32:7b3841243d70 | 1 | /* |
mbed_official | 32:7b3841243d70 | 2 | * Copyright (c) 2015 ARM Limited. All rights reserved. |
mbed_official | 32:7b3841243d70 | 3 | * SPDX-License-Identifier: Apache-2.0 |
mbed_official | 32:7b3841243d70 | 4 | * Licensed under the Apache License, Version 2.0 (the License); you may |
mbed_official | 32:7b3841243d70 | 5 | * not use this file except in compliance with the License. |
mbed_official | 32:7b3841243d70 | 6 | * You may obtain a copy of the License at |
mbed_official | 32:7b3841243d70 | 7 | * |
mbed_official | 32:7b3841243d70 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
mbed_official | 32:7b3841243d70 | 9 | * |
mbed_official | 32:7b3841243d70 | 10 | * Unless required by applicable law or agreed to in writing, software |
mbed_official | 32:7b3841243d70 | 11 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT |
mbed_official | 32:7b3841243d70 | 12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
mbed_official | 32:7b3841243d70 | 13 | * See the License for the specific language governing permissions and |
mbed_official | 32:7b3841243d70 | 14 | * limitations under the License. |
mbed_official | 32:7b3841243d70 | 15 | */ |
mbed_official | 32:7b3841243d70 | 16 | #ifndef __SECURITY_H__ |
mbed_official | 32:7b3841243d70 | 17 | #define __SECURITY_H__ |
mbed_official | 32:7b3841243d70 | 18 | |
mbed_official | 32:7b3841243d70 | 19 | #include <inttypes.h> |
mbed_official | 32:7b3841243d70 | 20 | |
remembervin | 52:74019970a2bf | 21 | #define MBED_DOMAIN "MBED_DOMAIN" |
navigators | 53:ff25489c63af | 22 | #define MBED_ENDPOINT_NAME "Swarros_AAT" |
remembervin | 52:74019970a2bf | 23 | //#define MBED_DOMAIN "0fdef33a-45fd-4557-8a5a-59573147a9d8" |
remembervin | 52:74019970a2bf | 24 | //#define MBED_ENDPOINT_NAME "97a4baf6-1b2f-4448-90a2-895c734d61bd" |
remembervin | 52:74019970a2bf | 25 | |
mbed_official | 32:7b3841243d70 | 26 | const uint8_t SERVER_CERT[] = "-----BEGIN CERTIFICATE-----\r\n" |
remembervin | 52:74019970a2bf | 27 | "MIIBmDCCAT6gAwIBAgIEVUCA0jAKBggqhkjOPQQDAjBLMQswCQYDVQQGEwJGSTEN\r\n" |
remembervin | 52:74019970a2bf | 28 | "MAsGA1UEBwwET3VsdTEMMAoGA1UECgwDQVJNMQwwCgYDVQQLDANJb1QxETAPBgNV\r\n" |
remembervin | 52:74019970a2bf | 29 | "BAMMCEFSTSBtYmVkMB4XDTE1MDQyOTA2NTc0OFoXDTE4MDQyOTA2NTc0OFowSzEL\r\n" |
remembervin | 52:74019970a2bf | 30 | "MAkGA1UEBhMCRkkxDTALBgNVBAcMBE91bHUxDDAKBgNVBAoMA0FSTTEMMAoGA1UE\r\n" |
remembervin | 52:74019970a2bf | 31 | "CwwDSW9UMREwDwYDVQQDDAhBUk0gbWJlZDBZMBMGByqGSM49AgEGCCqGSM49AwEH\r\n" |
remembervin | 52:74019970a2bf | 32 | "A0IABLuAyLSk0mA3awgFR5mw2RHth47tRUO44q/RdzFZnLsAsd18Esxd5LCpcT9w\r\n" |
remembervin | 52:74019970a2bf | 33 | "0tvNfBv4xJxGw0wcYrPDDb8/rjujEDAOMAwGA1UdEwQFMAMBAf8wCgYIKoZIzj0E\r\n" |
remembervin | 52:74019970a2bf | 34 | "AwIDSAAwRQIhAPAonEAkwixlJiyYRQQWpXtkMZax+VlEiS201BG0PpAzAiBh2RsD\r\n" |
remembervin | 52:74019970a2bf | 35 | "NxLKWwf4O7D6JasGBYf9+ZLwl0iaRjTjytO+Kw==\r\n" |
mbed_official | 32:7b3841243d70 | 36 | "-----END CERTIFICATE-----\r\n"; |
mbed_official | 32:7b3841243d70 | 37 | |
mbed_official | 32:7b3841243d70 | 38 | const uint8_t CERT[] = "-----BEGIN CERTIFICATE-----\r\n" |
remembervin | 52:74019970a2bf | 39 | "MIIBzzCCAXOgAwIBAgIEd+zhADAMBggqhkjOPQQDAgUAMDkxCzAJBgNVBAYTAkZ\r\n" |
remembervin | 52:74019970a2bf | 40 | "JMQwwCgYDVQQKDANBUk0xHDAaBgNVBAMME21iZWQtY29ubmVjdG9yLTIwMTgwHh\r\n" |
remembervin | 52:74019970a2bf | 41 | "cNMTcwMTExMDcwODE1WhcNMTgxMjMxMDYwMDAwWjCBoTFSMFAGA1UEAxNJMGZkZ\r\n" |
remembervin | 52:74019970a2bf | 42 | "WYzM2EtNDVmZC00NTU3LThhNWEtNTk1NzMxNDdhOWQ4Lzk3YTRiYWY2LTFiMmYt\r\n" |
remembervin | 52:74019970a2bf | 43 | "NDQ0OC05MGEyLTg5NWM3MzRkNjFiZDEMMAoGA1UECxMDQVJNMRIwEAYDVQQKEwl\r\n" |
remembervin | 52:74019970a2bf | 44 | "tYmVkIHVzZXIxDTALBgNVBAcTBE91bHUxDTALBgNVBAgTBE91bHUxCzAJBgNVBA\r\n" |
remembervin | 52:74019970a2bf | 45 | "YTAkZJMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEqLo0YebHUqyCZ9yKboFSv\r\n" |
remembervin | 52:74019970a2bf | 46 | "rjGTiuWFEo44pFpM0ZxBytW1FB2jCUEIPH8+5BKhbj3jA0nafHt/dO1DuPy7S2r\r\n" |
remembervin | 52:74019970a2bf | 47 | "gjAMBggqhkjOPQQDAgUAA0gAMEUCIQDf7OwpWVLRRhTFSmFNk89Hc8htgDvaXgH\r\n" |
remembervin | 52:74019970a2bf | 48 | "7mceQWXfP2wIgYxwfIOpZNNG7MRnC6q6CWoIngqz8hwQYvXZM/TutTzs=\r\n" |
mbed_official | 32:7b3841243d70 | 49 | "-----END CERTIFICATE-----\r\n"; |
mbed_official | 32:7b3841243d70 | 50 | |
mbed_official | 32:7b3841243d70 | 51 | const uint8_t KEY[] = "-----BEGIN PRIVATE KEY-----\r\n" |
remembervin | 52:74019970a2bf | 52 | "MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgsnWvPZGzDTqT34Ak\r\n" |
remembervin | 52:74019970a2bf | 53 | "cfTuZJFuWEEpYbHKuJcLqNPRW46hRANCAASoujRh5sdSrIJn3IpugVK+uMZOK5YU\r\n" |
remembervin | 52:74019970a2bf | 54 | "SjjikWkzRnEHK1bUUHaMJQQg8fz7kEqFuPeMDSdp8e3907UO4/LtLauC\r\n" |
mbed_official | 32:7b3841243d70 | 55 | "-----END PRIVATE KEY-----\r\n"; |
mbed_official | 32:7b3841243d70 | 56 | |
remembervin | 52:74019970a2bf | 57 | #endif //__SECURITY_H__ |