On 11/20/10 5:47 PM, Felix Knecht wrote:
Is it correct, that ALL classes extended BitString must use a byte
array of length 5?
If there are 32 bits, yes. But it depends on the encoding. In pure DER,
we don't necessarily uses all the bytes, we use just enough bytes to
store the bits up to the last 1. So it can be from 2 to 5 bytes.
Complicated ...
Well then ... I just go on trying to fix things in a way that the
tests are passing again (hoping the tests are correct). Please insist
immediately if you don't feel good looking at the commits.
I don't mind if Nobody [1] is faster than me :-;
[1] http://en.wikipedia.org/wiki/My_Name_is_Nobody
I think that you are close to the problem with this KerberosFlags not
being handled correctly,felix.
The way we manipulate them is not consistent with the new storage, as
the check is lookig for bits expecting them to be stored from right to
left in the integer, when they are now stored from left to right.
I have to go and see my parents this afternoon, so I won't probably be
able to fix it, or maybe while commuting (I have roughly 45 minutes of
train), so if you come with a solution before me, that'll be fine. But
if you do something else this afternoon (this is sunday, for X sake !),
maybe I'll come with a fix on my own.
In any case, I think we can get this bummer fixed tonite !
Thanks for having investigated this problem !
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com