add PKEY handling for android