class SecurityDataService {

    public Optional<DecryptedData> decryptConsentData(String encryptedId, byte[] aspspConsentData) {
        return getDecryptedIdSetByEncryptedId(encryptedId)
                   .flatMap(dta -> getDecryptedData(dta, aspspConsentData));
    }

    @Autowired public  SecurityDataService(Environment environment, CryptoProviderHolder cryptoProviderHolder);

}