comparison common/pubkey-test.h @ 770:7861950f7637

Make RSA Keysize definiable
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 10 Jul 2014 19:14:22 +0200
parents f56c4869aa18
children c64b6c56ce96
comparison
equal deleted inserted replaced
769:44257ecdae6d 770:7861950f7637
5 * and comes with ABSOLUTELY NO WARRANTY! 5 * and comes with ABSOLUTELY NO WARRANTY!
6 * See LICENSE.txt for details. 6 * See LICENSE.txt for details.
7 */ 7 */
8 #ifndef PUBKEY_TEST_H 8 #ifndef PUBKEY_TEST_H
9 #define PUBKEY_TEST_H 9 #define PUBKEY_TEST_H
10
11 /**@def The size of the RSA modulus */
12 #define TRUSTBRIDGE_RSA_KEY_SIZE 3072
10 13
11 /* PEM encoded public key */ 14 /* PEM encoded public key */
12 static const unsigned char public_key_pem[] = 15 static const unsigned char public_key_pem[] =
13 "-----BEGIN PUBLIC KEY-----\n" 16 "-----BEGIN PUBLIC KEY-----\n"
14 "MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAljObDbSjuYULdW9TtAzl\n" 17 "MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAljObDbSjuYULdW9TtAzl\n"

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