[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: PKIXML session. Was: PKIX WG tentative agenda
- To: PKIX <ietf-pkix@xxxxxxx>
- Subject: FW: PKIXML session. Was: PKIX WG tentative agenda
- From: Aram Perez <aram@xxxxxxxxxxx>
- Date: Thu, 07 Dec 2000 09:25:17 -0800
- In-reply-to: <>
- User-agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
Just for fun, I've attached the PKIX example #1 certificate converted from
ASN.1 to XML.
Enjoy,
Aram Perez
----------
From: Aram Perez <aram@pacbell.net>
Date: Thu, 07 Dec 2000 08:58:28 -0800
To: PKIX <ietf-pkix@imc.org>
Subject: Re: PKIXML session. Was: PKIX WG tentative agenda
Polar Humenn wrote:
> On Thu, 7 Dec 2000, Tim Polk wrote:
>
> <snipped>
>
>> To be honest, I personally believe that XML is an
>> inappropriate encoding format for certificates (public key *or* attribute).
>
> Forgive me, I'm just an academic. So, my I ask, what does the encoding
> format really matter? And especially, why is XML "inappropriate" for
> certificates?
I'm not an academic, and I really don't care if I have to use ASN.1 or XML
to transfer security related information. But I really would like to see an
answer to Polar's questions.
Feliz Navidad,
Aram Perez
<?xml version="1.0" standalone="yes" ?>
<BER Filename="pkix-ex1.ber" >
<SEQUENCE Length="658">
<SEQUENCE Length="594">
<_0_Context-specific Length="3">
<INTEGER Length="1" Value="2">
</INTEGER>
</_0_Context-specific>
<INTEGER Length="1" Value="0">
</INTEGER>
<SEQUENCE Length="9">
<OBJECT_IDENTIFIER Length="7" Value="{ 1 2 840 10040 4 3 } dsaWithSha1">
</OBJECT_IDENTIFIER>
</SEQUENCE>
<SEQUENCE Length="42">
<SET Length="11">
<SEQUENCE Length="9">
<OBJECT_IDENTIFIER Length="3" Value="{ 2 5 4 6 } countryName">
</OBJECT_IDENTIFIER>
<PrintableString Length="2" Value="US">
</PrintableString>
</SEQUENCE>
</SET>
<SET Length="12">
<SEQUENCE Length="10">
<OBJECT_IDENTIFIER Length="3" Value="{ 2 5 4 10 } organizationName">
</OBJECT_IDENTIFIER>
<PrintableString Length="3" Value="gov">
</PrintableString>
</SEQUENCE>
</SET>
<SET Length="13">
<SEQUENCE Length="11">
<OBJECT_IDENTIFIER Length="3" Value="{ 2 5 4 11 } organizationalUnitName">
</OBJECT_IDENTIFIER>
<PrintableString Length="4" Value="nist">
</PrintableString>
</SEQUENCE>
</SET>
</SEQUENCE>
<SEQUENCE Length="30">
<UTCTime Length="13" Value="970630000000Z">
</UTCTime>
<UTCTime Length="13" Value="971231000000Z">
</UTCTime>
</SEQUENCE>
<SEQUENCE Length="42">
<SET Length="11">
<SEQUENCE Length="9">
<OBJECT_IDENTIFIER Length="3" Value="{ 2 5 4 6 } countryName">
</OBJECT_IDENTIFIER>
<PrintableString Length="2" Value="US">
</PrintableString>
</SEQUENCE>
</SET>
<SET Length="12">
<SEQUENCE Length="10">
<OBJECT_IDENTIFIER Length="3" Value="{ 2 5 4 10 } organizationName">
</OBJECT_IDENTIFIER>
<PrintableString Length="3" Value="gov">
</PrintableString>
</SEQUENCE>
</SET>
<SET Length="13">
<SEQUENCE Length="11">
<OBJECT_IDENTIFIER Length="3" Value="{ 2 5 4 11 } organizationalUnitName">
</OBJECT_IDENTIFIER>
<PrintableString Length="4" Value="nist">
</PrintableString>
</SEQUENCE>
</SET>
</SEQUENCE>
<SEQUENCE Length="436">
<SEQUENCE Length="297">
<OBJECT_IDENTIFIER Length="7" Value="{ 1 2 840 10040 4 1 } dsa">
</OBJECT_IDENTIFIER>
<SEQUENCE Length="284">
<INTEGER Length="128" Value="-30744220312096274654528586779821000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000">
</INTEGER>
<INTEGER Length="20" Value="-510896574606517088925259618161270000000000000000">
</INTEGER>
<INTEGER Length="128" Value="9993727120836680110642525245676000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000">
</INTEGER>
</SEQUENCE>
</SEQUENCE>
<BIT_STRING Length="132">
<V> 001-010: 00 02 81 80 AA 98 EA 13 94 A2 .......... </V>
<V> 011-020: DB F1 5B 7F 98 2F 78 E7 D8 E3 ..[../x... </V>
<V> 021-030: B9 71 86 F6 80 2F 40 39 C3 DA .q.../@9.. </V>
<V> 031-040: 3B 4B 13 46 26 EE 0D 56 C5 A3 ;K.F&..V.. </V>
<V> 041-050: 3A 39 B7 7D 33 C2 6B 5C 77 92 :9..3.k\w. </V>
<V> 051-060: F2 55 65 90 39 CD 1A 3C 86 E1 .Ue.9..<.. </V>
<V> 061-070: 32 EB 25 BC 91 C4 FF 80 4F 36 2.%.....O6 </V>
<V> 071-080: 61 BD CC E2 61 04 E0 7E 60 13 a...a...`. </V>
<V> 081-090: CA C0 9C DD E0 EA 41 DE 33 C1 ......A.3. </V>
<V> 091-100: F1 44 A9 BC 71 DE CF 59 D4 6E .D..q..Y.n </V>
<V> 101-110: DA 44 99 3C 21 64 E4 78 54 9D .D.<!d.xT. </V>
<V> 111-120: D0 7B BA 4E F5 18 4D 5E 39 30 ...N..M^90 </V>
<V> 121-130: BF E0 D1 F6 F4 83 25 4F 14 AA ......%O.. </V>
<V> 131-132: 71 E1 q. </V>
</BIT_STRING>
</SEQUENCE>
<_3_Context-specific Length="13">
<SEQUENCE Length="11">
<SEQUENCE Length="9">
<OBJECT_IDENTIFIER Length="3" Value="{ 2 5 29 19 } basicConstraints">
</OBJECT_IDENTIFIER>
<OCTET_STRING Length="2" Value="1-2: 30 00 0.">
</OCTET_STRING>
</SEQUENCE>
</SEQUENCE>
</_3_Context-specific>
</SEQUENCE>
<SEQUENCE Length="9">
<OBJECT_IDENTIFIER Length="7" Value="{ 1 2 840 10040 4 3 } dsaWithSha1">
</OBJECT_IDENTIFIER>
</SEQUENCE>
<BIT_STRING Length="47">
<V> 01-10: 00 30 2C 02 14 9D 2D 0C 75 EC .0,...-.u. </V>
<V> 11-20: CE 01 79 25 4C CD 7B DC FC 17 ..y%L..... </V>
<V> 21-30: 0E 0F 2A 22 EF 02 14 80 61 6F ..*"....ao </V>
<V> 31-40: FB DC 71 CF 3F 09 62 B4 AA AD ..q.?.b... </V>
<V> 41-47: 4B 8C 28 68 D7 60 FE K.(h.`. </V>
</BIT_STRING>
</SEQUENCE>
</BER>