part of the smartcard functions implemented
part of the functions implemented