com.acs.smartcard
Class PinProperties

java.lang.Object
  extended by com.acs.smartcard.PinProperties

public class PinProperties
extends java.lang.Object

This class represents PIN_PROPERTIES structure in PC/SC 2.0 Part 10.

Since:
1.1

Constructor Summary
PinProperties()
          Creates an instance of PinProperties.
PinProperties(byte[] buffer, int bufferLength)
          Creates and initializes an instance of PinProperties from the byte array.
 
Method Summary
 void clear()
          Remove all properties.
 void fromByteArray(byte[] buffer, int bufferLength)
          Initializes the PIN properties from the byte array.
 int getEntryValidationCondition()
          Gets the entry validation condition.
 int getLcdLayout()
          Gets the LCD layout
 int getTimeOut2()
          Gets the timeout2.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PinProperties

public PinProperties()
Creates an instance of PinProperties.


PinProperties

public PinProperties(byte[] buffer,
                     int bufferLength)
Creates and initializes an instance of PinProperties from the byte array.

Parameters:
buffer - the buffer.
bufferLength - the buffer length.
Method Detail

clear

public void clear()
Remove all properties.


getLcdLayout

public int getLcdLayout()
Gets the LCD layout

Returns:
the LCD layout.

getEntryValidationCondition

public int getEntryValidationCondition()
Gets the entry validation condition.

Returns:
the entry validation condition.

getTimeOut2

public int getTimeOut2()
Gets the timeout2.

Returns:
the timeout2.

fromByteArray

public void fromByteArray(byte[] buffer,
                          int bufferLength)
Initializes the PIN properties from the byte array.

Parameters:
buffer - the buffer.
bufferLength - the buffer length.


Copyright © 2011-2012 Advanced Card Systems Ltd. All Rights Reserved.