Category : keystore

I am facing an issue with SSL connection setup while establishing SSL connection between Android device and server with client authentication. On client/device side I am using client’s certificate with private key imported into AndroidKeyStore. Here private key is imported (using WrappedKeyEntry(), setEntry()) such that when accessed from AndroidKeyStore it returns private key’s reference instead ..

Read more

I am using Android’s keystore to implement fingerprint unlock of my Android app. I therefore use KeyGenerator to create a key using var _keyGen = KeyGenerator.GetInstance(KeyProperties.KeyAlgorithmAes, "AndroidKeyStore") KeyGenParameterSpec.Builder builder = new KeyGenParameterSpec.Builder(GetAlias(_keyId), KeyStorePurpose.Encrypt | KeyStorePurpose.Decrypt) .SetBlockModes(KeyProperties.BlockModeCbc) // Require the user to authenticate with biometry to authorize every use // of the key .SetEncryptionPaddings(KeyProperties.EncryptionPaddingPkcs7) .SetUserAuthenticationRequired(true); _keyGen.Init( ..

Read more