@Override
    public boolean isEnabled() {
        return this.signingKey != null;
    }
Extract public key from resource public key.

@param secretKeyToUse the secret key to use
@return the public key
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/cipher/AbstractCipherExecutor.java