朝隆 鄭
Feb 12, 2018
9:05 am

How to generate key pair in the TIMA CCM Keystore?

Hello,

I want to generate a CSR using a key pair in TIMAKeyStore, but I don't know how to generate a key pair.

I found this teaching page,and it show that tima keystore can access via Android API.

https://seap.samsung.com/html-docs/android-keystore/Content/Developer-Gu...

 

I try to use Android API with TIMAKeyStore provider, but it occured NoSuchProviderException.

KeyPairGenerator.getInstance(
        KeyProperties.KEY_ALGORITHM_RSA, "TIMAKeyStore");

Please do suggest me some method.

Thank you

Calvin

 

Similar topics

No similar topics found.
Samuel Goldwax
Feb 13, 2018
6:01 pm

Hello,

For this instance, I would recommend trying the getInstance implementation that does not take provider as an argument. However if you continue to experience issues with the Android APIs you'll have to contact Android support.

Thanks,
Sam

朝隆 鄭
Feb 21, 2018
2:11 am

Hi Samuel,

I tried to use getInstance implementation that does not take provider as an argument,for example:

KeyPairGenerator.getInstance(
        KeyProperties.KEY_ALGORITHM_RSA);

Then, I want to check if entry is in the TIMAKeyStore.

I get Android KeyStore instance that take "TIMAKeyStore" type as an argument, for example:

 KeyStore.getInstance("TIMAKeyStore");
 timaKeyStore.load(null, null);

This keystore doesn't get any Entry,but I use "AndroidKeyStore" as an argument, it can get KeyEntry

My question is how to check the key pair in TIMAKeyStore?

Thank you

 

Calvin