public interface RedsysKeyProcessingInterface
Modifier and Type | Method and Description |
---|---|
void |
deleteAllOperationalKeys(int timeout,
ProgressListener listener)
Deletes all Operational Keys
|
java.lang.String |
getCCPKeysVersion(int timeoutMs)
Gets CCP Keys version
|
java.lang.String |
getCIKeyVersion(RedsysProcessorSlotEnum slotId,
int timeoutMs)
Get CI key version by slot
|
java.lang.String |
getCPINZoneIndex(RedsysProcessorSlotEnum slotId,
int timeoutMs)
Gets CPIN Zone index of a given Processor Slot.
|
java.lang.String |
getProcessorSlotKCV(RedsysProcessorSlotEnum slotId,
RedsysProcessorKeyTypeEnum keyType,
int timeoutMs)
Gets the Key KCV value of a given Processor Slot.
|
void |
loadFactoryKeys(RedsysKey caf,
RedsysKey ctc,
int timeout,
ProgressListener listener)
Loads the factory keys
|
void |
setCAKey(RedsysProcessorSlotEnum slotId,
RedsysKey key,
int timeout,
ProgressListener listener)
Sets the CA key of a given Processor Slot
|
void |
setCCPKeys(java.lang.String version,
RedsysKey[] list,
int timeout,
ProgressListener listener)
Set CCP Keys
|
void |
setCIKey(RedsysProcessorSlotEnum slotId,
java.lang.String version,
RedsysKey key,
int timeout,
ProgressListener listener)
Sets the CI key of a given Processor Slot
|
void |
setCPINKey(RedsysProcessorSlotEnum slotId,
java.lang.String zoneIdx,
RedsysKey key,
int timeout,
ProgressListener listener)
Sets the CPIN key of a given Processor Slot
|
void |
setCTCKey(RedsysProcessorSlotEnum slotId,
RedsysKey key,
int timeout,
ProgressListener listener)
Sets the CTC key of a given Processor Slot
|
void |
updateCPINKey(RedsysProcessorSlotEnum slotId,
java.lang.String zoneIdx,
RedsysKey key,
int timeout,
ProgressListener listener)
Updates the CPIN key of a given Processor Slot
|
void |
updateCTCKey(RedsysProcessorSlotEnum slotId,
RedsysKey key,
int timeout,
ProgressListener listener)
Updates the CTC key of a given Processor Slot
|
void setCCPKeys(java.lang.String version, RedsysKey[] list, int timeout, ProgressListener listener) throws RedsysKeyProcessingException
version
- key versionlist
- array of RedsysKey
CCP keys to be settimeout
- Timeout in milliseconds. If timeoutMs is <= 0, internal default timeout will be usedlistener
- ProgressListener
to keep track of the update. Optional, can be null.RedsysKeyProcessingException
- general errorjava.lang.String getCCPKeysVersion(int timeoutMs) throws java.lang.Exception
timeoutMs
- Timeout in milliseconds. If timeoutMs is <= 0, internal default timeout will be usedjava.io.IOException
- if the operation cannot be performed due to IO errorsjava.lang.Exception
void setCIKey(RedsysProcessorSlotEnum slotId, java.lang.String version, RedsysKey key, int timeout, ProgressListener listener) throws RedsysKeyProcessingException
slotId
- processor slot IDversion
- key versionkey
- RedsysKey
to settimeout
- Timeout in milliseconds. If timeoutMs is <= 0, internal default timeout will be usedlistener
- ProgressListener
to keep track of the update. Optional, can be null.RedsysKeyProcessingException
- general errorjava.lang.String getCIKeyVersion(RedsysProcessorSlotEnum slotId, int timeoutMs) throws java.lang.Exception
slotId
- processor slot IDtimeoutMs
- Timeout in milliseconds. If timeoutMs is <= 0, internal default timeout will be usedRedsysKeyProcessingException
- general errorjava.lang.Exception
void setCAKey(RedsysProcessorSlotEnum slotId, RedsysKey key, int timeout, ProgressListener listener) throws RedsysKeyProcessingException
slotId
- processor slot IDkey
- key to be settimeout
- Timeout in milliseconds. If timeoutMs is <= 0, internal default timeout will be usedlistener
- ProgressListener
to keep track of the update. Optional, can be null.RedsysKeyProcessingException
- general errorvoid setCTCKey(RedsysProcessorSlotEnum slotId, RedsysKey key, int timeout, ProgressListener listener) throws RedsysKeyProcessingException
slotId
- processor slot IDkey
- RedsysKey
to settimeout
- Timeout in milliseconds. If timeoutMs is <= 0, internal default timeout will be usedlistener
- ProgressListener
to keep track of the update. Optional, can be null.RedsysKeyProcessingException
- general errorvoid updateCTCKey(RedsysProcessorSlotEnum slotId, RedsysKey key, int timeout, ProgressListener listener) throws RedsysKeyProcessingException
slotId
- RedsysProcessorSlotEnum
processor slot IDkey
- RedsysKey
to settimeout
- Timeout in milliseconds. If timeoutMs is <= 0, internal default timeout will be usedlistener
- ProgressListener
to keep track of the update. Optional, can be null.RedsysKeyProcessingException
- general errorvoid setCPINKey(RedsysProcessorSlotEnum slotId, java.lang.String zoneIdx, RedsysKey key, int timeout, ProgressListener listener) throws RedsysKeyProcessingException
slotId
- RedsysProcessorSlotEnum
processor slot IDzoneIdx
- zone indexkey
- RedsysKey
to settimeout
- Timeout in milliseconds. If timeoutMs is <= 0, internal default timeout will be usedlistener
- ProgressListener
to keep track of the update. Optional, can be null.RedsysKeyProcessingException
- general errorvoid updateCPINKey(RedsysProcessorSlotEnum slotId, java.lang.String zoneIdx, RedsysKey key, int timeout, ProgressListener listener) throws RedsysKeyProcessingException
slotId
- RedsysProcessorSlotEnum
processor slot IDzoneIdx
- zone indexkey
- RedsysKey
to updatetimeout
- Timeout in milliseconds. If timeoutMs is <= 0, internal default timeout will be usedlistener
- ProgressListener
to keep track of the update. Optional, can be null.RedsysKeyProcessingException
- general errorjava.lang.String getCPINZoneIndex(RedsysProcessorSlotEnum slotId, int timeoutMs) throws java.lang.Exception
slotId
- RedsysProcessorSlotEnum
processor slot IDtimeoutMs
- Timeout in milliseconds. If timeoutMs is <= 0, internal default timeout will be usedRedsysKeyProcessingException
- general errorjava.lang.Exception
java.lang.String getProcessorSlotKCV(RedsysProcessorSlotEnum slotId, RedsysProcessorKeyTypeEnum keyType, int timeoutMs) throws java.lang.Exception
slotId
- RedsysProcessorSlotEnum
processor slot IDkeyType
- RedsysProcessorKeyTypeEnum
key typetimeoutMs
- Timeout in milliseconds. If timeoutMs is <= 0, internal default timeout will be usedRedsysKeyProcessingException
- general errorjava.lang.Exception
void deleteAllOperationalKeys(int timeout, ProgressListener listener) throws RedsysKeyProcessingException
timeout
- Timeout in milliseconds. If timeoutMs is <= 0, internal default timeout will be usedlistener
- ProgressListener
to keep track of the update. Optional, can be null.RedsysKeyProcessingException
- general errorvoid loadFactoryKeys(RedsysKey caf, RedsysKey ctc, int timeout, ProgressListener listener) throws RedsysKeyProcessingException
caf
- RedsysKey
caf keyctc
- RedsysKey
ctc keytimeout
- Timeout in milliseconds. If timeoutMs is <= 0, internal default timeout will be usedlistener
- ProgressListener
to keep track of the update. Optional, can be null.RedsysKeyProcessingException
- general errorCopyright © 2019 Yello. All rights reserved.