package Ġim . status . key card . connect . card Ċ Ċ import Ġim . status . key card . connect . Registry Ċ Ċ class ĠChange PIN Command ( private Ġval Ġnew PIN : ĠString ) Ġ: ĠCard Command Ġ{ ĊĠĠĠ Ġ// TODO : Ġlike Ġfor Ġthe ĠPIN Cache , Ġno Ġstrings Ġshould Ġbe Ġused Ġhere ĊĠĠĠ Ġoverride Ġfun Ġrun ( context : ĠCard Script Executor . Script Context ): ĠCard Command . Result Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġrun On Card Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcontext . cmd Set . change PIN ( new PIN ). check OK () ĊĠĠĠĠĠĠĠĠĠĠĠ ĠRegistry . pin Cache . put PIN ( context . cmd Set . application Info . instance UID , Ġnew PIN ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }