|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecureChannel
Interface implementing an APDU wrapping / unwrapping mechanism
Field Summary | |
---|---|
static int |
ALL
Combination of CPRO, CENC, RPRO, RENC |
static int |
CENC
Usage qualifier: Command APDU is encrypted |
static int |
CPRO
Usage qualifier: Command APDU is MAC protected |
static int |
RENC
Usage qualifier: Response APDU is encrypted |
static int |
RPRO
Usage qualifier: Response APDU is MAC protected |
Method Summary | |
---|---|
ResponseAPDU |
unwrap(ResponseAPDU apduToUnwrap,
int usageQualifier)
Unwrap a CommandAPDU |
CommandAPDU |
wrap(CommandAPDU apduToWrap,
int usageQualifier)
Wrap a CommandAPDU |
Field Detail |
---|
static final int CPRO
static final int CENC
static final int RPRO
static final int RENC
static final int ALL
Method Detail |
---|
CommandAPDU wrap(CommandAPDU apduToWrap, int usageQualifier)
apduToWrap
- Command APDU to be wrappedusageQualifier
- Qualifier to control the transformation process
ResponseAPDU unwrap(ResponseAPDU apduToUnwrap, int usageQualifier)
apduToUnwrap
- Response APDU to be unwrappedusageQualifier
- Qualifier to control the transformation process
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |