@License public class ATR extends Object
| Constructor and Description |
|---|
ATR(byte[] bytes)
Constructor.
|
ATR(byte[] bytes,
String separator)
Constructor.
|
ATR(String atr)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Checks if two ATRs are equal; comparison is performed case-insensitively
on the String representation with a blank separator.
|
int |
hashCode()
Returns a hash calculated on the upper-cased string representation of the
byte sequence.
|
String |
toString()
Returns a String representation of the ATR.
|
public ATR(String atr)
atr - a string version of the unique byte sequence representing the
Answer-To-Reset byte sequence.public ATR(byte[] bytes)
bytes - the unique byte sequence representing the Answer-To-Reset.public ATR(byte[] bytes, String separator)
bytes - the unique byte sequence representing the Answer-To-Reset.separator - a character sequence used as a separator between individual bytes in the
byte sequence.public boolean equals(Object other)
public int hashCode()
Copyright © 2012-2014 Andrea Funtò. See here for terms and conditions.