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

[IETF-PKIX] DER Encoding of Key Usage Extension?



A short question: how to encode the key usage extension with, let's say,
bit 0, 1, and 3 set. Is it

      03 02 04 D0  (BIT STRING with value '1101')
or
      03 02 04 B0  (BIT STRING with value '1011')

I know this sort of question has been asked before on this list but in
that example bit 0 and 4  were set (which is encoded 03 02 03 88 in both
cases).

Thanks,
Anette
------------------------------------------------------------
Anette Byskov                          Cryptomathic A/S
Tel:    +45 86 13 90 20                Klostergade 28
Direct: +45 86 13 90 21 - 113          DK-8000 Aarhus C
Fax:    +45 86 20 29 75                Denmark
Web:    http://www.cryptomathic.dk/
                           - new dimensions in data security
------------------------------------------------------------