Skip to content

Not using "AndroidKeyStore" ? #126

@vricosti

Description

@vricosti

Hi,

I would like to be able to call the equivalent java code:

KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore");
Certificate certificate = keyStore.getCertificate(CERT_ALIAS);
Key key = keyStore.getKey(KEY_ALIAS, null);
if (certificate != null && key != null) {
     certAvailable = true;
     return;
}

or

keyStore.setKeyEntry(KEY_ALIAS, generateKeyPair.getPrivate(), null, new Certificate[]{generate});
keyStore.setCertificateEntry(CERT_ALIAS, generate);

but in you code I can see a constant to "AndroidKeyStore" but it doesn't seem to be used.
So your library do not allow to access keystore ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions