Java API
HSM Dinamo
Loading...
Looking for...
No entries found
SmartCardChangePIN.java

Example of changing the PIN for an N Dinamo M Smart Card.

See Note on examples.
package doxy.examples;
import com.dinamonetworks.Dinamo;
import br.com.trueaccess.TacException;
public class SmartCardChangePIN {
public static void main(String[] args) throws TacException {
String currentPin = "12345678";
String newPin = "87654321";
Dinamo api = new Dinamo();
api.scChangePIN(currentPin, newPin);
System.out.println("PIN alterado com sucesso.");
}
}