private int[] getEncryptedItemIndexes() throws SevenZipException {
		List<Integer> result = new ArrayList<>();
		for (ISimpleInArchiveItem item : items) {
			if (item.isEncrypted() && !passwords.containsKey(item.getItemIndex())) {
				result.add(item.getItemIndex());
			}
		}
		int[] arrayResult = new int[result.size()];
		int arrayResultIndex = 0;
		for (Integer i : result) {
			arrayResult[arrayResultIndex++] = i;
		}
		return arrayResult;
	}
Opens the specified sevenzip container file and initializes this file system with the
contents.

@param byteProvider container file 
@param monitor {@link TaskMonitor} to allow the user to monitor and cancel
@throws CancelledException if user cancels
@throws IOException if error when reading data
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/sevenzip/SevenZipFileSystem.java