Package com.thalesgroup.gemalto.d1.card
Class CardDetails
java.lang.Object
com.thalesgroup.gemalto.d1.card.CardDetails
The card details for D1 Core.
For security reasons, CardDetails uses byte[] as a variable type which can be wiped (refer to wipe()).
Use the following example to convert the variable from byte[] to String if necessary:
String pan = new String(cardDetails.getPan(), StandardCharsets.UTF_8);
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCardDetails(byte[] pan, byte[] expiryDate, byte[] cvv, byte[] cardHolderName) Public Constructor -
Method Summary
-
Constructor Details
-
Method Details
-
getPan
Gets the full PAN number of the card. -
getExpiryDate
Gets the expiry date of the card in MMYY format. -
getCvv
Gets the CVV number of the card. -
getCardHolderName
Gets the name of the cardholder. -
wipe
public void wipe()Wipes the sensitive data of the object.
-