This is a fork due to permission issues

Dependencies:   mbed Socket lwip-eth lwip-sys lwip

Fork of 6_songs-from-the-cloud by MakingMusicWorkshop

Revision:
1:0ddbe2d3319c
Parent:
0:f7c60d3e7b8a
--- a/security.h	Wed May 18 19:06:32 2016 +0000
+++ b/security.h	Thu May 19 16:02:10 2016 +0000
@@ -1,1 +1,55 @@
-#error "No security.h file, go to https://connector.mbed.com/#credentials to get credentials. Then put it in 6_songs-from-the-cloud/security.h."
+/*
+ * Copyright (c) 2015 ARM Limited. All rights reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ * Licensed under the Apache License, Version 2.0 (the License); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#ifndef __SECURITY_H__
+#define __SECURITY_H__
+ 
+#include <inttypes.h>
+ 
+#define MBED_DOMAIN "6bc7f122-40f6-4302-8bfb-134c7c78a549"
+#define MBED_ENDPOINT_NAME "c1732d14-044f-4b6e-8a98-f808940be2c7"
+ 
+const uint8_t SERVER_CERT[] = "-----BEGIN CERTIFICATE-----\r\n"
+"MIIBmDCCAT6gAwIBAgIEVUCA0jAKBggqhkjOPQQDAjBLMQswCQYDVQQGEwJGSTEN\r\n"
+"MAsGA1UEBwwET3VsdTEMMAoGA1UECgwDQVJNMQwwCgYDVQQLDANJb1QxETAPBgNV\r\n"
+"BAMMCEFSTSBtYmVkMB4XDTE1MDQyOTA2NTc0OFoXDTE4MDQyOTA2NTc0OFowSzEL\r\n"
+"MAkGA1UEBhMCRkkxDTALBgNVBAcMBE91bHUxDDAKBgNVBAoMA0FSTTEMMAoGA1UE\r\n"
+"CwwDSW9UMREwDwYDVQQDDAhBUk0gbWJlZDBZMBMGByqGSM49AgEG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E-----\r\n";
+ 
+const uint8_t KEY[] = "-----BEGIN PRIVATE KEY-----\r\n"
+"MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg8lf/W+mFr+tubrAG\r\n"
+"0XHIe99vbSubuuX16LHfF/1oHpGhRANCAAQgpaxMj4/+d0p3fqXjPnVQUlqirqO1\r\n"
+"XnVXZ0un8BVEBdiqw/axbj8dIdW9p1DefgYa6ocegj1fUzLucwV1ABs9\r\n"
+"-----END PRIVATE KEY-----\r\n";
+ 
+#endif //__SECURITY_H__#error "No security.h file, go to https://connector.mbed.com/#credentials to get credentials. Then put it in 6_songs-from-the-cloud/security.h."