allIsWell = validateNotEmpty(params.getAlgorithmName(), allIsWell, errorBuf, "No algorithm name was specified."); allIsWell = validateNotEmpty(params.getPadding(), allIsWell, errorBuf, "No padding was specified."); allIsWell = validateNotZero(params.getKeyLength(), allIsWell, errorBuf, "No key length was specified."); allIsWell = validateNotEmpty(params.getEncryptionMode(), allIsWell, errorBuf, "No encryption mode was specified."); allIsWell = validateNotEmpty(params.getRandomNumberGenerator(), allIsWell, errorBuf, "No random number generator was specified."); allIsWell = validateNotEmpty(params.getRandomNumberGeneratorProvider(), allIsWell, errorBuf, "No random number generate provider was specified."); allIsWell = validateNotNull(params.getPlaintextOutputStream(), allIsWell, errorBuf, allIsWell = validateNotEmpty(params.getPadding(), allIsWell, errorBuf, "No padding was specified."); allIsWell = validateNotZero(params.getKeyLength(), allIsWell, errorBuf, "No key length was specified."); allIsWell = validateNotEmpty(params.getEncryptionMode(), allIsWell, errorBuf, "No encryption mode was specified."); allIsWell = validateNotEmpty(params.getRandomNumberGenerator(), allIsWell, errorBuf, "No random number generator was specified."); allIsWell = validateNotEmpty(params.getRandomNumberGeneratorProvider(), allIsWell, errorBuf, "No random number generate provider was specified."); allIsWell = validateNotNull(params.getEncryptedInputStream(), allIsWell, errorBuf, allIsWell = validateNotEmpty(params.getOpaqueKeyEncryptionKeyID(), allIsWell, errorBuf, "No opqaue key encryption ID was specified.");