@JsonIgnore
    private PublicKeyFactoryBean initializePublicKeyFactoryBean() throws Exception {
        val resolved = SpringExpressionLanguageValueResolver.getInstance().resolve(this.location);
        val resource = ResourceUtils.getResourceFrom(resolved);
        val factory = new PublicKeyFactoryBean(resource, this.algorithm);
        factory.setSingleton(false);
        return factory;
    }
Represents a public key for a CAS registered service.

@author Misagh Moayyed
@since 4.1
core/cas-server-core-services-api/src/main/java/org/apereo/cas/services/RegisteredServicePublicKeyImpl.java