[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Specification languages



At 16:25 2/28/96, marcus (m.d.) leech wrote:

looks good, with one confusion for me:


>typedef Signature
>{
>     KeyId          uint64
>     OtherIdent     octets
>     OthIdType      uint8
>     SigType        uint8  selects(SigBytes)
>       SigBytes[0]    RSASignature
>       SigBytes[1]    DSSSignature
>}

isn't clear in how it's going to show up in C or PASCAL.
What were you envisioning?


typedef Signature
{
     KeyId          uint64
     OtherIdent     octets
     OthIdType      uint8
     SigType        uint8  selects
      {0: (rsa    RSASignature )
       1: (dss    DSSSignature )
      }
}

is one that would translate directly to PASCAL, so I can
envision it immediately.

 - Carl

+--------------------------------------------------------------------------+
|Carl M. Ellison          cme@cybercash.com   http://www.clark.net/pub/cme |
|CyberCash, Inc., Suite 430                   http://www.cybercash.com/    |
|2100 Reston Parkway           PGP 2.6.2: 61E2DE7FCB9D7984E9C8048BA63221A2 |
|Reston, VA 22091      Tel: (703) 620-4200                                 |
+--------------------------------------------------------------------------+



Follow-Ups: