Class AisAbstractChecksumCalculatingService
- java.lang.Object
-
- de.adorsys.psd2.consent.service.sha.AisAbstractChecksumCalculatingService
-
- All Implemented Interfaces:
ChecksumCalculatingService
- Direct Known Subclasses:
AisChecksumCalculatingServiceV3,AisChecksumCalculatingServiceV4,AisChecksumCalculatingServiceV5
@Service public abstract class AisAbstractChecksumCalculatingService extends Object implements ChecksumCalculatingService
-
-
Constructor Summary
Constructors Constructor Description AisAbstractChecksumCalculatingService()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description byte[]calculateChecksumForConsent(de.adorsys.psd2.core.data.Consent<?> consent)protected abstract Comparator<de.adorsys.psd2.xs2a.core.profile.AccountReference>getComparator()booleanverifyConsentWithChecksum(de.adorsys.psd2.core.data.Consent<?> consent, byte[] checksum)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.adorsys.psd2.consent.service.sha.ChecksumCalculatingService
getVersion
-
-
-
-
Method Detail
-
getComparator
protected abstract Comparator<de.adorsys.psd2.xs2a.core.profile.AccountReference> getComparator()
-
verifyConsentWithChecksum
public boolean verifyConsentWithChecksum(de.adorsys.psd2.core.data.Consent<?> consent, byte[] checksum)- Specified by:
verifyConsentWithChecksumin interfaceChecksumCalculatingService
-
calculateChecksumForConsent
public byte[] calculateChecksumForConsent(de.adorsys.psd2.core.data.Consent<?> consent)
- Specified by:
calculateChecksumForConsentin interfaceChecksumCalculatingService
-
-