Finding certkey size and public key size

Hi, I want to update the certificate Current key strength(Compatible with 7.0 and later (2048 Bits).is there any way to update using java code. and also how to retrieve this value.Where it is stored(i mean in mail file or names.nsf or certsrv.nsf…)

how to find ID file encription strength value and certificate key strength.

I can see this values using notes admin

File->security>User security>security basic section

File->security>User security>your identiy>your certificates.

I want to access these values using java code.

Can you help me somebody.

Thanks,

Sankar