Class Component Structure of CAP for JC2.2.X
Dear JavaCard Society,
During implementation of JavaCard for smart card OS I met some contradiction between specification and real CAP file format. The matter is inclass component structure inside CAP file.
JCVM2.2.2 and JCVM2.2.1 declare it as
class_component{
u1 tag
u2 size
u2 signature_pool_length
type_descriptor signature_pool[]
interface_info interfaces[]
class_info classes[]
}
However JCVM2.1.1 declares it as
class_component{
u1 tag
u2 size
interface_info interfaces[]
class_info classes[]
}
The problem is that JC2.2.X converter generates CAP file without declaredsignature_pool_length andsignature_pool. So it means that JC2.2.X converter generates CAP file according to JC2.2.1 format.
Any comments or opinions are much appreciated.
Thanks

