public static CryptoUtilJ8 getInstance()

in src/java/org/apache/fulcrum/jce/crypto/extended/CryptoUtilJ8.java [55:63]


	public static CryptoUtilJ8 getInstance() {
		synchronized (CryptoUtilJ8.class) {
			TYPES defaultType = CryptoParametersJ8.DEFAULT_TYPE;
			if (instances.isEmpty() || !instances.containsKey(defaultType)) {
				instances.put(defaultType, new CryptoUtilJ8());
			}
			return instances.get(defaultType);
		}
	}