protected static PublicJsonWebKey toJsonWebKey(final String key, final RegisteredService registeredService) throws Exception {
        val details = EncodingUtils.parseJsonWebKey(key);
        if (details.containsKey(JsonWebKeySet.JWK_SET_MEMBER_NAME)) {
            return (PublicJsonWebKey) new JsonWebKeySet(key).getJsonWebKeys().getFirst();
        }
        return (PublicJsonWebKey) EncodingUtils.newJsonWebKey(key);
    }
Get ticket cipher executor.

@param signingKey        the signing key
@param encryptionKey     the encryption key
@param registeredService the registered service
@param cipherExecutor    the cipher executor
@return the jwt ticket cipher executor
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/util/InternalJwtAccessTokenCipherExecutor.java