Subject: Interesting(?) sample certificate

From: [email-masked] (Peter Gutmann)
Date: Sat, 10 Oct 1998 14:12:39 (NZDT)

For your edification I have prepared a sample cert which people may find
interesting.  You can find it at
http://www.cs.auckland.ac.nz/~pgut001/pubs/dave.der, with the issuing cert at
http://www.cs.auckland.ac.nz/~pgut001/pubs/dave_ca.der.  An ASN.1 dump of the
cert is:
 
SEQUENCE {
  SEQUENCE {
    [0] {
      INTEGER 2
      }
    INTEGER 9188644
    SEQUENCE {
      OBJECT IDENTIFIER sha1withRSAEncryption (1 2 840 113549 1 1 5)
      NULL
      }
    SEQUENCE {
      SET {
        SEQUENCE {
          OBJECT IDENTIFIER countryName (2 5 4 6)
          PrintableString 'NZ'
          }
        }
      SET {
        SEQUENCE {
          OBJECT IDENTIFIER organizationName (2 5 4 10)
          TeletexString 'Dave's Wetaburgers and CA'
          }
        }
      SET {
        SEQUENCE {
          OBJECT IDENTIFIER organizationalUnitName (2 5 4 11)
          PrintableString 'Certification Division'
          }
        }
      SET {
        SEQUENCE {
          OBJECT IDENTIFIER commonName (2 5 4 3)
          PrintableString 'Dave Himself'
          }
        }
      }
    SEQUENCE {
      UTCTime '981007082404Z'
      UTCTime '990912032309Z'
      }
    SEQUENCE {
      SET {
        SEQUENCE {
          OBJECT IDENTIFIER countryName (2 5 4 6)
          PrintableString 'NZ'
          }
        }
      SET {
        SEQUENCE {
          OBJECT IDENTIFIER organizationName (2 5 4 10)
          TeletexString 'Dave's Wetaburgers'
          }
        }
      SET {
        SEQUENCE {
          OBJECT IDENTIFIER organizationalUnitName (2 5 4 11)
          PrintableString 'Procurement'
          }
        }
      SET {
        SEQUENCE {
          OBJECT IDENTIFIER commonName (2 5 4 3)
          PrintableString 'Dave Smith'
          }
        }
      }
    SEQUENCE {
      SEQUENCE {
        OBJECT IDENTIFIER rsaEncryption (1 2 840 113549 1 1 1)
        NULL
        }
      BIT STRING 0 unused bits
        30 48 02 41 00 C8 E1 BB 88 F5 87 48 7C A7 96 00
        50 A5 03 13 BA 81 7C 8F DD 55 FB 88 4B F4 82 6D
        15 82 D1 ED 2D 69 EC 65 43 C8 70 7C 0F 8B E9 EE
        B5 B7 96 C5 4C 3B 95 71 D2 A7 23 80 89 0B 48 B5
        2B 29 C9 5F 1D 02 03 01 00 01
      }
    [3] {
      SEQUENCE {
        SEQUENCE {
          OBJECT IDENTIFIER keyUsage (2 5 29 15)
          BOOLEAN TRUE
          OCTET STRING, encapsulates {
              BIT STRING 5 unused bits
                '111'B
              }
          }
        SEQUENCE {
          OBJECT IDENTIFIER subjectAltName (2 5 29 17)
          OCTET STRING, encapsulates {
              SEQUENCE {
                [0] {
                  OBJECT IDENTIFIER mpeg-1 (1 3 6 1 4 1 3029 42 11172 1)
                  [0] {
                    OCTET STRING
                      00 00 01 B3 16 01 20 83 02 AE 60 A4 00 00 01 B8
                      00 08 00 00 00 00 01 00 00 8A 75 00 00 00 01 01
                      2B FB AA 3E 68 96 93 A7 7E D3 7E F7 90 90 18 B0
                      60 C5 EE D9 B8 7C D9 77 1D 73 52 1A F4 06 F4 F5
                      F3 5E 9A 92 5E 10 00 93 38 06 45 F0 46 FA 2F 02
                      50 19 57 BB 75 DF 3B 04 02 92 12 4B 00 BB F4 23
                      A7 F0 2A 59 CB 03 C5 50 4C 24 F1 DB 1F 6E 02 7C
                      E4 C4 87 11 EA EF 22 05 00 27 0E 49 1B DF 67 28
                              [ Another 1220786 bytes skipped ]
                    }
                  }
                [1] [email-masked]'
                [6] 'http://www.wetas-r-us.com'
                }
              }
          }
        SEQUENCE {
          OBJECT IDENTIFIER basicConstraints (2 5 29 19)
          BOOLEAN TRUE
          OCTET STRING, encapsulates {
              SEQUENCE {}
              }
          }
        }
      }
    }
  SEQUENCE {
    OBJECT IDENTIFIER sha1withRSAEncryption (1 2 840 113549 1 1 5)
    NULL
    }
  BIT STRING 0 unused bits
    78 B3 5F 74 E7 23 08 C2 FA E2 38 7F DE 08 F6 B2
    59 E9 3F BE B9 8F 18 00 F5 72 47 FA 99 32 DB C1
    32 BC 1E 9B 36 95 AD 2D 92 8C B3 B1 D4 71 23 FF
    5E 73 48 47 F5 C4 5B 6F 40 76 81 78 28 8D D8 C0
  }
 
Peter.