public class SUCIRegistry
extends java.lang.Object
SUCIRegistry
class contains static method(s) to register object(s) in the USIM.
Theses object exposes SUCI related services.Modifier and Type | Method and Description |
---|---|
static void |
deregisterSUCICalculator(javacard.framework.AID aid,
SUCICalculator calc)
Deregister an instance of an object that implements
SUCICalculator interface from the indicated USIM application. |
static void |
deregisterSUCICalculator(SUCICalculator calc)
Deregister an instance of an object that implements
SUCICalculator
interface from the USIM application. |
static void |
registerSUCICalculator(javacard.framework.AID aid,
SUCICalculator calc)
Register an instance of an object that implements
SUCICalculator interface to
the indicated USIM application. |
static void |
registerSUCICalculator(SUCICalculator calc)
Register an instance of an object that implements
SUCICalculator interface to the USIM application. |
public static void registerSUCICalculator(javacard.framework.AID aid, SUCICalculator calc) throws SUCIException
SUCICalculator
interface to
the indicated USIM application.
This object will be used by the USIM to retrieve the SUCI to be returned to the terminal
Note:
SUCICalculator
, shall be in the same
security domain of the the indicated USIM application.
SUCICalculator
, the reference of this object will be needed.
aid
- AID of the USIM requesting USIM SUCI servicescalc
- object that implements SUCICalculator
java.lang.NullPointerException
- if aid
or calc
is null
SystemException
- if aid
is not present or not an USIM applicationSUCIException
- with the following reason codes:
SUCIException.ALREADY_REGISTERED
if a SUCICalculator
is already registered to the indicated USIM
SUCIException.WRONG_INTERFACE
if calc
object doesn't implement SUCICalculator
interface
SUCIException.WRONG_OWNERSHIP
if calc
object is from an application not in the same security domain
of the indicated USIM application.
public static void registerSUCICalculator(SUCICalculator calc)
SUCICalculator
interface to the USIM application.
This object will be used by the USIM to retrieve the SUCI to be returned to the terminal
Note:
SUCICalculator
, shall be in the same
security domain of the the indicated USIM application.
SUCICalculator
, the reference of this object will be needed.
calc
- object that implements SUCICalculator
java.lang.NullPointerException
- if calc
is null
SUCIException
- with the following reason codes:
SUCIException.NO_USIM
if there is no USIM available.
SUCIException.ALREADY_REGISTERED
if an SUCICalculator
is already registered to the indicated USIM
SUCIException.WRONG_INTERFACE
if calc
object doesn't implement SUCICalculator
interface
SUCIException.WRONG_OWNERSHIP
if calc
object is from an application not in the same security domain
of the indicated USIM application.
public static void deregisterSUCICalculator(javacard.framework.AID aid, SUCICalculator calc)
SUCICalculator
interface from the indicated USIM application.aid
- AID of the USIM using SUCI servicescalc
- object that implements SUCICalculator
that is registered and should be deregisteredjava.lang.NullPointerException
- if aid
or calc
is null
SystemException
- if aid
is not present or not an USIM applicationSUCIException
- with the following reason codes:
SUCIException.NOT_REGISTERED
if the SUCICalculator
is not registered for the indicated USIM.
The SUCICalculator
registered object, if any, will stay registered.
public static void deregisterSUCICalculator(SUCICalculator calc)
SUCICalculator
interface from the USIM application.calc
- object that implements SUCICalculator
that is registered and should be deregisteredjava.lang.NullPointerException
- if calc
is null
SUCIException
- with the following reason codes:
SUCIException.NO_USIM
if there is no USIM available.
SUCIException.NOT_REGISTERED
if the SUCICalculator
is not registered to the indicated USIM.
The SUCICalculator
registered object, if any, will stay registered.
Copyright © 2019 ETSI All Rights Reserved.