How do I decrypt/verify incoming data on a Secure Channel?

Julien SIMON

You just have to pass the incoming APDU to ProviderSecurityDomain.unwrap(). If the call returns, this means that the APDU has been successfully decrypted/verified. If not, the Card Manager throws an exception and closes the Secure Channel.

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.