com.linuxnet.jpcsc
Interface Apdu.Wrapper
- Enclosing interface:
- Apdu
- public static interface Apdu.Wrapper
ApduWrapper wraps apdu data before sending to the card. It is
expected corresponding cardlet will unwrap the apdu. Adding secure
messaging to apdu is one type of wrapping.
Method Summary |
int |
wrap(byte[] apduBuffer,
int len)
Wrap the apdu buffer. |
wrap
public int wrap(byte[] apduBuffer,
int len)
throws java.rmi.RemoteException
- Wrap the apdu buffer.
- Parameters:
apduBuffer
- buffer contains apdu data. It must be large
enough to receive the wrapped apdu.len
- length of apdu data
- Returns:
- length of apdu data after wrapped
- Throws:
java.rmi.RemoteException