We are planning to move to BouncyCastle 1.6 version
(bcprov-jdk15on-161.jar). At the moment, we are not planning
to use bkpkix-jdk15on-161.jar.
In our codebase, we were constructing SKI in the following
new SubjectKeyIdentifier( SubjectPublicKeyInfo ) --
Since, this constructor longer exists in 1.6, We were
thinking of constructing SubjectKeyIdentifier with the byte
new SubjectKeyIdentifier( SubjectPublicKeyInfo.getEncoded()
We are unsure though if this is the right way to generate
Please do clarify this issue ?