ietf-smime
[Top] [All Lists]

RE: example 5.2 basic signed content RSA

2003-06-04 02:06:34

-----Original Message-----
From: owner-ietf-smime(_at_)mail(_dot_)imc(_dot_)org 
[mailto:owner-ietf-smime(_at_)mail(_dot_)imc(_dot_)org] On Behalf Of Ronen
Sent: Tuesday, June 03, 2003 11:56 PM
To: ietf-smime(_at_)imc(_dot_)org
Subject: example 5.2 basic signed content RSA

-------------- The start of the Certificate -------------------

  84 A0  560:       [0] {
  88 30  556:         SEQUENCE {       <------ why not SET !!! ? ? ? ?
  92 30  405:           SEQUENCE {
  96 A0    3:             [0] {
  98 02    1:               INTEGER 2
            :               }
101 02   16:             INTEGER
            :               46 34 6B C7 80 00 56 BC 11 D3 6E 2E
            :               C4 10 B3 B0

I believe you're out of sync.  Annotated, I believe this example
corresponds to the following:

  84 A0  560:       [0] { -- CertificateSet
  88 30  556:         SEQUENCE { -- Certificate
  92 30  405:           SEQUENCE { -- TBSCertificate
  96 A0    3:             [0] { -- Version
  98 02    1:               INTEGER 2
            :               }
101 02   16:             INTEGER
            :               46 34 6B C7 80 00 56 BC 11 D3 6E 2E
            :               C4 10 B3 B0

I think the SET for CertificateSet is implicit, and is replaced by the
[0] tag.  The SEQUENCE you point out belongs to the first Certificate in
the set.  I could be lying, however.

Blake


<Prev in Thread] Current Thread [Next in Thread>