FIPS and KeyManagerFactory

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

FIPS and KeyManagerFactory

Janusz Sidor
I am using keyStore which is BCFIPS  type and do not know which KeyManagerFactory should I use? 

KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(getKeyManagerFactoryAlgorithm()); 
keyManagerFactory.init(keyStore, password) 

When using default SunX509 than it complains that cannot handle BCFIPS type which makes sense, so I looked for any other "KeyManagerFactory" registered by BouncyCastleFipsProvider but there is no any of such type. 
Would appreciate for any hint.