protected boolean isEncryptionEnabledForRegisteredService(final RegisteredService registeredService) {
        val prop = getCipherOperationRegisteredServiceEncryptionEnabledProperty();
        if (prop.isAssignedTo(registeredService)) {
            return prop.getPropertyBooleanValue(registeredService);
        }
        return BooleanUtils.toBoolean(prop.getDefaultValue());
    }
Is encryption enabled for registered service ?

@param registeredService the registered service
@return true/false
support/cas-server-support-token-core-api/src/main/java/org/apereo/cas/token/cipher/RegisteredServiceJwtTicketCipherExecutor.java