package dev.rusatom.keycloak.modules;

import java.security.cert.X509Certificate;

public class SignerFactory {

	public static Signer getSigner(String type) {
		X509Certificate cert = null;
		String realType = type;
		if ( null == realType ){
			realType = "";	
		}
		switch (type) {
		case "JCP":
		case "JCSP":
//			return new JCPSigner(cert);
		case "OPENSSL":
		default:
			return new CliSigner();
		}
	}

}
