Java 1.5 is not encoding integers properly

Salil Dangi first_dot_last_ at
Tue Jun 27 14:03:59 EDT 2006

Is MIT implementation only accepting non-minimal-length integers or it is 
also generating non-minimal-length integers?

If it is generating non-minimal-length integers then that should be 

>    Salil> As per the ASN encoding specifications, all integers must
>    Salil> be encoded in minimum number of octets.  This means that
>    Salil> the top 9 bits of the encoded string should not be same.
> MIT Kerberos and I think most of the other Kerberos implementations
> out there will accept non-minimal-length BER integers.  I agree that
> this is not compatible ith DER and that implementations that generate
> such integers are not conforming to RFC 4120.
> ________________________________________________
> Kerberos mailing list           Kerberos at

More information about the Kerberos mailing list