public void addEntry(String caReference,
			List<CVCertificate> terminalCertificates, PrivateKey terminalKey) {
		if (caReference == null || certificateListsMap.containsKey(caReference)) {
			// For now we disallow this.
			throw new IllegalArgumentException(
					"Bad key (already present or null).");
		}
		if (terminalCertificates == null || terminalKey == null
				|| terminalCertificates.size() == 0) {
			throw new IllegalArgumentException();
		}
		List<CVCertificate> list = new ArrayList<CVCertificate>();
		list.addAll(terminalCertificates);
		certificateListsMap.put(caReference, list);
		keysMap.put(caReference, terminalKey);
	}