annotate common/pubkey-test.h @ 452:f8b480b08532

Factor out polarssl error handling and start new sslhelp file
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 23 Apr 2014 10:33:40 +0000
parents 17e1c8f37d72
children facb13c578f1
rev   line source
404
17e1c8f37d72 Add License
Andre Heinecke <aheinecke@intevation.de>
parents: 28
diff changeset
1 /* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik
17e1c8f37d72 Add License
Andre Heinecke <aheinecke@intevation.de>
parents: 28
diff changeset
2 * Software engineering by Intevation GmbH
17e1c8f37d72 Add License
Andre Heinecke <aheinecke@intevation.de>
parents: 28
diff changeset
3 *
17e1c8f37d72 Add License
Andre Heinecke <aheinecke@intevation.de>
parents: 28
diff changeset
4 * This file is Free Software under the GNU GPL (v>=2)
17e1c8f37d72 Add License
Andre Heinecke <aheinecke@intevation.de>
parents: 28
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY!
17e1c8f37d72 Add License
Andre Heinecke <aheinecke@intevation.de>
parents: 28
diff changeset
6 * See LICENSE.txt for details.
17e1c8f37d72 Add License
Andre Heinecke <aheinecke@intevation.de>
parents: 28
diff changeset
7 */
28
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
8 #ifndef PUBKEY_TEST_H
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
9 #define PUBKEY_TEST_H
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
10
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
11 /* PEM encoded public key */
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
12 static const unsigned char public_key_pem[] =
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
13 "-----BEGIN PUBLIC KEY-----\n"
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
14 "MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAljObDbSjuYULdW9TtAzl\n"
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
15 "LqopCVdbCTa+j5Vc+SM9damMrpWrKXW7X+PnZstboKJRyENLqUUwgkQYmtD9CzDU\n"
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
16 "HKUqZFQHnnmNjN5FaYEcMG4rcL+Y9BUUIcxMogboeS6UuUnRHH0eZlNd5m7CYhL6\n"
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
17 "y2sD4umJ+lx//K7Rh/qsamjEQHyTX4GeNJnoU6sRu17emGoPi37ACUXguv5D6KMY\n"
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
18 "4FVSlObuYGe1r2RDl2E/EKTgJfXy+NsQswvChtyFVOS/1wv5cLwNFher1ttVP1Oj\n"
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
19 "2ma0sLe4qZlSpNpG6bD9oZzCmwqKAuAZIY9dZNXgoAsnClqR1mdvii6zwI/k+bdy\n"
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
20 "4aPqlNGjyeCXLGAzsZeyxzL7Ka09omr6OE4/okhaaj47xRPsODW7cDwF7kphHmoG\n"
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
21 "IPbDs5Wc6PlYcS9triMyCDYSvwjjsZsYfSaNt8zu2fHrXQC+/ssvRUVvNHPncqUH\n"
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
22 "sEEsfE/qhfQCZTgd/nw3/No4IRQX7spowGhnwtP/qsQTAgMBAAE=\n"
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
23 "-----END PUBLIC KEY-----\n";
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
24
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
25 static const size_t public_key_pem_size = 625;
e783fd99a9eb Add public key parsing
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
26 #endif

http://wald.intevation.org/projects/trustbridge/