The exclusive promotional activities on JCOP J3H145 card and Feitian R301 Smartcard Reader are in full swing. Please check this page for details.

Search found 9 matches

by owlstead
Sun Jan 27, 2019 6:30 pm
Forum: Applets Development Guide
Topic: Combine two byte array and encrypt them togethor
Replies: 2
Views: 1093

Re: Combine two byte array and encrypt them togethor

I have tried many ways but still, no one worked. That's not an error description. We cannot tell what you've tried an how it failed. You should use `cipher.update` instead of concatenating the plaintext together. If you want you can send the ciphertext in one go if the result is put right after eac...
by owlstead
Sun Jan 27, 2019 6:24 pm
Forum: PassportApplet
Topic: Problems of JMRTD client application
Replies: 3
Views: 1889

Re: Problems of JMRTD client application

I'm not sure this forum is the best place to ask about JMRTD issues. I don't think anybody of the project is actively monitoring this thread.

I might be wrong though :) But I'd try and contact that team directly if you need an application. Say hi from me if you do :)
by owlstead
Sun Jan 27, 2019 6:21 pm
Forum: Questions & Answers
Topic: My token cannot run on MAC
Replies: 2
Views: 278

Re: My token cannot run on MAC

I don't think anybody can help you with a minimalistic problem description like that. What are you expecting the readers to do? Contact you to talk you through the process of posting relevant information?
by owlstead
Sun Jan 27, 2019 6:19 pm
Forum: Applets Development Guide
Topic: The ALgorithm of RSA Sample Code
Replies: 5
Views: 6134

Re: The ALgorithm of RSA Sample Code

I'm trying to modify the RSA encrypt function using the private key instead of the public. Then I want to use the public to decrypt the message. some suggestion? Yes. Don't. There is no such thing as encrypting with a private key. Anybody has the public key, and if they don't then they can easily c...
by owlstead
Sun Jan 27, 2019 6:11 pm
Forum: Applets Development Guide
Topic: Video Tutorial - How to download CAP file to smart card?
Replies: 36
Views: 13529

Re: Video Tutorial - How to download CAP file to smart card?

I'm missing an Le byte set to 00 for that last command LOAD command (80 E8). It seems to be required by the Global Platform specifications. Maybe a bug?
by owlstead
Sun Jan 27, 2019 6:03 pm
Forum: Applets Development Guide
Topic: .net programming for developing applet
Replies: 3
Views: 949

Re: .net programming for developing applet

.NET card for me is a (another) failed attempt by Microsoft to copy popular frameworks and technologies and make it their own. As far as I understood, it required quite heavy hardware (particularly memory), which is not a good idea in a market where each cent (*literally*!) counts. It is one of the ...
by owlstead
Sun Jan 27, 2019 5:52 pm
Forum: Open Source Applets
Topic: Smart Card Bitcoin Wallet
Replies: 6
Views: 7425

Re: Smart Card Bitcoin Wallet

dannyzadok wrote:
Mon Jan 21, 2019 11:30 am
I am using the following card: 3H145
That's not all that specific; if I search for that card then Google finds this post first.
by owlstead
Sun Jan 27, 2019 5:48 pm
Forum: Questions & Answers
Topic: What's the difference between APDU and TPDU?
Replies: 15
Views: 1114

Re: What's the difference between APDU and TPDU?

Yes, things like the NAD would be part of the TPDU, not the APDU. So that's not possible.
by owlstead
Sun Jan 27, 2019 11:14 am
Forum: Questions & Answers
Topic: How to make integer variable on JavaCard 2.2.2?
Replies: 4
Views: 1273

Re: How to make integer variable on JavaCard 2.2.2?

There is no direct way when using the API. The answer that JCInt is generally supported is complete bollocks, most cards won't support the int type after all. One option is to use a generic BigNum library such as JCMathLib (which operates on any sized number). If you are lucky then BigNum support is...
JavaCard OS : Disclaimer