class InitialSpiAspspConsentDataProvider implements SpiAspspConsentDataProvider {

    @Override
    public void clearAspspConsentData() {
        this.aspspConsentData = EMPTY_BYTE_ARRAY;
        if (StringUtils.isNotBlank(encryptedConsentId)) {
            aspspDataService.deleteAspspConsentData(encryptedConsentId);
        }
    }

}