public class CardData extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
int |
applicationInterfaceVersion |
int |
applicationLifeCycle |
int |
applicationVersion |
int |
axaltoReservedNumber |
int |
chipManufacturer |
byte[] |
chipSerialNumber |
int |
componentCode |
int |
globalOSVersion |
int |
keyExchangeVersion |
int |
osNumber |
int |
osVersion |
int |
pkcs1Support |
byte[] |
serialNumber |
int |
softmaskNumber |
int |
softmaskVersion |
| Constructor and Description |
|---|
CardData() |
| Modifier and Type | Method and Description |
|---|---|
int |
getApplicationInterfaceVersion()
get the "Application interface version" byte
|
int |
getApplicationLifeCycle()
get the "Application Life cycle" byte CAUTION: state of 0x0f
(DEACTIVATED) has been observed in otherwise active cards.
|
int |
getApplicationVersion()
get the "Application version" byte
|
int |
getAxaltoReservedNumber()
get the "2 bytes reserved for axalto" from the card serial number
|
int |
getChipManufacturer()
get the "2 bytes identifying the chip manufacturer" from the card serial
number
|
byte[] |
getChipSerialNumber()
get the 12 bytes uniquely identifying the chip inside all chips from this
manufacturer
|
int |
getComponentCode()
get the "component code" byte
|
int |
getGlobalOSVersion()
get the 2 "Global OS version" bytes "This global number is unique for a
given set composed of: Component code || OS number || OS version ||
Softmask number || Softmask version || Application version"
|
int |
getKeyExchangeVersion()
get the "Key exchange version" byte
|
int |
getOsNumber()
get the "OS number" byte
|
int |
getOsVersion()
get the "OS version" byte
|
int |
getPkcs1Support()
get the "PKCS#1 support" byte b7 b6 b5 b4 b3 b2 b1 b0 Meaning -- -- -- --
-- -- -- 1 RSASSA-PKCS1 v1.5 supported (MD5 and SHA-1) -- -- -- -- -- --
1 -- RSASSA-PSS supported (SHA-1) -- -- -- -- -- 1 -- -- RSAES-PKCS1 v1.5
supported -- -- -- -- 1 -- -- -- RSAES-OAEP supported -- -- -- 1 -- -- --
-- RSA-KEM supported
|
byte[] |
getSerialNumber()
get the complete card serial number "he serial number is composed of 2
bytes reserved for axalto, 2 bytes identifying the chip manufacturer, and
12 bytes identifying uniquely the chip inside all chips from this
manufacturer."
|
int |
getSoftmaskNumber()
get the "Softmask number" byte
|
int |
getSoftmaskVersion()
get the "Softmask version" byte
|
boolean |
isActivated()
Convenience method to test whether this card is in the ACTIVATED state.
|
boolean |
isDeactivated()
Convenience method to test whether this card is in the DEACTIVATED state.
|
boolean |
isLocked()
Convenience method to test whether this card is in the LOCKED state.
|
boolean |
isRSAESOAEPSupported()
Convenience method to test whether this card supports RSAES-OAEP
|
boolean |
isRSAESPKCS115Supported()
Convenience method to test whether this card supports RSAES-PKCS1 v1.5
|
boolean |
isRSAKEMSupported()
Convenience method to test whether this card supports RSA-KEM
|
boolean |
isRSASSAPKCS115Supported()
Convenience method to test whether this card supports RSASSA-PKCS1 v1.5
|
boolean |
isRSASSAPSSSupported()
Convenience method to test whether this card supports RSASSA-PSS
|
public byte[] serialNumber
public int axaltoReservedNumber
public int chipManufacturer
public byte[] chipSerialNumber
public int componentCode
public int osNumber
public int osVersion
public int softmaskNumber
public int softmaskVersion
public int applicationVersion
public int globalOSVersion
public int applicationInterfaceVersion
public int pkcs1Support
public int keyExchangeVersion
public int applicationLifeCycle
public byte[] getSerialNumber()
public int getAxaltoReservedNumber()
public int getChipManufacturer()
public byte[] getChipSerialNumber()
public int getComponentCode()
public int getOsNumber()
public int getOsVersion()
public int getSoftmaskNumber()
public int getSoftmaskVersion()
public int getApplicationVersion()
public int getGlobalOSVersion()
public int getApplicationInterfaceVersion()
public int getPkcs1Support()
public int getKeyExchangeVersion()
public int getApplicationLifeCycle()
public boolean isRSASSAPKCS115Supported()
public boolean isRSASSAPSSSupported()
public boolean isRSAESPKCS115Supported()
public boolean isRSAESOAEPSupported()
public boolean isRSAKEMSupported()
public boolean isActivated()
public boolean isDeactivated()
public boolean isLocked()
Copyright © 2012–2019 BOSA. All rights reserved.