After a quick look, it seems like that it is only used to validate PIN, how to use it to set a PIN? any sample codes ?