public class OwnerPINBuilder extends Object
OwnerPINBuilder class is factory for Owner PIN objects.OwnerPIN, 
OwnerPINx, 
OwnerPINxWithPredecrement| Modifier and Type | Field and Description | 
|---|---|
| static byte | OWNER_PINThe type identifier for the legacy  OwnerPIN. | 
| static byte | OWNER_PIN_XThe type identifier for  OwnerPINx. | 
| static byte | OWNER_PIN_X_WITH_PREDECREMENTThe type identifier for  OwnerPINxWithPredecrement. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PIN | buildOwnerPIN(byte tryLimit,
             byte maxPINSize,
             byte ownerPINType)Creates a new  PINinstance of the requested type, maximum allowed
 PIN size and tries limit, and with thevalidatedflag initially set tofalse. | 
public static final byte OWNER_PIN
OwnerPIN.public static final byte OWNER_PIN_X
public static final byte OWNER_PIN_X_WITH_PREDECREMENT
OwnerPINxWithPredecrement.
 OwnerPINxWithPredecrement - when compared to
 OwnerPINx - supports the decrementation of the tries counter
 before any PIN validation attempts.OwnerPINxWithPredecrement#decrement, 
Constant Field Valuespublic static PIN buildOwnerPIN(byte tryLimit, byte maxPINSize, byte ownerPINType) throws PINException
PIN instance of the requested type, maximum allowed
 PIN size and tries limit, and with the validated flag initially set to
 false.tryLimit - the maximum number of times an incorrect PIN can be
 presented; tryLimit must be >=1.maxPINSize - the maximum allowed PIN size; maxPINSize must be
 >=1.ownerPINType - the requested Owner PIN type. Valid codes listed in
 OWNER_* constants in this class e.g.
 OWNER_PIN_X.PIN instance.PINException - with the following reason codes:
 ILLEGAL_VALUE if tryLimit or
 maxPINSize is less than 1 or if ownerPINType is not one of the
 defined valid codes.SystemException - with the following reason codes:
 ILLEGAL_USE if the PIN type ownerPINType
 is not implemented.Copyright © 1998, 2015, Oracle and/or its affiliates. All rights reserved.