@Override
    public Class getObjectType() {
        return PublicKey.class;
    }
Initialize cipher based on service public key.

@return the false if no public key is found
or if cipher cannot be initialized, etc.
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/crypto/PublicKeyFactoryBean.java