summaryrefslogtreecommitdiff
path: root/tests/samples/ecdh-sample1.p7m.asn
blob: d6868fa898f9eda1a05d4c869823a799a01b14b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
  0 443: SEQUENCE {
  4   9:   OBJECT IDENTIFIER envelopedData (1 2 840 113549 1 7 3)
 15 428:   [0] {  -- content
 19 424:     SEQUENCE {
 23   1:       INTEGER 2
 26 323:       SET {
 30 319:         [1] { -- kari
 34   1:           INTEGER 3
 37 113:           [0] { -- originator
 39 111:             [1] { -- choice originatorKey
 41   9:               SEQUENCE { -- algorithm
 43   7:                 OBJECT IDENTIFIER ecPublicKey (1 2 840 10045 2 1)
       :                 }
 52  98:               BIT STRING -- publicKey (ephemeral public key)
       :                 04 A8 21 3B BD A2 18 85 63 B2 FA D1 46 94 05 3F
       :                 EF 1F B0 47 29 69 69 B5 F4 50 B2 34 E1 3C AB EE
       :                 EA E2 30 EB 46 E3 DD 4A 2B 15 B7 9D EF 3C 39 E1
       :                 36 39 0D E9 66 AE 18 59 E3 05 CC F0 42 0F 3F EC
       :                 51 8F 0C BB 0B DE 51 19 CE 06 4D BF 97 61 CF BF
       :                 24 BF BF F7 B2 54 7C EC 0C 65 41 DD 10 FE 95 B5
       :                 A4
       :               }
       :             } -- end originator
152  21:           SEQUENCE { -- keyEncryptionAlgorithm
154   6:             OBJECT IDENTIFIER '1 3 132 1 11 1' -- (certicom)
--                             11.1 := dhSinglePass-stdDH-sha256kdf-scheme
--                             11.2 := dhSinglePass-stdDH-sha384kdf-scheme
--                             11.3 := dhSinglePass-stdDH-sha512kdf-scheme
162  11:             SEQUENCE { -- keyWrapAlgorithm
164   9:               OBJECT IDENTIFIER aes128-wrap (2 16 840 1 101 3 4 1 5)
--                                 1.5  := aes128-wrap
--                                 1.25 := aes192-wrap
--                                 1.45 := aes256-wrap
       :               }
       :             }
175 175:           SEQUENCE { -- recipientEncryptedKeys
178 172:             SEQUENCE { -- recipientEncryptedKey
181 143:               SEQUENCE { -- rid.issuerAndSerialNumber
184 119:                 SEQUENCE {
186  11:                   SET {
188   9:                     SEQUENCE {
190   3:                       OBJECT IDENTIFIER countryName (2 5 4 6)
195   2:                       PrintableString 'US'
       :                       }
       :                     }
199  19:                   SET {
201  17:                     SEQUENCE {
203   3:                       OBJECT IDENTIFIER stateOrProvinceName (2 5 4 8)
208  10:                       PrintableString 'California'
       :                       }
       :                     }
220  22:                   SET {
222  20:                     SEQUENCE {
224   3:                       OBJECT IDENTIFIER localityName (2 5 4 7)
229  13:                       PrintableString 'Mountain View'
       :                       }
       :                     }
244  18:                   SET {
246  16:                     SEQUENCE {
248   3:                       OBJECT IDENTIFIER organizationName (2 5 4 10)
253   9:                       PrintableString 'BOGUS NSS'
       :                       }
       :                     }
264  39:                   SET {
266  37:                     SEQUENCE {
268   3:                       OBJECT IDENTIFIER commonName (2 5 4 3)
273  30:                       PrintableString 'NSS Pregenerated Test CA (ECC)'
       :                       }
       :                     }
       :                   }
305  20:                 INTEGER
       :                   74 5D C1 8C 19 D4 40 13 83 BE FC 5F 6E D2 BA D1
       :                   BE AE F5 09
       :                 } -- end rid.issuerAndSerialNumber
327  24:               OCTET STRING -- encryptedKey
       :                 80 0F 02 BC 0A 4A 52 EB 8A FF 51 B7 4E 88 DA 52
       :                 F7 EF AA 29 B0 26 13 E0
       :               } -- end recipientEncryptedKey
       :             } -- end recipientEncryptedKeys
       :           } -- end kari
       :         } -- end set
353  92:       SEQUENCE { -- encryptedContentInfo
355   9:         OBJECT IDENTIFIER data (1 2 840 113549 1 7 1) --type
366  29:         SEQUENCE { -- contentEncryptionAlgorithm
368   9:           OBJECT IDENTIFIER aes128-CBC (2 16 840 1 101 3 4 1 2)
379  16:           OCTET STRING B1 55 96 AD B3 05 C8 64 69 4F 55 C8 9C 37 3A DF
       :           }
397  48:         [0] -- encryptedContent
       :           39 C9 BE CA 2C 99 58 ED F6 66 8F 96 A2 69 C8 58
       :           32 FC 84 67 7C 79 B6 F4 05 9E 35 C7 CC 4A 79 6E
       :           89 97 94 CF 9E 30 EE E1 AC DF A1 D9 C2 EC 72 9C
       :         }
       :       }
       :     }
       :   }