Mifare SDK KeyStore

Forum / MIFARE SDK / Mifare SDK KeyStore

  • 29. September 2014 at 11:33
    Hi,

    im playing around with the sdk and the keystore.
    With the samplecode in your manual I've some problems:
    ks = KeyStoreFactory.getInstance().getSoftwareKeyStore();
    ks.formatKeyEntry(0, IKeyConstants.KeyType.KEYSTORE_KEY_TYPE_MIFARE);
    ks.setKey(0, (byte)0,IKeyConstants.KeyType.KEYSTORE_KEY_TYPE_MIFARE,KEY_DEFAULT_1, (byte)0);
    libInstance.loadKeyStore(ks);


    libInstance.loadKeyStore(ks); : The method loadKeyStore(IKeyStore) is undefined for the type NxpNfcLibLite
    and
    ks.setKey(0, (byte)0,IKeyConstants.KeyType.KEYSTORE_KEY_TYPE_MIFARE,KEY_DEFAULT_1, (byte)0); : The method setKey(int, byte, IKeyConstants.KeyType, byte[]) in the type IKeyStore is not applicable for the arguments (int, byte, IKeyConstants.KeyType, byte[], byte);

    Can you help me please?
    + 0  |  - 0

    Re: Mifare SDK KeyStore

    29. September 2014 at 13:24
    Hi JulianRa,
    In the Lite version of the MIFARE SDK library [ nxpnfcliblite.jar] we are not providing access to the keystore APIs, the manual that your referring describes the sample code of the Full version of MIFARE SDK. So while using Lite SDK please manage your keys in your application.

    Thanks and Regards,
    Team
    MIFARE SDK
    + 0  |  - 0

    Re: Mifare SDK KeyStore

    29. September 2014 at 14:00
    Hi,

    Thanks for the answer.
    Under the chapter 3.5.1 "First steps in using the LITE library – NxpNfcLibLite" is the quoted sample...

    Thanks
    Julian
    + 0  |  - 0

    Re: Mifare SDK KeyStore

    2. October 2014 at 16:25
    Hi again,

    Do you know when the full version is available?

    Thanks,
    Julian
    + 0  |  - 0
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.