|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HTTPAdministration
This interface defines a method to trigger a new HTTP administration session.
To retrieve an instance of this interface, an Application shall use the
GlobalService
instance, if available, registered with a service name
of (
.
GPSystem.FAMILY_HTTP_ADMINISTRATION
<<8|0x00)
GlobalService
,
GPSystem.getService(javacard.framework.AID, short)
Method Summary | |
---|---|
void |
requestHTTPAdministrationSession(byte[] triggeringParameters,
short offset,
short length)
Triggers a new administration session. |
Method Detail |
---|
void requestHTTPAdministrationSession(byte[] triggeringParameters, short offset, short length)
The Security Domain of the Application invoking this method will handle the SCP81 (PSK TLS) security of the communication.
The Application invoking this method will be notified of the result of the
request if it implements the HTTPReportListener
interface.
triggeringParameters
- byte array containing administration session
triggering parameters.offset
- offset of triggering parameters within triggeringParameters
.length
- length of triggering parameters.
java.lang.SecurityException
- if triggeringParameters
is not
accessible in the caller's context.
java.lang.NullPointerException
- if triggeringParameters
is
null
.
java.lang.ArrayIndexOutOfBoundsException
- if reading triggering parameters
command would cause access of data outside array bounds.
javacard.framework.ISOException
- with one of the following reason codes: SW_WRONG_DATA
if parameters are not
correctly formatted.
SW_CONDITIONS_NOT_SATISFIED
if the request could not be
processed (e.g. if no SCP81 session could be established).
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |