Tests/selfsigned cert parsed.txt
author Jens Alfke <jens@mooseyard.com>
Sat Jun 06 15:01:28 2009 -0700 (2009-06-06)
changeset 21 2c300b15b381
permissions -rw-r--r--
* Created class MYCertificateRequest, factored out of MYCertificateInfo.
* Added method to create a MYIdentity directly from a MYCertificateRequest.
* Added raw modulus+exponent accessor and initializer for MYPublicKey.
* Removed obsolete MYCertGen code, and the MYPrivateKey identity-creation method that used it.
jens@21
     1
Parsed form of selfsigned.cer:
jens@21
     2
 
jens@21
     3
Sequence:                       <-- top
jens@21
     4
    Sequence:                       <-- info
jens@21
     5
        MYASN1Object[2/0]:              <-- version (tag=0, constructed)
jens@21
     6
            2                       
jens@21
     7
        1                               <-- serial number
jens@21
     8
        Sequence:
jens@21
     9
            {1 2 840 113549 1 1 1}      <-- algorithm ID
jens@21
    10
        Sequence:                       <-- issuer (same as subject here)
jens@21
    11
            Set:
jens@21
    12
                Sequence:
jens@21
    13
                    {2 5 4 4}
jens@21
    14
                    Widdershins
jens@21
    15
            Set:
jens@21
    16
                Sequence:
jens@21
    17
                    {1 2 840 113549 1 9 1}
jens@21
    18
                    waldo@example.com
jens@21
    19
            Set:
jens@21
    20
                Sequence:
jens@21
    21
                    {2 5 4 3}
jens@21
    22
                    waldo
jens@21
    23
            Set:
jens@21
    24
                Sequence:
jens@21
    25
                    {2 5 4 42}
jens@21
    26
                    Waldo
jens@21
    27
            Set:
jens@21
    28
                Sequence:
jens@21
    29
                    {2 5 4 13}
jens@21
    30
                    Just a fictitious person
jens@21
    31
        Sequence:                       <--validity
jens@21
    32
            2009-04-12 21:54:35 -0700
jens@21
    33
            2010-04-13 21:54:35 -0700
jens@21
    34
        Sequence:                       <-- subject
jens@21
    35
            Set:
jens@21
    36
                Sequence:                   <-- surname
jens@21
    37
                    {2 5 4 4}
jens@21
    38
                    Widdershins
jens@21
    39
            Set:
jens@21
    40
                Sequence:                   <-- email
jens@21
    41
                    {1 2 840 113549 1 9 1}
jens@21
    42
                    waldo@example.com
jens@21
    43
            Set:
jens@21
    44
                Sequence:                   <-- common name
jens@21
    45
                    {2 5 4 3}
jens@21
    46
                    waldo
jens@21
    47
            Set:
jens@21
    48
                Sequence:                   <-- first name
jens@21
    49
                    {2 5 4 42}
jens@21
    50
                    Waldo
jens@21
    51
            Set:
jens@21
    52
                Sequence:                   <-- description
jens@21
    53
                    {2 5 4 13}
jens@21
    54
                    Just a fictitious person
jens@21
    55
        Sequence:                       <-- public key info
jens@21
    56
            Sequence:
jens@21
    57
                {1 2 840 113549 1 1 1}      <-- algorithm ID (RSA)
jens@21
    58
                <null>
jens@21
    59
            MYBitString<3082010a 02820101 0095713c 360badf2 d8575ebd 278fa26b
jens@21
    60
            a2e6d05e 1eb04eaa 9fa6f11b fd341556 038b3077 525c7adb f5aedf3b
jens@21
    61
            249b08e6 7f77af26 7ff2feb8 5f4ccb96 5269dbd2 f01f19b6 55fc4ea3
jens@21
    62
            a85f2ede 11ff80f8 fc23e662 f263f685 06a9ec07 f7ee4249 af184f21
jens@21
    63
            2d9253d8 7f6f7cbc 96e6ba5c abc8f4e7 3bf6100b 06dcf3ee 999d4170
jens@21
    64
            f5dd005d a24a54a1 3edaddd5 0675409d 6728a387 5fa71898 ebf7d93d
jens@21
    65
            4af8742d f9a0e9ad 6dc21cfa fc2d1967 e692575b 56e5376c 8cf008e8
jens@21
    66
            a442d787 6843a92e 9501b144 8a75adef 5e804fec 6d09740d 1ea8442e
jens@21
    67
            67fac3be c5ea3af5 d95d9f95 2c507711 01c45942 28ad1410 23525324
jens@21
    68
            62848476 d987d3c7 d65f9057 daf1e853 77020301 0001>       <-- DER-encoded public key
jens@21
    69
        MYASN1Object[2/3]:              <-- extensions
jens@21
    70
            Sequence:
jens@21
    71
                Sequence:
jens@21
    72
                    {2 5 29 15}
jens@21
    73
                    <030202fc>
jens@21
    74
                Sequence:
jens@21
    75
                    {2 5 29 37}
jens@21
    76
                    <301a0608 2b060105 05070301 06082b06 01050507 03020604 551d2500>
jens@21
    77
    Sequence:                           <-- signature algorithm ID
jens@21
    78
        {1 2 840 113549 1 1 5}
jens@21
    79
        <null>
jens@21
    80
    MYBitString<79c8e789 50a11fcb 7398f5fe 0cfa2595 b2476f53 62dfbea2 70ae3a8b
jens@21
    81
    fdaf5a57 39be6101 fc5e0929 e57a0b2b 41e3ab52 f78ef1b5 ecc8848c da7f42aa
jens@21
    82
    b57c3df4 df4125a9 db4e6388 197c2a1c e326c1a5 5203b4ef da057b91 4abc43aa
jens@21
    83
    3eeee6aa fe4303c3 0f000175 16b916b5 72f8b74f c682a06f 920e3bbf a16cdad8
jens@21
    84
    fce3f184 adccc61e 8d3b44e5 8bd103f0 46310f6a 992f240a b290354c 04c519c9
jens@21
    85
    22276df6 310ccb8e 942e38f6 555ca40b 71482e52 146a9988 f021c2c0 2d285db5
jens@21
    86
    59d48eaf 7b20559f 068ea1a0 f07fbaee 29284ada 28bf8344 f435f30f 6263f0c9
jens@21
    87
    9c4920ce a1b7c6c0 9cfa3bbb af5a0fee 5b0e94eb 9c57d28b 1bb9c977 be53e4bb
jens@21
    88
    b675ffaa>                           <-- signature data