|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.commons.util.security.impl.StringEncrypterImpl
com.elasticpath.commons.util.security.impl.CreditCardEncrypterImpl
public class CreditCardEncrypterImpl
General encryption/decryption class. Uses an encryption key and scheme configured in commerce-config.xml.
| Field Summary |
|---|
| Fields inherited from interface com.elasticpath.commons.util.security.StringEncrypter |
|---|
ENCRYPTION_KEY, ERROR_ENCRYPTION_KEY_IS_NULL, ERROR_ENCRYPTION_KEY_TOO_SHORT, MINIMUM_KEY_LENGTH |
| Constructor Summary | |
|---|---|
CreditCardEncrypterImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
decryptAndMask(java.lang.String encryptedCcNumber)
Decrypts and hides the first 12 digits of the credit card number. |
| Methods inherited from class com.elasticpath.commons.util.security.impl.StringEncrypterImpl |
|---|
decrypt, encrypt |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.elasticpath.commons.util.security.StringEncrypter |
|---|
decrypt, encrypt |
| Constructor Detail |
|---|
public CreditCardEncrypterImpl()
| Method Detail |
|---|
public java.lang.String decryptAndMask(java.lang.String encryptedCcNumber)
decryptAndMask in interface CreditCardEncrypterencryptedCcNumber - - the credit card number to decrypt.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||