@Override
        public TrustManagerFactory getTrustManagerFactory() {
            val provider = new Provider(StringUtils.EMPTY, "0.0", StringUtils.EMPTY) {
                @Serial
                private static final long serialVersionUID = -2680540247105807895L;
            };

            val spi = new TrustManagerFactorySpi() {
                @Override
                protected void engineInit(final KeyStore keyStore) {
                }

                @Override
                protected void engineInit(final ManagerFactoryParameters managerFactoryParameters) {
                }

                @Override
                protected TrustManager[] engineGetTrustManagers() {
                    return getTrustManagers();
                }
            };
            return new TrustManagerFactory(spi, provider, StringUtils.EMPTY) {
            };
        }
Gets key manager factory.

@return the key manager factory
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/CasSSLContext.java