Back to index

opendkim  2.6.2
Defines | Variables
t-testdata.h File Reference

Go to the source code of this file.

Defines

#define CRLF   "\r\n"
#define SP   " "
#define LARGEBODYSIZE   65536
#define LARGELINESIZE   4100
#define KEYFILE   "/var/tmp/testkeys"
#define JOBID   "testing"
#define SELECTOR   "test"
#define SELECTOR2   "brisbane"
#define SELECTOR256   "sha256only"
#define SELECTORBADH   "badh"
#define SELECTORBADK   "badk"
#define SELECTORBADV   "badv"
#define SELECTORNOK   "nok"
#define SELECTORNOP   "nop"
#define SELECTOREMPTYP   "emptyp"
#define SELECTORCORRUPTP   "corruptp"
#define DOMAIN   "example.com"
#define DOMAIN2   "sendmail.com"
#define REPLYADDRESS   "postmaster"
#define SMTPTOKENENC   "=5BDKIM=20error=5D"
#define SMTPTOKEN   "[DKIM error]"
#define USER   "msk"
#define HEADER01   "Received: received data 0"
#define HEADER02   "Received: received data 1"
#define HEADER03   "Received: received data 2"
#define HEADER04   "Received: received data 3 part 1\r\n\t data 3 part 2"
#define HEADER04UNWRAP   "Received: received data 3 part 1 data 3 part 2"
#define HEADER05   "From: Murray S. Kucherawy <msk@sendmail.com>"
#define HEADER06   "To: Sendmail Test Address <sa-test@sendmail.net>"
#define HEADER07   "Date: Thu, 05 May 2005 11:59:09 -0700"
#define HEADER07XLEADSP   "Date: Thu, 05 May 2005 11:59:09 -0700"
#define HEADER07NOLEADSP   "Date:Thu, 05 May 2005 11:59:09 -0700"
#define HEADER08   "Subject: DKIM test message"
#define HEADER09   "Message-ID: <439094BF.5010709@sendmail.com>"
#define HEADER10   "Cc: user@example.com"
#define BODY00   "This is a message body. Fun!\r\n"
#define BODY01   "Here is a second line.\r\n"
#define BODY01A   "Here is a line"
#define BODY01B   " that is broken up across calls.\r"
#define BODY01C   "\n"
#define BODY01D   "Now we can try something interesting, like a\r\nmulti-line buffer. This should not be mangled.\r\n"
#define BODY01E   "And a line with a trailing space: \r\n"
#define BODY02   "Next we'll try a blank.\r\n"
#define BODY03   "\r\n"
#define BODY04   "Next we'll try multiple blanks.\r\n"
#define BODY05   "Finally we'll try multiple trailing blanks.\r\n"
#define BODY06   "Surprise, more data!\r\n"
#define NBODY00   "This is a message body. Fun!\n"
#define NBODY01   "Here is a second line.\r"
#define NBODY01A   "Here is a line"
#define NBODY01B   " that is broken up across calls.\r"
#define NBODY01C   "\n"
#define NBODY01D   "Now we can try something interesting, like a\nmulti-line buffer. This should not be mangled.\r\n"
#define NBODY01E   "And a line with a trailing space: \n"
#define NBODY02   "Next we'll try a blank.\r"
#define NBODY03   "\r\n"
#define NBODY04   "Next we'll try multiple blanks.\r\n"
#define NBODY05   "Finally we'll try multiple trailing blanks.\r"
#define THEADER00
#define THEADER01   "From: Joe SixPack <joe@football.example.com>"
#define THEADER02   "To: Suzie Q <suzie@shopping.example.net>"
#define THEADER03   "Subject: Is dinner ready?"
#define THEADER04   "Date: Fri, 11 Jul 2003 21:00:37 -0700 (PDT)"
#define THEADER05   "Message-ID: <20030712040037.46341.5F8J@football.example.com>"
#define TBODY
#define KEY
#define PUBLICKEY
#define PUBLICKEYNOS
#define PUBLICKEY2
#define PUBLICKEYBADV
#define PUBLICKEY256
#define PUBLICKEYBADH
#define PUBLICKEYNOK
#define PUBLICKEYBADK
#define PUBLICKEYEMPTYP   "v=DKIM1; k=rsa; t=y:s; h=sha1:sha256; p="
#define PUBLICKEYNOP   "v=DKIM1; k=rsa; t=y:s; h=sha1:sha256"
#define PUBLICKEYCORRUPTP
#define REPORTRECORD   "ra=postmaster; rs=" SMTPTOKENENC
#define GIBBERISH   "abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789 !@#$%^&*()_+|-={}[];':,./<>?`~\r\n"

Variables

static char t_testdata_h [] = "@(#)$Id: t-testdata.h,v 1.2 2010/07/23 01:54:20 cm-msk Exp $"

Define Documentation

#define BODY00   "This is a message body. Fun!\r\n"

Definition at line 53 of file t-testdata.h.

#define BODY01   "Here is a second line.\r\n"

Definition at line 54 of file t-testdata.h.

#define BODY01A   "Here is a line"

Definition at line 55 of file t-testdata.h.

#define BODY01B   " that is broken up across calls.\r"

Definition at line 56 of file t-testdata.h.

#define BODY01C   "\n"

Definition at line 57 of file t-testdata.h.

#define BODY01D   "Now we can try something interesting, like a\r\nmulti-line buffer. This should not be mangled.\r\n"

Definition at line 58 of file t-testdata.h.

#define BODY01E   "And a line with a trailing space: \r\n"

Definition at line 59 of file t-testdata.h.

#define BODY02   "Next we'll try a blank.\r\n"

Definition at line 60 of file t-testdata.h.

#define BODY03   "\r\n"

Definition at line 61 of file t-testdata.h.

#define BODY04   "Next we'll try multiple blanks.\r\n"

Definition at line 62 of file t-testdata.h.

#define BODY05   "Finally we'll try multiple trailing blanks.\r\n"

Definition at line 63 of file t-testdata.h.

#define BODY06   "Surprise, more data!\r\n"

Definition at line 64 of file t-testdata.h.

#define CRLF   "\r\n"

Definition at line 13 of file t-testdata.h.

#define DOMAIN   "example.com"

Definition at line 32 of file t-testdata.h.

#define DOMAIN2   "sendmail.com"

Definition at line 33 of file t-testdata.h.

#define GIBBERISH   "abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789 !@#$%^&*()_+|-={}[];':,./<>?`~\r\n"

Definition at line 156 of file t-testdata.h.

#define HEADER01   "Received: received data 0"

Definition at line 39 of file t-testdata.h.

#define HEADER02   "Received: received data 1"

Definition at line 40 of file t-testdata.h.

#define HEADER03   "Received: received data 2"

Definition at line 41 of file t-testdata.h.

#define HEADER04   "Received: received data 3 part 1\r\n\t data 3 part 2"

Definition at line 42 of file t-testdata.h.

#define HEADER04UNWRAP   "Received: received data 3 part 1 data 3 part 2"

Definition at line 43 of file t-testdata.h.

#define HEADER05   "From: Murray S. Kucherawy <msk@sendmail.com>"

Definition at line 44 of file t-testdata.h.

#define HEADER06   "To: Sendmail Test Address <sa-test@sendmail.net>"

Definition at line 45 of file t-testdata.h.

#define HEADER07   "Date: Thu, 05 May 2005 11:59:09 -0700"

Definition at line 46 of file t-testdata.h.

#define HEADER07NOLEADSP   "Date:Thu, 05 May 2005 11:59:09 -0700"

Definition at line 48 of file t-testdata.h.

#define HEADER07XLEADSP   "Date: Thu, 05 May 2005 11:59:09 -0700"

Definition at line 47 of file t-testdata.h.

#define HEADER08   "Subject: DKIM test message"

Definition at line 49 of file t-testdata.h.

#define HEADER09   "Message-ID: <439094BF.5010709@sendmail.com>"

Definition at line 50 of file t-testdata.h.

#define HEADER10   "Cc: user@example.com"

Definition at line 51 of file t-testdata.h.

#define JOBID   "testing"

Definition at line 21 of file t-testdata.h.

#define KEY
Value:
"-----BEGIN RSA PRIVATE KEY-----\n" \
       "MIICXQIBAAKBgQC4GUGr+d/6SFNzVLYpphnRd0QPGKz2uWnV65RAxa1Pw352Bqiz\n" \
       "qiKOBjgYGzj8pJQSs8tOvv/2k6jpI809RnESqOFgF0gu3UJbNnu3+cd8k/kiQj+q\n" \
       "4cKKRpAT92ccxc7svhCNgN1sBGmROYZuysG3Vu3Dyc079gSLtnSrgXb+gQIDAQAB\n" \
       "AoGAemlI0opm1Kvs2T4VliH8/tvX5FXbBH8LEZQAUwVeFTB/UQlieXyCV39pIxZO\n" \
       "0Sa50qm8YNL9rb5HTSZiHQFOwyAKNqS4m/7JCsbuH4gQkPgPF561BHNL9oKfYgJq\n" \
       "9P4kEFfDTBoXKBMxwWtT7AKV8dYvCa3vYzPQ/1BnqQdw2zECQQDyscdgR9Ih59PQ\n" \
       "b72ddibdsxS65uXS2vzYLe7SKl+4R5JgJzw0M6DTAnoYFf6JAsKGZM15PCC0E16t\n" \
       "RRo47U9VAkEAwjEVrlQ0/8yPACbDggDJg/Zz/uRu1wK0zjqj4vKjleubaX4SEvj7\n" \
       "r6xxZm9hC1pMJAC9y3bbkbgCRBjXfyY6fQJBANe5aq2MaZ41wTOPf45NjbKXEiAo\n" \
       "SbUpboKCIbyyaa8V/2h0t7D3C0dE9l4efsguqdZoF7Rh2/f1F70QpYRgfJkCQQCH\n" \
       "oRrAeGXP50JVW72fNgeJGH/pnghgOa6of0JpxwhENJuGMZxUDfxTtUA6yD3iXP3j\n" \
       "A3WL/wbaHsfOYf9Y+g1NAkAGLhx67Ah+uBNK4Xvfz0YPGINX20m+CMsxAw7FOaNv\n" \
       "IW2oWFfZCB4APkIis79Ql45AHpavwx5XodBMzZwJUvlL\n" \
       "-----END RSA PRIVATE KEY-----\n"

Definition at line 92 of file t-testdata.h.

#define KEYFILE   "/var/tmp/testkeys"

Definition at line 19 of file t-testdata.h.

#define LARGEBODYSIZE   65536

Definition at line 16 of file t-testdata.h.

#define LARGELINESIZE   4100

Definition at line 17 of file t-testdata.h.

#define NBODY00   "This is a message body. Fun!\n"

Definition at line 66 of file t-testdata.h.

#define NBODY01   "Here is a second line.\r"

Definition at line 67 of file t-testdata.h.

#define NBODY01A   "Here is a line"

Definition at line 68 of file t-testdata.h.

#define NBODY01B   " that is broken up across calls.\r"

Definition at line 69 of file t-testdata.h.

#define NBODY01C   "\n"

Definition at line 70 of file t-testdata.h.

#define NBODY01D   "Now we can try something interesting, like a\nmulti-line buffer. This should not be mangled.\r\n"

Definition at line 71 of file t-testdata.h.

#define NBODY01E   "And a line with a trailing space: \n"

Definition at line 72 of file t-testdata.h.

#define NBODY02   "Next we'll try a blank.\r"

Definition at line 73 of file t-testdata.h.

#define NBODY03   "\r\n"

Definition at line 74 of file t-testdata.h.

#define NBODY04   "Next we'll try multiple blanks.\r\n"

Definition at line 75 of file t-testdata.h.

#define NBODY05   "Finally we'll try multiple trailing blanks.\r"

Definition at line 76 of file t-testdata.h.

#define PUBLICKEY
Value:
"v=DKIM1; k=rsa; t=y:s; h=sha1:sha256; p=" \
       "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4GUGr+d/6SFNzVLYpphnRd0QP" \
       "GKz2uWnV65RAxa1Pw352BqizqiKOBjgYGzj8pJQSs8tOvv/2k6jpI809RnESqOFg" \
       "F0gu3UJbNnu3+cd8k/kiQj+q4cKKRpAT92ccxc7svhCNgN1sBGmROYZuysG3Vu3D" \
       "yc079gSLtnSrgXb+gQIDAQAB"

Definition at line 107 of file t-testdata.h.

#define PUBLICKEY2
Value:
"v=DKIM1; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQ" \
       "KBgQDwIRP/UC3SBsEmGqZ9ZJW3/DkMoGeLnQg1fWn7/zYt" \
       "IxN2SnFCjxOCKG9v3b4jYfcTNh5ijSsq631uBItLa7od+v" \
       "/RtdC2UzJ1lWT947qR+Rcac2gbto/NMqJ0fzfVjH4OuKhi" \
       "tdY9tf6mcwGjaNBcWToIMmPSPDdQPNUYckcQ2QIDAQAB"

Definition at line 117 of file t-testdata.h.

#define PUBLICKEY256
Value:
"v=DKIM1; k=rsa; t=y:s; h=sha256; p=" \
       "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4GUGr+d/6SFNzVLYpphnRd0QP" \
       "GKz2uWnV65RAxa1Pw352BqizqiKOBjgYGzj8pJQSs8tOvv/2k6jpI809RnESqOFg" \
       "F0gu3UJbNnu3+cd8k/kiQj+q4cKKRpAT92ccxc7svhCNgN1sBGmROYZuysG3Vu3D" \
       "yc079gSLtnSrgXb+gQIDAQAB"

Definition at line 127 of file t-testdata.h.

#define PUBLICKEYBADH
Value:
"v=DKIM1; k=rsa; t=y:s; h=sha0; p=" \
       "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4GUGr+d/6SFNzVLYpphnRd0QP" \
       "GKz2uWnV65RAxa1Pw352BqizqiKOBjgYGzj8pJQSs8tOvv/2k6jpI809RnESqOFg" \
       "F0gu3UJbNnu3+cd8k/kiQj+q4cKKRpAT92ccxc7svhCNgN1sBGmROYZuysG3Vu3D" \
       "yc079gSLtnSrgXb+gQIDAQAB"

Definition at line 132 of file t-testdata.h.

#define PUBLICKEYBADK
Value:
"v=DKIM1; k=xxx; t=y:s; h=sha1:sha256; p=" \
       "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4GUGr+d/6SFNzVLYpphnRd0QP" \
       "GKz2uWnV65RAxa1Pw352BqizqiKOBjgYGzj8pJQSs8tOvv/2k6jpI809RnESqOFg" \
       "F0gu3UJbNnu3+cd8k/kiQj+q4cKKRpAT92ccxc7svhCNgN1sBGmROYZuysG3Vu3D" \
       "yc079gSLtnSrgXb+gQIDAQAB"

Definition at line 142 of file t-testdata.h.

#define PUBLICKEYBADV
Value:
"v=DKIM0; k=rsa; t=y:s; h=sha1:sha256; p=" \
       "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4GUGr+d/6SFNzVLYpphnRd0QP" \
       "GKz2uWnV65RAxa1Pw352BqizqiKOBjgYGzj8pJQSs8tOvv/2k6jpI809RnESqOFg" \
       "F0gu3UJbNnu3+cd8k/kiQj+q4cKKRpAT92ccxc7svhCNgN1sBGmROYZuysG3Vu3D" \
       "yc079gSLtnSrgXb+gQIDAQAB"

Definition at line 122 of file t-testdata.h.

Value:
"v=DKIM1; k=rsa; t=y:s; h=sha1:sha256; p=" \
       "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4GUGr+d/6SFNzVLYpphnRd0QP" \
       "GKz2uWnV65RAxa1Pw352BqizqiKOBjgYGzj8pJQSs8tOvv/2k6jpI809RnESqOFg" \
       "F0gu3UJbNnu3+cd8k/kiQj+q4cKKRpAT92ccxc7svhCNgN1sBGmROYZuysG3Vu3D" \
       "yc079gSLtnSrgXb+gQIDAQ"

Definition at line 149 of file t-testdata.h.

#define PUBLICKEYEMPTYP   "v=DKIM1; k=rsa; t=y:s; h=sha1:sha256; p="

Definition at line 147 of file t-testdata.h.

#define PUBLICKEYNOK
Value:
"v=DKIM1; t=y:s; p=" \
       "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4GUGr+d/6SFNzVLYpphnRd0QP" \
       "GKz2uWnV65RAxa1Pw352BqizqiKOBjgYGzj8pJQSs8tOvv/2k6jpI809RnESqOFg" \
       "F0gu3UJbNnu3+cd8k/kiQj+q4cKKRpAT92ccxc7svhCNgN1sBGmROYZuysG3Vu3D" \
       "yc079gSLtnSrgXb+gQIDAQAB"

Definition at line 137 of file t-testdata.h.

#define PUBLICKEYNOP   "v=DKIM1; k=rsa; t=y:s; h=sha1:sha256"

Definition at line 148 of file t-testdata.h.

#define PUBLICKEYNOS
Value:
"v=DKIM1; k=rsa; t=y; p=" \
       "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4GUGr+d/6SFNzVLYpphnRd0QP" \
       "GKz2uWnV65RAxa1Pw352BqizqiKOBjgYGzj8pJQSs8tOvv/2k6jpI809RnESqOFg" \
       "F0gu3UJbNnu3+cd8k/kiQj+q4cKKRpAT92ccxc7svhCNgN1sBGmROYZuysG3Vu3D" \
       "yc079gSLtnSrgXb+gQIDAQAB"

Definition at line 112 of file t-testdata.h.

#define REPLYADDRESS   "postmaster"

Definition at line 34 of file t-testdata.h.

#define REPORTRECORD   "ra=postmaster; rs=" SMTPTOKENENC

Definition at line 154 of file t-testdata.h.

#define SELECTOR   "test"

Definition at line 22 of file t-testdata.h.

#define SELECTOR2   "brisbane"

Definition at line 23 of file t-testdata.h.

#define SELECTOR256   "sha256only"

Definition at line 24 of file t-testdata.h.

#define SELECTORBADH   "badh"

Definition at line 25 of file t-testdata.h.

#define SELECTORBADK   "badk"

Definition at line 26 of file t-testdata.h.

#define SELECTORBADV   "badv"

Definition at line 27 of file t-testdata.h.

#define SELECTORCORRUPTP   "corruptp"

Definition at line 31 of file t-testdata.h.

#define SELECTOREMPTYP   "emptyp"

Definition at line 30 of file t-testdata.h.

#define SELECTORNOK   "nok"

Definition at line 28 of file t-testdata.h.

#define SELECTORNOP   "nop"

Definition at line 29 of file t-testdata.h.

#define SMTPTOKEN   "[DKIM error]"

Definition at line 36 of file t-testdata.h.

#define SMTPTOKENENC   "=5BDKIM=20error=5D"

Definition at line 35 of file t-testdata.h.

#define SP   " "

Definition at line 14 of file t-testdata.h.

#define TBODY
Value:
"Hi.\r\n" \
                     "\r\n" \
                     "We lost the game. Are you hungry yet?\r\n" \
                     "\r\n" \
                     "Joe.\r\n"

Definition at line 86 of file t-testdata.h.

#define THEADER00
Value:
"Received: from client1.football.example.com  [192.0.2.1]\r\n" \
       "      by submitserver.example.com with SUBMISSION;\r\n" \
       "      Fri, 11 Jul 2003 21:01:54 -0700 (PDT)"

Definition at line 78 of file t-testdata.h.

#define THEADER01   "From: Joe SixPack <joe@football.example.com>"

Definition at line 81 of file t-testdata.h.

#define THEADER02   "To: Suzie Q <suzie@shopping.example.net>"

Definition at line 82 of file t-testdata.h.

#define THEADER03   "Subject: Is dinner ready?"

Definition at line 83 of file t-testdata.h.

#define THEADER04   "Date: Fri, 11 Jul 2003 21:00:37 -0700 (PDT)"

Definition at line 84 of file t-testdata.h.

#define THEADER05   "Message-ID: <20030712040037.46341.5F8J@football.example.com>"

Definition at line 85 of file t-testdata.h.

#define USER   "msk"

Definition at line 37 of file t-testdata.h.


Variable Documentation

char t_testdata_h[] = "@(#)$Id: t-testdata.h,v 1.2 2010/07/23 01:54:20 cm-msk Exp $" [static]

Definition at line 9 of file t-testdata.h.