com.isbc.smartcard.esmarttoken.api

## Class Perso

- java.lang.Object
- - com.isbc.smartcard.esmarttoken.api.Perso

-     public class Perso
      extends Object

  Personalization API
  Author:
    Sergey Panov

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Perso()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `doPerso(javax.smartcardio.CardTerminal term)` Do actually personalization
    `boolean` | `isNeedPersonalize(javax.smartcardio.CardTerminal terminal)` Check if current inserted card need to be personalized

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Perso

          public Perso()

  - ### Method Detail

    - #### isNeedPersonalize

          public boolean isNeedPersonalize(javax.smartcardio.CardTerminal terminal)

      Check if current inserted card need to be personalized
      Parameters:
        `terminal` - reader object
      Returns:
        boolean TRUE - if card need to be personalized, FALSE if not

    - #### doPerso

          public void doPerso(javax.smartcardio.CardTerminal term)
                       throws javax.smartcardio.CardException,
                              Exception

      Do actually personalization
      Parameters:
        `term` - reader object
      Throws:
        `javax.smartcardio.CardException` - Throw if something wrong with PC/SC
        `Exception` - Throw if something wrong with HEX decoding
      See Also:
        `HexUtils`

Copyright © 2018. All rights reserved.