net.sourceforge.scuba.smartcards
Interface APDUWrapper
- All Known Implementing Classes:
- SecureMessagingWrapper
public interface APDUWrapper
Wrapper interface for command Apdu wrapping.
- Version:
- $Revision: 206 $
- Author:
- Cees-Bart Breunesse (ceesb@cs.ru.nl), Martijn Oostdijk (martijno@cs.ru.nl)
wrap
CommandAPDU wrap(CommandAPDU capdu)
- Wraps the command apdu buffer.
- Parameters:
capdu - should contain a header (length 4), an explicit lc (0 if
no cdata), the cdata (of length lc), and an explicit le (0 if
not specified).
- Returns:
- wrapped apdu buffer
unwrap
ResponseAPDU unwrap(ResponseAPDU rapdu,
int len)